Searched refs:why (Results 1 - 6 of 6) sorted by relevance

/systemd/src/login/
H A Dtest-inhibit.c56 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 Dlogind-inhibit.c75 free(i->why);
125 if (i->why) {
128 cc = cescape(i->why);
169 strna(i->who), strna(i->why),
187 strna(i->who), strna(i->why),
208 *why = NULL, local
221 "WHY", &why,
257 if (why) {
258 r = cunescape(why, 0, &cc);
262 free(i->why);
[all...]
H A Dinhibit.c79 const char *what, *who, *why, *mode; local
100 while ((r = sd_bus_message_read(reply, "(ssssuu)", &what, &who, &why, &mode, &uid, &pid)) > 0) {
115 why,
141 " --why=STRING A descriptive string why is being inhibited\n"
163 { "why", required_argument, NULL, ARG_WHY },
H A Dlogind-inhibit.h58 char *why; member in struct:Inhibitor
H A Dlogind-dbus.c560 strempty(inhibitor->why),
2374 const char *who, *why, *what, *mode; local
2388 r = sd_bus_message_read(message, "ssss", &what, &who, &why, &mode);
2459 i->why = strdup(why);
2462 if (!i->why || !i->who) {
/systemd/src/systemctl/
H A Dsystemctl.c2900 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);

Completed in 2126 milliseconds