Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/cgroup/
Dtest_memcontrol.c103 anon = cg_read_key_long(cgroup, "memory.stat", "anon "); in alloc_anon_50M_check()
134 file = cg_read_key_long(cgroup, "memory.stat", "file "); in alloc_pagecache_50M_check()
519 oom = cg_read_key_long(children[i], "memory.events", "oom "); in test_memcg_low()
520 low = cg_read_key_long(children[i], "memory.events", "low "); in test_memcg_low()
614 high = cg_read_key_long(memcg, "memory.events", "high "); in test_memcg_high()
665 max = cg_read_key_long(memcg, "memory.events", "max "); in test_memcg_max()
746 if (cg_read_key_long(memcg, "memory.events", "oom ") != 1) in test_memcg_swap_max()
749 if (cg_read_key_long(memcg, "memory.events", "oom_kill ") != 1) in test_memcg_swap_max()
755 max = cg_read_key_long(memcg, "memory.events", "max "); in test_memcg_swap_max()
797 if (cg_read_key_long(memcg, "memory.events", "oom ") != 1) in test_memcg_oom_events()
[all …]
Dcgroup_util.h30 long cg_read_key_long(const char *cgroup, const char *control, const char *key);
Dcgroup_util.c136 long cg_read_key_long(const char *cgroup, const char *control, const char *key) in cg_read_key_long() function