Lines Matching refs:events
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
6157 seq_printf(m, "low %lu\n", atomic_long_read(&events[MEMCG_LOW])); in __memory_events_show()
6158 seq_printf(m, "high %lu\n", atomic_long_read(&events[MEMCG_HIGH])); in __memory_events_show()
6159 seq_printf(m, "max %lu\n", atomic_long_read(&events[MEMCG_MAX])); in __memory_events_show()
6160 seq_printf(m, "oom %lu\n", atomic_long_read(&events[MEMCG_OOM])); in __memory_events_show()
6162 atomic_long_read(&events[MEMCG_OOM_KILL])); in __memory_events_show()