Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/cgroup/
H A Dtest_memcontrol.c190 if (cg_run(memcg, alloc_anon_50M_check, NULL)) in test_memcg_current_peak()
270 if (cg_run(memcg, alloc_pagecache_50M_check, NULL)) in test_memcg_current_peak()
489 if (cg_run(parent[2], alloc_anon, (void *)MB(148))) in test_memcg_protection()
507 rc = cg_run(parent[2], alloc_anon, (void *)MB(170)); in test_memcg_protection()
634 if (cg_run(memcg, alloc_anon, (void *)MB(31))) in test_memcg_high()
637 if (!cg_run(memcg, alloc_pagecache_50M_check, NULL)) in test_memcg_high()
640 if (cg_run(memcg, alloc_pagecache_max_30M, NULL)) in test_memcg_high()
760 if (!cg_run(memcg, alloc_anon, (void *)MB(100))) in test_memcg_max()
763 if (cg_run(memcg, alloc_pagecache_max_30M, NULL)) in test_memcg_max()
1029 if (!cg_run(memcg, alloc_anon, (void *)MB(100))) in test_memcg_swap_max_peak()
[all …]
H A Dtest_zswap.c139 if (cg_run(test_group, allocate_bytes, (void *)MB(4))) in test_zswap_usage()
177 if (cg_run(test_group, allocate_and_read_bytes, (void *)MB(32))) in test_swapin_nozswap()
229 if (cg_run(test_group, allocate_and_read_bytes, (void *)MB(32))) in test_zswapin()
332 if (cg_run(cgroup, attempt_writeback, (void *) &wb)) in test_zswap_writeback_one()
440 if (cg_run(wb_group, allocate_bytes, (void *)MB(10))) in test_no_invasive_cgroup_shrink()
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 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 Dcgroup_util.h43 extern int cg_run(const char *cgroup,
H A Dtest_hugetlb_memcg.c191 if (!cg_run(test_group, hugetlb_test_program, (void *)test_group)) in test_hugetlb_memcg()
H A Dcgroup_util.c347 int cg_run(const char *cgroup, in cg_run() function