Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Doom_kill.c230 points = get_mm_rss(p->mm) + get_mm_counter(p->mm, MM_SWAPENTS) + in oom_badness()
407 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()
919 K(get_mm_counter(mm, MM_ANONPAGES)), in __oom_kill_process()
920 K(get_mm_counter(mm, MM_FILEPAGES)), in __oom_kill_process()
921 K(get_mm_counter(mm, MM_SHMEMPAGES)), in __oom_kill_process()
Dlowmem_dbg.c78 get_mm_counter(task->mm, MM_SWAPENTS), in tasks_dump()
/kernel/linux/linux-5.10/fs/proc/
Dtask_mmu.c44 anon = get_mm_counter(mm, MM_ANONPAGES); in task_mem()
45 file = get_mm_counter(mm, MM_FILEPAGES); in task_mem()
46 shmem = get_mm_counter(mm, MM_SHMEMPAGES); in task_mem()
67 swap = get_mm_counter(mm, MM_SWAPENTS); in task_mem()
104 *shared = get_mm_counter(mm, MM_FILEPAGES) + in task_statm()
105 get_mm_counter(mm, MM_SHMEMPAGES); in task_statm()
109 *resident = *shared + get_mm_counter(mm, MM_ANONPAGES); in task_statm()
/kernel/linux/linux-5.10/include/linux/
Dmm.h1921 static inline unsigned long get_mm_counter(struct mm_struct *mm, int member) in get_mm_counter() function
1988 return get_mm_counter(mm, MM_FILEPAGES) + in get_mm_rss()
1989 get_mm_counter(mm, MM_ANONPAGES) + in get_mm_rss()
1990 get_mm_counter(mm, MM_SHMEMPAGES); in get_mm_rss()