Lines Matching refs:slice
581 if (UNIT_DEREF(member->slice) != u)
598 * require, i.e. the members mask of the unit's parent slice
601 if (UNIT_ISSET(u->slice))
602 return unit_get_members_mask(UNIT_DEREF(u->slice));
669 if (UNIT_ISSET(u->slice)) {
670 Unit *s = UNIT_DEREF(u->slice);
706 u = UNIT_DEREF(u->slice);
713 _cleanup_free_ char *escaped = NULL, *slice = NULL;
721 if (UNIT_ISSET(u->slice) && !unit_has_name(UNIT_DEREF(u->slice), SPECIAL_ROOT_SLICE)) {
722 r = cg_slice_to_path(UNIT_DEREF(u->slice)->id, &slice);
731 if (slice)
732 return strjoin(u->manager->cgroup_root, "/", slice, "/", escaped, NULL);
786 /* Don't watch the root slice, it's pointless. */
865 * for slice and delegation units. */
917 if (UNIT_ISSET(u->slice)) {
918 r = unit_realize_cgroup_now(UNIT_DEREF(u->slice), state);
966 Unit *slice;
972 while ((slice = UNIT_DEREF(u->slice))) {
976 SET_FOREACH(m, slice->dependencies[UNIT_BEFORE], i) {
980 /* Skip units that have a dependency on the slice
982 if (UNIT_DEREF(m->slice) != slice)
999 u = slice;
1013 * same slice as we are) have cgroups, too. Otherwise, things
1264 /* LEGACY: Also chop off the system slice if we are in
1338 /* 4. Make sure we are in the special "init.scope" unit in the root slice. */