Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/cgroup/
Dtest_memcontrol.c183 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 …]
Dtest_kmem.c65 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()
Dtest_cpuset.c126 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()
Dcgroup_util.h41 extern int cg_run(const char *cgroup,
Dtest_cpu.c212 if (cg_run(cpucg, hog_cpus_timed, (void *)&param)) in test_cpucg_stats()
597 if (cg_run(cpucg, hog_cpus_timed, (void *)&param)) in test_cpucg_max()
657 if (cg_run(child, hog_cpus_timed, (void *)&param)) in test_cpucg_max_nested()
Dtest_zswap.c99 if (cg_run(test_group, allocate_bytes, (void *)MB(10))) in test_no_invasive_cgroup_shrink()
Dcgroup_util.c323 int cg_run(const char *cgroup, in cg_run() function