Lines Matching refs:cgroup
92 free(c->cgroup); in sd_bus_creds_unref()
369 assert(c->cgroup); in sd_bus_creds_get_cgroup()
370 *ret = c->cgroup; in sd_bus_creds_get_cgroup()
383 assert(c->cgroup); in sd_bus_creds_get_unit()
388 r = cg_shift_path(c->cgroup, c->cgroup_root, &shifted); in sd_bus_creds_get_unit()
410 assert(c->cgroup); in sd_bus_creds_get_user_unit()
415 r = cg_shift_path(c->cgroup, c->cgroup_root, &shifted); in sd_bus_creds_get_user_unit()
437 assert(c->cgroup); in sd_bus_creds_get_slice()
442 r = cg_shift_path(c->cgroup, c->cgroup_root, &shifted); in sd_bus_creds_get_slice()
464 assert(c->cgroup); in sd_bus_creds_get_user_slice()
469 r = cg_shift_path(c->cgroup, c->cgroup_root, &shifted); in sd_bus_creds_get_user_slice()
491 assert(c->cgroup); in sd_bus_creds_get_session()
496 r = cg_shift_path(c->cgroup, c->cgroup_root, &shifted); in sd_bus_creds_get_session()
519 assert(c->cgroup); in sd_bus_creds_get_owner_uid()
521 r = cg_shift_path(c->cgroup, c->cgroup_root, &shifted); in sd_bus_creds_get_owner_uid()
1035 if (!c->cgroup) { in bus_creds_add_more()
1036 r = cg_pid_get_path(NULL, pid, &c->cgroup); in bus_creds_add_more()
1049 if (c->cgroup) in bus_creds_add_more()
1245 assert(c->cgroup); in bus_creds_extend_by_pid()
1247 n->cgroup = strdup(c->cgroup); in bus_creds_extend_by_pid()
1248 if (!n->cgroup) in bus_creds_extend_by_pid()