Home
last modified time | relevance | path

Searched refs:cg_read_key_long (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/tools/testing/selftests/cgroup/
Dtest_memcontrol.c107 anon = cg_read_key_long(cgroup, "memory.stat", "anon "); in alloc_anon_50M_check()
138 file = cg_read_key_long(cgroup, "memory.stat", "file "); in alloc_pagecache_50M_check()
523 oom = cg_read_key_long(children[i], "memory.events", "oom "); in test_memcg_low()
524 low = cg_read_key_long(children[i], "memory.events", "low "); in test_memcg_low()
618 high = cg_read_key_long(memcg, "memory.events", "high "); in test_memcg_high()
669 max = cg_read_key_long(memcg, "memory.events", "max "); in test_memcg_max()
750 if (cg_read_key_long(memcg, "memory.events", "oom ") != 1) in test_memcg_swap_max()
753 if (cg_read_key_long(memcg, "memory.events", "oom_kill ") != 1) in test_memcg_swap_max()
759 max = cg_read_key_long(memcg, "memory.events", "max "); in test_memcg_swap_max()
801 if (cg_read_key_long(memcg, "memory.events", "oom ") != 1) in test_memcg_oom_events()
[all …]
Dcgroup_util.h31 long cg_read_key_long(const char *cgroup, const char *control, const char *key);
Dcgroup_util.c146 long cg_read_key_long(const char *cgroup, const char *control, const char *key) in cg_read_key_long() function