Searched refs:memcg_events (Results 1 – 4 of 4) sorted by relevance
/linux/samples/cgroup/ |
H A D | memcg_event_listener.c | 44 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 D | memcontrol-v1.h | 62 unsigned long memcg_events(struct mem_cgroup *memcg, int event);
|
H A D | memcontrol.c | 836 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 D | memcontrol-v1.c | 2784 (u64)memcg_events(memcg, memcg1_events[i])); in memcg1_stat_format()
|