Searched refs:events (Results 1 – 3 of 3) sorted by relevance
/mm/ |
D | vmpressure.c | 166 list_for_each_entry(ev, &vmpr->events, node) { in vmpressure_event() 406 list_add(&ev->node, &vmpr->events); in vmpressure_register_event() 432 list_for_each_entry(ev, &vmpr->events, node) { in vmpressure_unregister_event() 453 INIT_LIST_HEAD(&vmpr->events); in vmpressure_init()
|
D | memcontrol.c | 801 x = count + __this_cpu_read(memcg->vmstats_percpu->events[idx]); in __count_memcg_events() 809 __this_cpu_add(memcg->vmstats_local->events[idx], x); in __count_memcg_events() 814 __this_cpu_write(memcg->vmstats_percpu->events[idx], x); in __count_memcg_events() 828 x += per_cpu(memcg->vmstats_local->events[event], cpu); in memcg_events_local() 2331 x = this_cpu_xchg(memcg->vmstats_percpu->events[i], 0); in memcg_hotplug_cpu_dead() 3441 unsigned long events[NR_VM_EVENT_ITEMS]; in memcg_flush_percpu_vmevents() local 3446 events[i] = 0; in memcg_flush_percpu_vmevents() 3450 events[i] += per_cpu(memcg->vmstats_percpu->events[i], in memcg_flush_percpu_vmevents() 3455 atomic_long_add(events[i], &mi->vmevents[i]); in memcg_flush_percpu_vmevents() 6155 static void __memory_events_show(struct seq_file *m, atomic_long_t *events) in __memory_events_show() argument [all …]
|
D | memory.c | 175 current->rss_stat.events = 0; in sync_mm_rss() 196 if (unlikely(task->rss_stat.events++ > TASK_RSS_EVENTS_THRESH)) in check_sync_rss_stat()
|