Home
last modified time | relevance | path

Searched refs:vmstats (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/mm/
Dmemcontrol.c483 struct memcg_vmstats *vmstats; member
557 static bool memcg_vmstats_needs_flush(struct memcg_vmstats *vmstats) in memcg_vmstats_needs_flush() argument
559 return atomic64_read(&vmstats->stats_updates) > in memcg_vmstats_needs_flush()
584 if (!memcg_vmstats_needs_flush(statc->vmstats)) in memcg_rstat_updated()
586 &statc->vmstats->stats_updates); in memcg_rstat_updated()
616 if (memcg_vmstats_needs_flush(memcg->vmstats)) in mem_cgroup_flush_stats()
645 x = READ_ONCE(memcg->vmstats->state[i]); in memcg_page_state()
699 x = READ_ONCE(memcg->vmstats->state_local[i]); in memcg_page_state_local()
847 return READ_ONCE(memcg->vmstats->events[i]); in memcg_events()
857 return READ_ONCE(memcg->vmstats->events_local[i]); in memcg_events_local()
[all …]
/linux-6.12.1/include/linux/
Dmemcontrol.h233 struct memcg_vmstats *vmstats; member