Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dmm_types.h420 struct mm_rss_stat rss_stat; member
Dmm.h1588 long val = atomic_long_read(&mm->rss_stat.count[member]); in get_mm_counter()
1603 atomic_long_add(value, &mm->rss_stat.count[member]); in add_mm_counter()
1608 atomic_long_inc(&mm->rss_stat.count[member]); in inc_mm_counter()
1613 atomic_long_dec(&mm->rss_stat.count[member]); in dec_mm_counter()
Dsched.h695 struct task_rss_stat rss_stat; member
/Linux-v4.19/kernel/
Dfork.c601 long x = atomic_long_read(&mm->rss_stat.count[i]); in check_mm()
939 memset(&mm->rss_stat, 0, sizeof(mm->rss_stat)); in mm_init()
1777 memset(&p->rss_stat, 0, sizeof(p->rss_stat)); in copy_process()
/Linux-v4.19/mm/
Dmemory.c149 if (current->rss_stat.count[i]) { in sync_mm_rss()
150 add_mm_counter(mm, i, current->rss_stat.count[i]); in sync_mm_rss()
151 current->rss_stat.count[i] = 0; in sync_mm_rss()
154 current->rss_stat.events = 0; in sync_mm_rss()
162 task->rss_stat.count[member] += val; in add_mm_counter_fast()
175 if (unlikely(task->rss_stat.events++ > TASK_RSS_EVENTS_THRESH)) in check_sync_rss_stat()