Searched refs:cgroup_path (Results 1 - 12 of 12) sorted by relevance
/systemd/src/core/ |
H A D | cgroup.c | 701 if (u->cgroup_path && 704 return u->cgroup_path; 750 if (streq_ptr(u->cgroup_path, p)) 761 u->cgroup_path = p; 773 if (!u->cgroup_path) 794 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, u->cgroup_path, "cgroup.populated", &populated); 806 return log_unit_error_errno(u, errno, "Failed to add inotify watch descriptor for control group %s: %m", u->cgroup_path); 830 if (!u->cgroup_path) { 845 r = cg_create_everywhere(u->manager->cgroup_supported, target_mask, u->cgroup_path); 847 return log_unit_error_errno(u, r, "Failed to create cgroup %s: %m", u->cgroup_path); [all...] |
H A D | unit-printf.c | 87 if (u->cgroup_path) 88 n = strdup(u->cgroup_path); 123 if (slice->cgroup_path) 124 n = strdup(slice->cgroup_path);
|
H A D | scope.c | 404 if (!u->cgroup_path) 407 return cg_is_empty_recursive(SYSTEMD_CGROUP_CONTROLLER, u->cgroup_path) <= 0;
|
H A D | execute.h | 229 const char *cgroup_path; member in struct:ExecParameters
|
H A D | execute.c | 1569 if (params->cgroup_path) { 1570 r = cg_attach_everywhere(params->cgroup_supported, params->cgroup_path, 0, NULL, NULL); 1671 if (params->cgroup_path && context->user && params->cgroup_delegate) { 1672 r = cg_set_task_access(SYSTEMD_CGROUP_CONTROLLER, params->cgroup_path, 0644, uid, gid); 1679 r = cg_set_group_access(SYSTEMD_CGROUP_CONTROLLER, params->cgroup_path, 0755, uid, gid); 2149 if (params->cgroup_path) 2150 (void) cg_attach(SYSTEMD_CGROUP_CONTROLLER, params->cgroup_path, pid);
|
H A D | dbus-unit.c | 829 /* Three cases: a) u->cgroup_path is NULL, in which case the 831 * string. b) u->cgroup_path is the empty string, which 835 if (u->cgroup_path) 836 t = isempty(u->cgroup_path) ? "/" : u->cgroup_path;
|
H A D | unit.c | 918 prefix, strna(u->cgroup_path), 2587 if (u->cgroup_path) 2588 unit_serialize_item(u, f, "cgroup", u->cgroup_path); 3125 if (IN_SET(who, KILL_ALL, KILL_ALL_FAIL) && u->cgroup_path) { 3134 q = cg_kill_recursive(SYSTEMD_CGROUP_CONTROLLER, u->cgroup_path, signo, false, false, false, pid_set); 3532 if (u->cgroup_path && 3541 r = cg_kill_recursive(SYSTEMD_CGROUP_CONTROLLER, u->cgroup_path, sig, true, k != KILL_TERMINATE, false, pid_set); 3544 log_unit_warning_errno(u, r, "Failed to kill control group %s, ignoring: %m", u->cgroup_path); 3573 cg_kill_recursive(SYSTEMD_CGROUP_CONTROLLER, u->cgroup_path, SIGHUP, false, true, false, pid_set);
|
H A D | service.c | 1264 if (is_control && UNIT(s)->cgroup_path) { 1265 path = strjoina(UNIT(s)->cgroup_path, "/control"); 1268 path = UNIT(s)->cgroup_path; 1289 exec_params.cgroup_path = path; 1356 if (!UNIT(s)->cgroup_path) 1359 r = cg_is_empty_recursive(SYSTEMD_CGROUP_CONTROLLER, UNIT(s)->cgroup_path); 1691 if (!UNIT(s)->cgroup_path) 1694 p = strjoina(UNIT(s)->cgroup_path, "/control");
|
H A D | unit.h | 184 char *cgroup_path; member in struct:Unit
|
H A D | swap.c | 639 exec_params.cgroup_path = UNIT(s)->cgroup_path;
|
H A D | mount.c | 733 exec_params.cgroup_path = UNIT(m)->cgroup_path;
|
H A D | socket.c | 1562 exec_params.cgroup_path = UNIT(s)->cgroup_path;
|
Completed in 3598 milliseconds