Lines Matching refs:controller
147 const char *controller, in process() argument
157 assert(controller); in process()
193 if (streq(controller, SYSTEMD_CGROUP_CONTROLLER) && in process()
198 r = cg_enumerate_processes(controller, path, &f); in process()
216 } else if (streq(controller, "pids") && arg_count == COUNT_PIDS) { in process()
225 r = cg_get_path(controller, path, "pids.current", &p); in process()
243 } else if (streq(controller, "memory")) { in process()
253 r = cg_get_path(controller, path, "memory.current", &p); in process()
255 r = cg_get_path(controller, path, "memory.usage_in_bytes", &p); in process()
273 } else if ((streq(controller, "io") && all_unified) || in process()
274 (streq(controller, "blkio") && !all_unified)) { in process()
280 … r = cg_get_path(controller, path, all_unified ? "io.stat" : "blkio.io_service_bytes", &p); in process()
366 } else if (STR_IN_SET(controller, "cpu", "cpuacct") || cpu_accounting_is_cheap()) { in process()
378 if (!streq(controller, "cpu")) in process()
393 if (!streq(controller, "cpuacct")) in process()
396 r = cg_get_path(controller, path, "cpuacct.usage", &p); in process()
440 const char *controller, in refresh_one() argument
452 assert(controller); in refresh_one()
459 r = process(controller, path, a, b, iteration, &ours); in refresh_one()
463 r = cg_enumerate_subgroups(controller, path, &d); in refresh_one()
485 r = refresh_one(controller, p, a, b, iteration, depth + 1, &child); in refresh_one()
493 streq(controller, SYSTEMD_CGROUP_CONTROLLER)) { in refresh_one()