Home
last modified time | relevance | path

Searched refs:get_mm_counter (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/mm/
H A Doom_kill.c232 points = get_mm_rss(p->mm) + get_mm_counter(p->mm, MM_SWAPENTS) + in oom_badness()
408 get_mm_counter(task->mm, MM_SWAPENTS), in dump_task()
602 K(get_mm_counter(mm, MM_ANONPAGES)), in oom_reap_task_mm()
603 K(get_mm_counter(mm, MM_FILEPAGES)), in oom_reap_task_mm()
604 K(get_mm_counter(mm, MM_SHMEMPAGES))); in oom_reap_task_mm()
959 K(get_mm_counter(mm, MM_ANONPAGES)), in __oom_kill_process()
960 K(get_mm_counter(mm, MM_FILEPAGES)), in __oom_kill_process()
961 K(get_mm_counter(mm, MM_SHMEMPAGES)), in __oom_kill_process()
H A Dvmscan.c3559 size += type ? get_mm_counter(mm, MM_FILEPAGES) : in should_skip_mm()
3560 get_mm_counter(mm, MM_ANONPAGES) + in should_skip_mm()
3561 get_mm_counter(mm, MM_SHMEMPAGES); in should_skip_mm()
/openbmc/linux/include/trace/events/
H A Doom.h97 __entry->anon_rss = PG_COUNT_TO_KB(get_mm_counter(task->mm, MM_ANONPAGES));
98 __entry->file_rss = PG_COUNT_TO_KB(get_mm_counter(task->mm, MM_FILEPAGES));
99 __entry->shmem_rss = PG_COUNT_TO_KB(get_mm_counter(task->mm, MM_SHMEMPAGES));
/openbmc/linux/fs/proc/
H A Dtask_mmu.c36 anon = get_mm_counter(mm, MM_ANONPAGES); in task_mem()
37 file = get_mm_counter(mm, MM_FILEPAGES); in task_mem()
38 shmem = get_mm_counter(mm, MM_SHMEMPAGES); in task_mem()
59 swap = get_mm_counter(mm, MM_SWAPENTS); in task_mem()
92 *shared = get_mm_counter(mm, MM_FILEPAGES) + in task_statm()
93 get_mm_counter(mm, MM_SHMEMPAGES); in task_statm()
97 *resident = *shared + get_mm_counter(mm, MM_ANONPAGES); in task_statm()
/openbmc/linux/include/linux/
H A Dmm.h2549 static inline unsigned long get_mm_counter(struct mm_struct *mm, int member) in get_mm_counter() function
2594 return get_mm_counter(mm, MM_FILEPAGES) + in get_mm_rss()
2595 get_mm_counter(mm, MM_ANONPAGES) + in get_mm_rss()
2596 get_mm_counter(mm, MM_SHMEMPAGES); in get_mm_rss()