Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/cgroup/
H A 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()
522 if (cg_run(memcg, alloc_anon, (void *)MB(31))) 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()
902 if (!cg_run(memcg, alloc_anon, (void *)MB(100))) in test_memcg_oom_events()
1148 if (!cg_run(child, alloc_anon, (void *)MB(100))) in test_memcg_oom_group_leaf_events()
1217 if (!cg_run(child, alloc_anon, (void *)MB(100))) in test_memcg_oom_group_parent_events()
[all …]
H A 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()
H A 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()
H A Dcgroup_util.h41 extern int cg_run(const char *cgroup,
H A 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()
H A Dtest_zswap.c99 if (cg_run(test_group, allocate_bytes, (void *)MB(10))) in test_no_invasive_cgroup_shrink()
H A Dcgroup_util.c323 int cg_run(const char *cgroup, in cg_run() function