Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dmm_types.h536 struct mm_rss_stat rss_stat; member
Dmm.h1923 long val = atomic_long_read(&mm->rss_stat.count[member]); in get_mm_counter()
1944 long count = atomic_long_add_return(value, &mm->rss_stat.count[member]); in add_mm_counter()
1955 long count = atomic_long_inc_return(&mm->rss_stat.count[member]); in inc_mm_counter()
1966 long count = atomic_long_dec_return(&mm->rss_stat.count[member]); in dec_mm_counter()
Dsched.h907 struct task_rss_stat rss_stat; member
/kernel/linux/linux-5.10/include/trace/events/
Dkmem.h338 TRACE_EVENT(rss_stat,
/kernel/linux/linux-5.10/kernel/
Dfork.c666 long x = atomic_long_read(&mm->rss_stat.count[i]); in check_mm()
1047 memset(&mm->rss_stat, 0, sizeof(mm->rss_stat)); in mm_init()
2055 memset(&p->rss_stat, 0, sizeof(p->rss_stat)); in copy_process()
/kernel/linux/linux-5.10/mm/
Dmemory.c173 if (current->rss_stat.count[i]) { in sync_mm_rss()
174 add_mm_counter(mm, i, current->rss_stat.count[i]); in sync_mm_rss()
175 current->rss_stat.count[i] = 0; in sync_mm_rss()
178 current->rss_stat.events = 0; in sync_mm_rss()
186 task->rss_stat.count[member] += val; in add_mm_counter_fast()
199 if (unlikely(task->rss_stat.events++ > TASK_RSS_EVENTS_THRESH)) in check_sync_rss_stat()