Searched refs:get_mm_counter (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | oom_kill.c | 234 points = get_mm_rss(p->mm) + get_mm_counter(p->mm, MM_SWAPENTS) + in oom_badness() 447 get_mm_counter(task->mm, MM_SWAPENTS), in dump_task() 637 K(get_mm_counter(mm, MM_ANONPAGES)), in oom_reap_task_mm() 638 K(get_mm_counter(mm, MM_FILEPAGES)), in oom_reap_task_mm() 639 K(get_mm_counter(mm, MM_SHMEMPAGES))); in oom_reap_task_mm() 942 K(get_mm_counter(mm, MM_ANONPAGES)), in __oom_kill_process() 943 K(get_mm_counter(mm, MM_FILEPAGES)), in __oom_kill_process() 944 K(get_mm_counter(mm, MM_SHMEMPAGES)), in __oom_kill_process()
|
| /OK3568_Linux_fs/kernel/fs/proc/ |
| H A D | task_mmu.c | 35 anon = get_mm_counter(mm, MM_ANONPAGES); in task_mem() 36 file = get_mm_counter(mm, MM_FILEPAGES); in task_mem() 37 shmem = get_mm_counter(mm, MM_SHMEMPAGES); in task_mem() 58 swap = get_mm_counter(mm, MM_SWAPENTS); in task_mem() 91 *shared = get_mm_counter(mm, MM_FILEPAGES) + in task_statm() 92 get_mm_counter(mm, MM_SHMEMPAGES); in task_statm() 96 *resident = *shared + get_mm_counter(mm, MM_ANONPAGES); in task_statm()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | mm.h | 2033 static inline unsigned long get_mm_counter(struct mm_struct *mm, int member) in get_mm_counter() function 2089 return get_mm_counter(mm, MM_FILEPAGES) + in get_mm_rss() 2090 get_mm_counter(mm, MM_ANONPAGES) + in get_mm_rss() 2091 get_mm_counter(mm, MM_SHMEMPAGES); in get_mm_rss()
|