/systemd/src/login/ |
H A D | test-inhibit.c | 32 const char *who = "Test Tool", *reason = "Just because!", *mode = "block"; local 43 "ssss", what, who, reason, mode); 56 const char *what, *who, *why, *mode; local 74 while ((r = sd_bus_message_read(reply, "(ssssuu)", &what, &who, &why, &mode, &uid, &pid)) > 0) { 75 printf("what=<%s> who=<%s> why=<%s> mode=<%s> uid=<%"PRIu32"> pid=<%"PRIu32">\n", 76 what, who, why, mode, uid, pid);
|
H A D | inhibit.c | 79 const char *what, *who, *why, *mode; local 100 while ((r = sd_bus_message_read(reply, "(ssssuu)", &what, &who, &why, &mode, &uid, &pid)) > 0) { 113 who, uid, strna(u), pid, strna(comm), 140 " --who=STRING A descriptive string who is inhibiting\n" 162 { "who", required_argument, NULL, ARG_WHO },
|
H A D | logind-inhibit.h | 57 char *who; member in struct:Inhibitor
|
H A D | logind-inhibit.c | 74 free(i->who); 113 if (i->who) { 116 cc = cescape(i->who); 169 strna(i->who), strna(i->why), 187 strna(i->who), strna(i->why), 207 *who = NULL, local 220 "WHO", &who, 248 if (who) { 249 r = cunescape(who, 0, &cc); 253 free(i->who); [all...] |
H A D | logind-session-dbus.c | 285 KillWho who; local 296 who = KILL_ALL; 298 who = kill_who_from_string(swho); 299 if (who < 0) 320 r = session_kill(s, who, signo);
|
H A D | logind-session.c | 981 int session_kill(Session *s, KillWho who, int signo) { argument 987 return manager_kill_unit(s->manager, s->scope, who, signo, NULL);
|
H A D | logind-dbus.c | 559 strempty(inhibitor->who), 2374 const char *who, *why, *what, *mode; local 2388 r = sd_bus_message_read(message, "ssss", &what, &who, &why, &mode); 2460 i->who = strdup(who); 2462 if (!i->why || !i->who) { 3025 int manager_kill_unit(Manager *manager, const char *unit, KillWho who, int signo, sd_bus_error *error) { argument 3037 "ssi", unit, who == KILL_LEADER ? "main" : "all", signo);
|
/systemd/src/basic/ |
H A D | ioprio.h | 47 static inline int ioprio_set(int which, int who, int ioprio) { argument 48 return syscall(__NR_ioprio_set, which, who, ioprio); 51 static inline int ioprio_get(int which, int who) { argument 52 return syscall(__NR_ioprio_get, which, who);
|
/systemd/src/core/ |
H A D | slice.c | 206 static int slice_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) { argument 207 return unit_kill_common(u, who, signo, -1, -1, error);
|
H A D | scope.c | 342 static int scope_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) { argument 343 return unit_kill_common(u, who, signo, -1, -1, error);
|
H A D | busname.c | 971 static int busname_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) { argument 972 return unit_kill_common(u, who, signo, -1, BUSNAME(u)->control_pid, error);
|
H A D | dbus-unit.c | 528 KillWho who; local 543 who = KILL_ALL; 545 who = kill_who_from_string(swho); 546 if (who < 0) 547 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid who argument %s", swho); 565 r = unit_kill(u, who, signo, error);
|
H A D | swap.c | 1393 static int swap_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) { argument 1394 return unit_kill_common(u, who, signo, -1, SWAP(u)->control_pid, error);
|
H A D | mount.c | 1781 static int mount_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) { argument 1782 return unit_kill_common(u, who, signo, -1, MOUNT(u)->control_pid, error);
|
H A D | socket.c | 2746 static int socket_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) { argument 2747 return unit_kill_common(u, who, signo, -1, SOCKET(u)->control_pid, error);
|
H A D | service.c | 3229 static int service_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) { argument 3232 return unit_kill_common(u, who, signo, s->main_pid, s->control_pid, error);
|
H A D | unit.c | 3086 KillWho who, 3095 if (IN_SET(who, KILL_MAIN, KILL_MAIN_FAIL)) { 3102 if (IN_SET(who, KILL_CONTROL, KILL_CONTROL_FAIL)) { 3109 if (IN_SET(who, KILL_CONTROL, KILL_CONTROL_FAIL, KILL_ALL, KILL_ALL_FAIL)) 3117 if (IN_SET(who, KILL_MAIN, KILL_MAIN_FAIL, KILL_ALL, KILL_ALL_FAIL)) 3125 if (IN_SET(who, KILL_ALL, KILL_ALL_FAIL) && u->cgroup_path) { 3141 if (r == 0 && !killed && IN_SET(who, KILL_ALL_FAIL, KILL_CONTROL_FAIL)) 3084 unit_kill_common( Unit *u, KillWho who, int signo, pid_t main_pid, pid_t control_pid, sd_bus_error *error) argument
|
/systemd/src/machine/ |
H A D | machine.c | 536 int machine_kill(Machine *m, KillWho who, int signo) { argument 545 if (who == KILL_LEADER) {
|
H A D | machine-dbus.c | 150 KillWho who; local 161 who = KILL_ALL; 163 who = kill_who_from_string(swho); 164 if (who < 0) 185 r = machine_kill(m, who, signo);
|
/systemd/src/udev/collect/ |
H A D | collect.c | 207 struct _mate *who = NULL; local 217 who = him; 220 if (debug && !who) 235 struct _mate *who = NULL; local 245 who = him; 248 if (debug && !who) 430 struct _mate *who; local 432 who = NULL; 437 who = him; 439 if (!who) { [all...] |
/systemd/src/systemctl/ |
H A D | systemctl.c | 2900 const char *what, *who, *why, *mode; local 2940 while ((r = sd_bus_message_read(reply, "(ssssuu)", &what, &who, &why, &mode, &uid, &pid)) > 0) { 2966 who, (pid_t) pid, strna(comm), strna(user), why); 6194 " --kill-who=WHO Who to send signal to\n" 6495 { "kill-who", required_argument, NULL, ARG_KILL_WHO },
|