Home
last modified time | relevance | path

Searched refs:cg_attach (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/shared/
Dcgroup-setup.c322 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()
Dcgroup-setup.h21 int cg_attach(const char *controller, const char *path, pid_t pid);
/systemd-251/src/test/
Dtest-cgroup.c80 assert_se(cg_attach(SYSTEMD_CGROUP_CONTROLLER, test_a, 0) == 0); in TEST()
/systemd-251/src/oom/
Dtest-oomd-util.c71 assert_se(cg_attach(SYSTEMD_CGROUP_CONTROLLER, cgroup, pid[j]) >= 0); in test_oomd_cgroup_kill()
/systemd-251/src/core/
Dcgroup.c2324 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()
Dexecute.c5291 (void) cg_attach(SYSTEMD_CGROUP_CONTROLLER, subcgroup_path, pid); in exec_spawn()