Searched refs:cg_pid_get_path (Results 1 – 14 of 14) sorted by relevance
/systemd-251/src/test/ |
D | test-cgroup.c | 76 assert_se(cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, getpid_cached(), &path) == 0); in TEST() 82 assert_se(cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, getpid_cached(), &path) == 0); in TEST() 88 assert_se(cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, getpid_cached(), &path) == 0); in TEST()
|
D | test-cgroup-util.c | 190 cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, pid, &path); in TEST()
|
/systemd-251/src/nspawn/ |
D | nspawn-cgroup.c | 52 r = cg_pid_get_path(NULL, pid, &path); in chown_cgroup() 98 r = cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, pid, &cgroup); in sync_cgroup() 172 r = cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, 0, &cgroup); in create_subcgroup() 174 r = cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, pid, &cgroup); in create_subcgroup() 575 r = cg_pid_get_path(NULL, 0, &own_cgroup_path); in mount_systemd_cgroup_writable()
|
/systemd-251/src/oom/ |
D | test-oomd-util.c | 52 assert_se(cg_pid_get_path(NULL, 0, &cgroup_root) >= 0); in test_oomd_cgroup_kill() 117 assert_se(cg_pid_get_path(NULL, 0, &cgroup) >= 0); in test_oomd_cgroup_context_acquire_and_insert()
|
/systemd-251/src/shared/ |
D | tests.c | 287 r = cg_pid_get_path(NULL, 0, &cgroup_root); in enter_cgroup()
|
D | cgroup-show.c | 384 r = cg_pid_get_path(controller, pids[i], &k); in show_extra_pids()
|
D | condition.c | 1020 r = cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, getpid_cached(), &root_scope); in condition_test_psi()
|
/systemd-251/src/basic/ |
D | cgroup-util.h | 204 int cg_pid_get_path(const char *controller, pid_t pid, char **path);
|
D | cgroup-util.c | 691 int cg_pid_get_path(const char *controller, pid_t pid, char **ret_path) { in cg_pid_get_path() function 1030 r = cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, 1, &p); in cg_get_root_path() 1082 r = cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, pid, &raw); in cg_pid_get_path_shifted()
|
/systemd-251/src/libsystemd/sd-login/ |
D | sd-login.c | 119 r = cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, pid, &c); in sd_pid_get_cgroup()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-creds.c | 1036 r = cg_pid_get_path(NULL, pid, &c->cgroup); in bus_creds_add_more()
|
/systemd-251/src/udev/ |
D | udevd.c | 1894 r = cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, 0, &cgroup); in create_subcgroup()
|
/systemd-251/src/core/ |
D | cgroup.c | 3352 r = cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, 0, &m->cgroup_root); in manager_setup_cgroup() 3554 if (cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, pid, &cgroup) < 0) in manager_get_unit_by_pid_cgroup()
|
D | dbus-unit.c | 1249 r = cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, pid, &buf); in append_process()
|