Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/cgroup/
H A Dtest_kmem.c68 slab0 = cg_read_key_long(cg, "memory.stat", "slab "); in test_kmem_basic()
77 slab1 = cg_read_key_long(cg, "memory.stat", "slab "); in test_kmem_basic()
187 anon = cg_read_key_long(parent, "memory.stat", "anon "); in test_kmem_memcg_deletion()
188 file = cg_read_key_long(parent, "memory.stat", "file "); in test_kmem_memcg_deletion()
189 kernel = cg_read_key_long(parent, "memory.stat", "kernel "); in test_kmem_memcg_deletion()
190 sock = cg_read_key_long(parent, "memory.stat", "sock "); in test_kmem_memcg_deletion()
265 stack = cg_read_key_long(cgroup, "memory.stat", "kernel_stack "); in spawn_1000_threads()
326 dead = cg_read_key_long(parent, "cgroup.stat", in test_kmem_dead_cgroups()
381 percpu = cg_read_key_long(parent, "memory.stat", "percpu "); in test_percpu_basic()
H A Dtest_cpu.c198 usage_usec = cg_read_key_long(cpucg, "cpu.stat", "usage_usec"); in test_cpucg_stats()
199 user_usec = cg_read_key_long(cpucg, "cpu.stat", "user_usec"); in test_cpucg_stats()
200 system_usec = cg_read_key_long(cpucg, "cpu.stat", "system_usec"); in test_cpucg_stats()
215 usage_usec = cg_read_key_long(cpucg, "cpu.stat", "usage_usec"); in test_cpucg_stats()
216 user_usec = cg_read_key_long(cpucg, "cpu.stat", "user_usec"); in test_cpucg_stats()
283 children[i].usage = cg_read_key_long(children[i].cgroup, in run_cpucg_weight_test()
493 leaf[i].usage = cg_read_key_long(leaf[i].cgroup, in run_cpucg_nested_weight_test()
507 child_usage = cg_read_key_long(child, "cpu.stat", "usage_usec"); in run_cpucg_nested_weight_test()
600 usage_usec = cg_read_key_long(cpucg, "cpu.stat", "usage_usec"); in test_cpucg_max()
601 user_usec = cg_read_key_long(cpuc in test_cpucg_max()
[all...]
H A Dtest_memcontrol.c116 anon = cg_read_key_long(cgroup, "memory.stat", "anon "); in alloc_anon_50M_check()
147 file = cg_read_key_long(cgroup, "memory.stat", "file "); in alloc_pagecache_50M_check()
532 oom = cg_read_key_long(children[i], "memory.events", "oom "); in test_memcg_protection()
533 low = cg_read_key_long(children[i], "memory.events", "low "); in test_memcg_protection()
643 high = cg_read_key_long(memcg, "memory.events", "high "); in test_memcg_high()
689 pre_high = cg_read_key_long(memcg, "memory.events", "high "); in test_memcg_high_sync()
690 pre_max = cg_read_key_long(memcg, "memory.events", "max "); in test_memcg_high_sync()
713 post_high = cg_read_key_long(memcg, "memory.events", "high "); in test_memcg_high_sync()
714 post_max = cg_read_key_long(memcg, "memory.events", "max "); in test_memcg_high_sync()
770 max = cg_read_key_long(memcg, "memory.events", "max "); in test_memcg_max()
[all …]
H A Dtest_zswap.c55 return cg_read_key_long(cg, "memory.stat", "zswpwb"); in get_cg_wb_count()
60 return cg_read_key_long(cgroup, "memory.stat", "zswpout "); in get_zswpout()
232 zswpin = cg_read_key_long(test_group, "memory.stat", "zswpin "); in test_zswapin()
436 if (cg_read_key_long(control_group, "memory.stat", "zswapped") < 1) in test_no_invasive_cgroup_shrink()
559 int zswapped = cg_read_key_long(test_group, "memory.stat", "zswapped "); in test_no_kmem_bypass()
H A Dtest_pids.c111 if (cg_read_key_long(cg_child, "pids.events", "max ") != 0) in test_pids_events()
113 if (cg_read_key_long(cg_parent, "pids.events", "max ") != 1) in test_pids_events()
H A Dcgroup_util.h38 long cg_read_key_long(const char *cgroup, const char *control, const char *key);
H A Dcgroup_util.c154 long cg_read_key_long(const char *cgroup, const char *control, const char *key) in cg_read_key_long() function