Searched refs:cg_create (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/test/ |
D | test-cgroup.c | 43 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/ |
D | cgroup-setup.c | 282 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()
|
D | cgroup-setup.h | 20 int cg_create(const char *controller, const char *path);
|
/systemd-251/src/oom/ |
D | test-oomd-util.c | 58 assert_se(cg_create(SYSTEMD_CGROUP_CONTROLLER, cgroup) >= 0); in test_oomd_cgroup_kill()
|
/systemd-251/src/core/ |
D | execute.c | 5237 r = cg_create(SYSTEMD_CGROUP_CONTROLLER, subcgroup_path); in exec_spawn()
|