Searched refs:cg_attach (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/shared/ |
D | cgroup-setup.c | 322 q = cg_attach(controller, path, pid); in cg_create_and_attach() 330 int cg_attach(const char *controller, const char *path, pid_t pid) { in cg_attach() function 359 r = cg_attach(SYSTEMD_CGROUP_CONTROLLER_LEGACY, path, pid); in cg_attach() 374 r = cg_attach(controller, path, pid); in cg_attach_fallback() 384 q = cg_attach(controller, prefix, pid); in cg_attach_fallback() 534 r = cg_attach(cto, pto, pid); in cg_migrate() 701 r = cg_attach(SYSTEMD_CGROUP_CONTROLLER, path, pid); in cg_attach_everywhere()
|
D | cgroup-setup.h | 21 int cg_attach(const char *controller, const char *path, pid_t pid);
|
/systemd-251/src/test/ |
D | test-cgroup.c | 80 assert_se(cg_attach(SYSTEMD_CGROUP_CONTROLLER, test_a, 0) == 0); in TEST()
|
/systemd-251/src/oom/ |
D | test-oomd-util.c | 71 assert_se(cg_attach(SYSTEMD_CGROUP_CONTROLLER, cgroup, pid[j]) >= 0); in test_oomd_cgroup_kill()
|
/systemd-251/src/core/ |
D | cgroup.c | 2324 r = cg_attach(SYSTEMD_CGROUP_CONTROLLER, p, pid); in unit_attach_pids_to_cgroup() 2375 r = cg_attach(cgroup_controller_to_string(c), p, pid); in unit_attach_pids_to_cgroup() 2390 r = cg_attach(cgroup_controller_to_string(c), realized, pid); in unit_attach_pids_to_cgroup()
|
D | execute.c | 5291 (void) cg_attach(SYSTEMD_CGROUP_CONTROLLER, subcgroup_path, pid); in exec_spawn()
|