Searched refs:get_mm_counter (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/mm/ |
D | oom_kill.c | 230 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() 595 K(get_mm_counter(mm, MM_ANONPAGES)), in oom_reap_task_mm() 596 K(get_mm_counter(mm, MM_FILEPAGES)), in oom_reap_task_mm() 597 K(get_mm_counter(mm, MM_SHMEMPAGES))); in oom_reap_task_mm() 949 K(get_mm_counter(mm, MM_ANONPAGES)), in __oom_kill_process() 950 K(get_mm_counter(mm, MM_FILEPAGES)), in __oom_kill_process() 951 K(get_mm_counter(mm, MM_SHMEMPAGES)), in __oom_kill_process()
|
D | vmscan.c | 3572 size += type ? get_mm_counter(mm, MM_FILEPAGES) : in should_skip_mm() 3573 get_mm_counter(mm, MM_ANONPAGES) + in should_skip_mm() 3574 get_mm_counter(mm, MM_SHMEMPAGES); in should_skip_mm()
|
/Linux-v6.6/fs/proc/ |
D | task_mmu.c | 36 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()
|
/Linux-v6.6/include/linux/ |
D | mm.h | 2543 static inline unsigned long get_mm_counter(struct mm_struct *mm, int member) in get_mm_counter() function 2588 return get_mm_counter(mm, MM_FILEPAGES) + in get_mm_rss() 2589 get_mm_counter(mm, MM_ANONPAGES) + in get_mm_rss() 2590 get_mm_counter(mm, MM_SHMEMPAGES); in get_mm_rss()
|