Searched refs:cg_run (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/tools/testing/selftests/cgroup/ |
D | test_memcontrol.c | 183 if (cg_run(memcg, alloc_anon_50M_check, NULL)) in test_memcg_current() 186 if (cg_run(memcg, alloc_pagecache_50M_check, NULL)) in test_memcg_current() 377 if (cg_run(parent[2], alloc_anon, (void *)MB(148))) in test_memcg_protection() 395 rc = cg_run(parent[2], alloc_anon, (void *)MB(170)); in test_memcg_protection() 522 if (cg_run(memcg, alloc_anon, (void *)MB(31))) in test_memcg_high() 525 if (!cg_run(memcg, alloc_pagecache_50M_check, NULL)) in test_memcg_high() 528 if (cg_run(memcg, alloc_pagecache_max_30M, NULL)) in test_memcg_high() 648 if (!cg_run(memcg, alloc_anon, (void *)MB(100))) in test_memcg_max() 651 if (cg_run(memcg, alloc_pagecache_max_30M, NULL)) in test_memcg_max() 854 if (!cg_run(memcg, alloc_anon, (void *)MB(100))) in test_memcg_swap_max() [all …]
|
D | test_kmem.c | 65 if (cg_run(cg, alloc_dcache, (void *)100000)) in test_kmem_basic() 147 if (cg_run(child, fn, NULL)) { in cg_run_in_subcgroups() 289 if (cg_run(cg, spawn_1000_threads, NULL)) in test_kmem_kernel_stacks()
|
D | test_cpuset.c | 126 if (allow ^ (cg_run(child_dst, do_migration_fn, (void *)(size_t)object_pid) == EXIT_SUCCESS)) in test_cpuset_perms_object() 212 if (cg_run(child, do_controller_fn, parent) != EXIT_SUCCESS) in test_cpuset_perms_subtree()
|
D | cgroup_util.h | 41 extern int cg_run(const char *cgroup,
|
D | test_cpu.c | 212 if (cg_run(cpucg, hog_cpus_timed, (void *)¶m)) in test_cpucg_stats() 597 if (cg_run(cpucg, hog_cpus_timed, (void *)¶m)) in test_cpucg_max() 657 if (cg_run(child, hog_cpus_timed, (void *)¶m)) in test_cpucg_max_nested()
|
D | test_zswap.c | 99 if (cg_run(test_group, allocate_bytes, (void *)MB(10))) in test_no_invasive_cgroup_shrink()
|
D | cgroup_util.c | 323 int cg_run(const char *cgroup, in cg_run() function
|