Searched refs:cg_write_numeric (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/cgroup/ |
H A D | test_zswap.c | 289 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 D | cgroup_util.h | 42 int cg_write_numeric(const char *cgroup, const char *control, long value);
|
H A D | test_cpu.c | 260 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 D | cgroup_util.c | 208 int cg_write_numeric(const char *cgroup, const char *control, long value) in cg_write_numeric() function
|