Home
last modified time | relevance | path

Searched refs:cg_create (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/test/
Dtest-cgroup.c43 TEST(cg_create) { in TEST() argument
64 r = cg_create(SYSTEMD_CGROUP_CONTROLLER, test_a); in TEST()
71 assert_se(cg_create(SYSTEMD_CGROUP_CONTROLLER, test_a) == 0); in TEST()
72 assert_se(cg_create(SYSTEMD_CGROUP_CONTROLLER, test_b) == 1); in TEST()
73 assert_se(cg_create(SYSTEMD_CGROUP_CONTROLLER, test_c) == 1); in TEST()
/systemd-251/src/shared/
Dcgroup-setup.c282 int cg_create(const char *controller, const char *path) { in cg_create() function
305 r = cg_create(SYSTEMD_CGROUP_CONTROLLER_LEGACY, path); in cg_create()
318 r = cg_create(controller, path); in cg_create_and_attach()
661 r = cg_create(SYSTEMD_CGROUP_CONTROLLER, path); in cg_create_everywhere()
690 (void) cg_create(n, path); in cg_create_everywhere()
Dcgroup-setup.h20 int cg_create(const char *controller, const char *path);
/systemd-251/src/oom/
Dtest-oomd-util.c58 assert_se(cg_create(SYSTEMD_CGROUP_CONTROLLER, cgroup) >= 0); in test_oomd_cgroup_kill()
/systemd-251/src/core/
Dexecute.c5237 r = cg_create(SYSTEMD_CGROUP_CONTROLLER, subcgroup_path); in exec_spawn()