Home
last modified time | relevance | path

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

/Linux-v6.1/include/trace/events/
Dkmem.h346 TRACE_EVENT(rss_stat,
/Linux-v6.1/kernel/
Dfork.c756 long x = atomic_long_read(&mm->rss_stat.count[i]); in check_mm()
1121 memset(&mm->rss_stat, 0, sizeof(mm->rss_stat)); in mm_init()
2162 memset(&p->rss_stat, 0, sizeof(p->rss_stat)); in copy_process()
/Linux-v6.1/include/linux/
Dmm_types.h619 struct mm_rss_stat rss_stat; member
Dmm.h2054 long val = atomic_long_read(&mm->rss_stat.count[member]); in get_mm_counter()
2071 long count = atomic_long_add_return(value, &mm->rss_stat.count[member]); in add_mm_counter()
2078 long count = atomic_long_inc_return(&mm->rss_stat.count[member]); in inc_mm_counter()
2085 long count = atomic_long_dec_return(&mm->rss_stat.count[member]); in dec_mm_counter()
Dsched.h874 struct task_rss_stat rss_stat; member
/Linux-v6.1/mm/
Dmemory.c177 if (current->rss_stat.count[i]) { in sync_mm_rss()
178 add_mm_counter(mm, i, current->rss_stat.count[i]); in sync_mm_rss()
179 current->rss_stat.count[i] = 0; in sync_mm_rss()
182 current->rss_stat.events = 0; in sync_mm_rss()
190 task->rss_stat.count[member] += val; in add_mm_counter_fast()
203 if (unlikely(task->rss_stat.events++ > TASK_RSS_EVENTS_THRESH)) in check_sync_rss_stat()