Home
last modified time | relevance | path

Searched refs:memcg_events (Results 1 – 4 of 4) sorted by relevance

/linux/samples/cgroup/
H A Dmemcg_event_listener.c44 struct memcg_events { struct
100 static int read_memcg_events(struct memcg_events *events, bool show_diff) in read_memcg_events()
204 static void process_memcg_events(struct memcg_events *events, in process_memcg_events()
227 static void monitor_events(struct memcg_events *events) in monitor_events()
263 static int initialize_memcg_events(struct memcg_events *events, in initialize_memcg_events()
268 memset(events, 0, sizeof(struct memcg_events)); in initialize_memcg_events()
305 static void cleanup_memcg_events(struct memcg_events *events) in cleanup_memcg_events()
313 struct memcg_events events; in main()
/linux/mm/
H A Dmemcontrol-v1.h62 unsigned long memcg_events(struct mem_cgroup *memcg, int event);
H A Dmemcontrol.c836 unsigned long memcg_events(struct mem_cgroup *memcg, int event) in memcg_events() function
1456 memcg_events(memcg, PGSCAN_KSWAPD) + in memcg_stat_format()
1457 memcg_events(memcg, PGSCAN_DIRECT) + in memcg_stat_format()
1458 memcg_events(memcg, PGSCAN_KHUGEPAGED)); in memcg_stat_format()
1460 memcg_events(memcg, PGSTEAL_KSWAPD) + in memcg_stat_format()
1461 memcg_events(memcg, PGSTEAL_DIRECT) + in memcg_stat_format()
1462 memcg_events(memcg, PGSTEAL_KHUGEPAGED)); in memcg_stat_format()
1472 memcg_events(memcg, memcg_vm_event_stat[i])); in memcg_stat_format()
H A Dmemcontrol-v1.c2784 (u64)memcg_events(memcg, memcg1_events[i])); in memcg1_stat_format()