Home
last modified time | relevance | path

Searched refs:cg_write_numeric (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/cgroup/
H A Dtest_zswap.c289 if (cg_write_numeric(cgroup, "memory.reclaim", memsize)) { in attempt_writeback()
304 if (cg_write_numeric(cgroup, "memory.zswap.max", zswap_usage/2)) in attempt_writeback()
313 ret = cg_write_numeric(cgroup, "memory.reclaim", memsize); in attempt_writeback()
H A Dcgroup_util.h42 int cg_write_numeric(const char *cgroup, const char *control, long value);
H A Dtest_cpu.c260 if (cg_write_numeric(children[i].cgroup, "cpu.weight", in run_cpucg_weight_test()
460 if (cg_write_numeric(leaf[i].cgroup, "cpu.weight", weight)) in run_cpucg_nested_weight_test()
H A Dcgroup_util.c208 int cg_write_numeric(const char *cgroup, const char *control, long value) in cg_write_numeric() function