Home
last modified time | relevance | path

Searched refs:cg_pid_get_path (Results 1 – 14 of 14) sorted by relevance

/systemd-251/src/test/
Dtest-cgroup.c76 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()
Dtest-cgroup-util.c190 cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, pid, &path); in TEST()
/systemd-251/src/nspawn/
Dnspawn-cgroup.c52 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/
Dtest-oomd-util.c52 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/
Dtests.c287 r = cg_pid_get_path(NULL, 0, &cgroup_root); in enter_cgroup()
Dcgroup-show.c384 r = cg_pid_get_path(controller, pids[i], &k); in show_extra_pids()
Dcondition.c1020 r = cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, getpid_cached(), &root_scope); in condition_test_psi()
/systemd-251/src/basic/
Dcgroup-util.h204 int cg_pid_get_path(const char *controller, pid_t pid, char **path);
Dcgroup-util.c691 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/
Dsd-login.c119 r = cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, pid, &c); in sd_pid_get_cgroup()
/systemd-251/src/libsystemd/sd-bus/
Dbus-creds.c1036 r = cg_pid_get_path(NULL, pid, &c->cgroup); in bus_creds_add_more()
/systemd-251/src/udev/
Dudevd.c1894 r = cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, 0, &cgroup); in create_subcgroup()
/systemd-251/src/core/
Dcgroup.c3352 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()
Ddbus-unit.c1249 r = cg_pid_get_path(SYSTEMD_CGROUP_CONTROLLER, pid, &buf); in append_process()