Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Doom_kill.c230 points = get_mm_rss(p->mm) + get_mm_counter(p->mm, MM_SWAPENTS) + in oom_badness()
406 get_mm_counter(task->mm, MM_SWAPENTS), in dump_task()
597 K(get_mm_counter(mm, MM_ANONPAGES)), in oom_reap_task_mm()
598 K(get_mm_counter(mm, MM_FILEPAGES)), in oom_reap_task_mm()
599 K(get_mm_counter(mm, MM_SHMEMPAGES))); in oom_reap_task_mm()
951 K(get_mm_counter(mm, MM_ANONPAGES)), in __oom_kill_process()
952 K(get_mm_counter(mm, MM_FILEPAGES)), in __oom_kill_process()
953 K(get_mm_counter(mm, MM_SHMEMPAGES)), in __oom_kill_process()
Dvmscan.c3433 size += type ? get_mm_counter(mm, MM_FILEPAGES) : in should_skip_mm()
3434 get_mm_counter(mm, MM_ANONPAGES) + in should_skip_mm()
3435 get_mm_counter(mm, MM_SHMEMPAGES); in should_skip_mm()
/linux-6.1.9/fs/proc/
Dtask_mmu.c35 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()
/linux-6.1.9/include/linux/
Dmm.h2052 static inline unsigned long get_mm_counter(struct mm_struct *mm, int member) in get_mm_counter() function
2107 return get_mm_counter(mm, MM_FILEPAGES) + in get_mm_rss()
2108 get_mm_counter(mm, MM_ANONPAGES) + in get_mm_rss()
2109 get_mm_counter(mm, MM_SHMEMPAGES); in get_mm_rss()