Searched refs:cg_read_key_long (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/tools/testing/selftests/cgroup/ |
D | test_kmem.c | 68 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()
|
D | test_memcontrol.c | 116 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() 420 oom = cg_read_key_long(children[i], "memory.events", "oom "); in test_memcg_protection() 421 low = cg_read_key_long(children[i], "memory.events", "low "); in test_memcg_protection() 531 high = cg_read_key_long(memcg, "memory.events", "high "); in test_memcg_high() 577 pre_high = cg_read_key_long(memcg, "memory.events", "high "); in test_memcg_high_sync() 578 pre_max = cg_read_key_long(memcg, "memory.events", "max "); in test_memcg_high_sync() 601 post_high = cg_read_key_long(memcg, "memory.events", "high "); in test_memcg_high_sync() 602 post_max = cg_read_key_long(memcg, "memory.events", "max "); in test_memcg_high_sync() 658 max = cg_read_key_long(memcg, "memory.events", "max "); in test_memcg_max() [all …]
|
D | test_cpu.c | 198 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(cpucg, "cpu.stat", "user_usec"); in test_cpucg_max() [all …]
|
D | cgroup_util.h | 37 long cg_read_key_long(const char *cgroup, const char *control, const char *key);
|
D | test_zswap.c | 215 int zswapped = cg_read_key_long(test_group, "memory.stat", "zswapped "); in test_no_kmem_bypass()
|
D | cgroup_util.c | 144 long cg_read_key_long(const char *cgroup, const char *control, const char *key) in cg_read_key_long() function
|