status 388 src/core/automount.c static int autofs_send_ready(int dev_autofs_fd, int ioctl_fd, uint32_t token, int status) { status 397 src/core/automount.c if (status) { status 399 src/core/automount.c param.fail.status = status; status 403 src/core/automount.c if (ioctl(dev_autofs_fd, status ? AUTOFS_DEV_IOCTL_FAIL : AUTOFS_DEV_IOCTL_READY, ¶m) < 0) status 409 src/core/automount.c int automount_send_ready(Automount *a, int status) { status 415 src/core/automount.c assert(status <= 0); status 424 src/core/automount.c if (status) status 425 src/core/automount.c log_debug_unit(UNIT(a)->id, "Sending failure: %s", strerror(-status)); status 443 src/core/automount.c status); status 63 src/core/automount.h int automount_send_ready(Automount *a, int status); status 753 src/core/busname.c static void busname_sigchld_event(Unit *u, pid_t pid, int code, int status) { status 765 src/core/busname.c if (is_clean_exit(code, status, NULL)) status 778 src/core/busname.c u->id, sigchld_code_to_string(code), status); status 680 src/core/dbus-execute.c (int32_t) c->exec_status.status); status 2448 src/core/execute.c void exec_status_exit(ExecStatus *s, ExecContext *context, pid_t pid, int code, int status) { status 2458 src/core/execute.c s->status = status; status 2462 src/core/execute.c utmp_put_dead_process(context->utmp_id, pid, code, status); status 2495 src/core/execute.c prefix, s->status); status 76 src/core/execute.h int status; /* as in sigingo_t::si_status */ status 249 src/core/execute.h void exec_status_exit(ExecStatus *s, ExecContext *context, pid_t pid, int code, int status); status 3095 src/core/load-fragment.c r = set_ensure_allocated(&status_set->status, NULL); status 3099 src/core/load-fragment.c r = set_put(status_set->status, INT_TO_PTR(val)); status 174 src/core/main.c siginfo_t status; status 178 src/core/main.c r = wait_for_terminate(pid, &status); status 181 src/core/main.c else if (status.si_code != CLD_DUMPED) status 2969 src/core/manager.c void manager_status_printf(Manager *m, StatusType type, const char *status, const char *format, ...) { status 2983 src/core/manager.c status_vprintf(status, true, type == STATUS_TYPE_EPHEMERAL, format, ap); status 358 src/core/manager.h void manager_status_printf(Manager *m, StatusType type, const char *status, const char *format, ...) _printf_(4,5); status 535 src/core/mount.c static int mount_notify_automount(Mount *m, int status) { status 544 src/core/mount.c r = automount_send_ready(AUTOMOUNT(p), status); status 1154 src/core/mount.c static void mount_sigchld_event(Unit *u, pid_t pid, int code, int status) { status 1166 src/core/mount.c if (is_clean_exit(code, status, NULL)) status 1181 src/core/mount.c exec_status_exit(&m->control_command->exec_status, &m->exec_context, pid, code, status); status 1189 src/core/mount.c u->id, sigchld_code_to_string(code), status); status 414 src/core/scope.c static void scope_sigchld_event(Unit *u, pid_t pid, int code, int status) { status 1100 src/core/service.c (s->main_exec_status.code == CLD_EXITED && set_contains(s->restart_force_status.status, INT_TO_PTR(s->main_exec_status.status))) || status 1101 src/core/service.c (IN_SET(s->main_exec_status.code, CLD_KILLED, CLD_DUMPED) && set_contains(s->restart_force_status.signal, INT_TO_PTR(s->main_exec_status.status)))) && status 1102 src/core/service.c (s->main_exec_status.code != CLD_EXITED || !set_contains(s->restart_prevent_status.status, INT_TO_PTR(s->main_exec_status.status))) && status 1103 src/core/service.c (!IN_SET(s->main_exec_status.code, CLD_KILLED, CLD_DUMPED) || !set_contains(s->restart_prevent_status.signal, INT_TO_PTR(s->main_exec_status.status)))) { status 1807 src/core/service.c s->main_exec_status.status); status 1936 src/core/service.c s->main_exec_status.status = i; status 2150 src/core/service.c static void service_sigchld_event(Unit *u, pid_t pid, int code, int status) { status 2157 src/core/service.c if (UNIT(s)->fragment_path ? is_clean_exit(code, status, &s->success_status) : status 2158 src/core/service.c is_clean_exit_lsb(code, status, &s->success_status)) status 2177 src/core/service.c exec_status_exit(&s->main_exec_status, &s->exec_context, pid, code, status); status 2203 src/core/service.c u->id, sigchld_code_to_string(code), status, status 2205 src/core/service.c ? exit_status_to_string(status, EXIT_STATUS_FULL) status 2206 src/core/service.c : signal_to_string(status)), status 2208 src/core/service.c "EXIT_STATUS=%i", status, status 2281 src/core/service.c exec_status_exit(&s->control_command->exec_status, &s->exec_context, pid, code, status); status 2289 src/core/service.c u->id, sigchld_code_to_string(code), status); status 2332 src/core/socket.c static void socket_sigchld_event(Unit *u, pid_t pid, int code, int status) { status 2344 src/core/socket.c if (is_clean_exit(code, status, NULL)) status 2356 src/core/socket.c exec_status_exit(&s->control_command->exec_status, &s->exec_context, pid, code, status); status 2365 src/core/socket.c u->id, sigchld_code_to_string(code), status); status 939 src/core/swap.c static void swap_sigchld_event(Unit *u, pid_t pid, int code, int status) { status 951 src/core/swap.c if (is_clean_exit(code, status, NULL)) status 966 src/core/swap.c exec_status_exit(&s->control_command->exec_status, &s->exec_context, pid, code, status); status 975 src/core/swap.c u->id, sigchld_code_to_string(code), status); status 2769 src/core/unit.c void unit_status_printf(Unit *u, const char *status, const char *unit_status_msg_format) { status 2772 src/core/unit.c status, unit_status_msg_format, unit_description(u)); status 342 src/core/unit.h void (*sigchld_event)(Unit *u, pid_t pid, int code, int status); status 531 src/core/unit.h void unit_status_printf(Unit *u, const char *status, const char *unit_status_msg_format) _printf_(3, 0); status 511 src/cryptsetup/cryptsetup.c crypt_status_info status; status 574 src/cryptsetup/cryptsetup.c status = crypt_status(cd, argv[2]); status 575 src/cryptsetup/cryptsetup.c if (status == CRYPT_ACTIVE || status == CRYPT_BUSY) { status 219 src/fsck/fsck.c siginfo_t status; status 363 src/fsck/fsck.c q = wait_for_terminate(pid, &status); status 369 src/fsck/fsck.c if (status.si_code != CLD_EXITED || (status.si_status & ~1)) { status 371 src/fsck/fsck.c if (status.si_code == CLD_KILLED || status.si_code == CLD_DUMPED) status 372 src/fsck/fsck.c log_error("fsck terminated by signal %s.", signal_to_string(status.si_status)); status 373 src/fsck/fsck.c else if (status.si_code == CLD_EXITED) status 374 src/fsck/fsck.c log_error("fsck failed with error code %i.", status.si_status); status 378 src/fsck/fsck.c if (status.si_code == CLD_EXITED && (status.si_status & 2) && root_directory) status 381 src/fsck/fsck.c else if (status.si_code == CLD_EXITED && (status.si_status & 6)) status 392 src/fsck/fsck.c if (status.si_code == CLD_EXITED && (status.si_status & 1)) status 500 src/journal-remote/journal-upload.c long status; status 515 src/journal-remote/journal-upload.c code = curl_easy_getinfo(u->easy, CURLINFO_RESPONSE_CODE, &status); status 522 src/journal-remote/journal-upload.c if (status >= 300) { status 524 src/journal-remote/journal-upload.c u->url, status, strna(u->answer)); status 526 src/journal-remote/journal-upload.c } else if (status < 200) { status 528 src/journal-remote/journal-upload.c u->url, status, strna(u->answer)); status 532 src/journal-remote/journal-upload.c status, strna(u->answer)); status 168 src/journal-remote/microhttpd-util.c unsigned status; status 173 src/journal-remote/microhttpd-util.c r = gnutls_certificate_verify_peers2(session, &status); status 180 src/journal-remote/microhttpd-util.c r = gnutls_certificate_verification_status_print(status, type, &out, 0); status 188 src/journal-remote/microhttpd-util.c return status == 0 ? 0 : -EPERM; status 181 src/libsystemd-network/dhcp6-option.c uint16_t opt, status; status 270 src/libsystemd-network/dhcp6-option.c if (optlen < sizeof(status)) status 273 src/libsystemd-network/dhcp6-option.c status = (*buf)[0] << 8 | (*buf)[1]; status 274 src/libsystemd-network/dhcp6-option.c if (status) { status 276 src/libsystemd-network/dhcp6-option.c status); status 681 src/libsystemd-network/sd-dhcp6-client.c uint16_t optcode, status; status 738 src/libsystemd-network/sd-dhcp6-client.c status = optval[0] << 8 | optval[1]; status 739 src/libsystemd-network/sd-dhcp6-client.c if (status) { status 742 src/libsystemd-network/sd-dhcp6-client.c dhcp6_message_status_to_string(status)); status 475 src/libsystemd/sd-bus/busctl.c return status(bus, argv + optind); status 515 src/login/logind-core.c const char *status; status 533 src/login/logind-core.c status = udev_device_get_sysattr_value(d, "status"); status 534 src/login/logind-core.c if (!streq_ptr(status, "disconnected")) status 147 src/notify/notify.c _cleanup_free_ char *status = NULL, *cpid = NULL, *n = NULL; status 175 src/notify/notify.c status = strappend("STATUS=", arg_status); status 176 src/notify/notify.c if (!status) { status 181 src/notify/notify.c our_env[i++] = status; status 2924 src/nspawn/nspawn.c siginfo_t status; status 2927 src/nspawn/nspawn.c r = wait_for_terminate(pid, &status); status 2933 src/nspawn/nspawn.c switch (status.si_code) { status 2936 src/nspawn/nspawn.c if (status.si_status == 0) { status 2940 src/nspawn/nspawn.c log_full(arg_quiet ? LOG_DEBUG : LOG_INFO, "Container %s failed with error code %i.", arg_machine, status.si_status); status 2943 src/nspawn/nspawn.c return status.si_status; status 2946 src/nspawn/nspawn.c if (status.si_status == SIGINT) { status 2952 src/nspawn/nspawn.c } else if (status.si_status == SIGHUP) { status 2962 src/nspawn/nspawn.c log_error("Container %s terminated by signal %s.", arg_machine, signal_to_string(status.si_status)); status 29 src/shared/exit-status.c const char* exit_status_to_string(ExitStatus status, ExitStatusLevel level) { status 34 src/shared/exit-status.c switch ((int) status) { status 45 src/shared/exit-status.c switch ((int) status) { status 158 src/shared/exit-status.c switch ((int) status) { status 184 src/shared/exit-status.c bool is_clean_exit(int code, int status, ExitStatusSet *success_status) { status 187 src/shared/exit-status.c return status == 0 || status 189 src/shared/exit-status.c set_contains(success_status->status, INT_TO_PTR(status))); status 195 src/shared/exit-status.c status == SIGHUP || status 196 src/shared/exit-status.c status == SIGINT || status 197 src/shared/exit-status.c status == SIGTERM || status 198 src/shared/exit-status.c status == SIGPIPE || status 200 src/shared/exit-status.c set_contains(success_status->signal, INT_TO_PTR(status))); status 205 src/shared/exit-status.c bool is_clean_exit_lsb(int code, int status, ExitStatusSet *success_status) { status 207 src/shared/exit-status.c if (is_clean_exit(code, status, success_status)) status 212 src/shared/exit-status.c (status == EXIT_NOTINSTALLED || status == EXIT_NOTCONFIGURED); status 218 src/shared/exit-status.c set_free(x->status); status 220 src/shared/exit-status.c x->status = x->signal = NULL; status 227 src/shared/exit-status.c return set_isempty(x->status) && set_isempty(x->signal); status 91 src/shared/exit-status.h Set *status; status 95 src/shared/exit-status.h const char* exit_status_to_string(ExitStatus status, ExitStatusLevel level) _const_; status 97 src/shared/exit-status.h bool is_clean_exit(int code, int status, ExitStatusSet *success_status); status 98 src/shared/exit-status.h bool is_clean_exit_lsb(int code, int status, ExitStatusSet *success_status); status 858 src/shared/fileio.c _cleanup_free_ char *status = NULL; status 867 src/shared/fileio.c r = read_full_file(filename, &status, NULL); status 871 src/shared/fileio.c t = strstr(status, pattern); status 52 src/shared/linux/auto_dev-ioctl.h __s32 status; status 160 src/shared/pager.c siginfo_t status; status 199 src/shared/pager.c r = wait_for_terminate(pid, &status); status 203 src/shared/pager.c log_debug("Exit code %i status %i", status.si_code, status.si_status); status 204 src/shared/pager.c return status.si_status; status 870 src/shared/time-util.c if (txc.status & STA_UNSYNC) status 3045 src/shared/util.c int status_vprintf(const char *status, bool ellipse, bool ephemeral, const char *format, va_list ap) { status 3074 src/shared/util.c sl = status ? sizeof(status_indent)-1 : 0; status 3091 src/shared/util.c if (status) { status 3092 src/shared/util.c if (!isempty(status)) { status 3094 src/shared/util.c IOVEC_SET_STRING(iovec[n++], status); status 3110 src/shared/util.c int status_printf(const char *status, bool ellipse, bool ephemeral, const char *format, ...) { status 3117 src/shared/util.c r = status_vprintf(status, ellipse, ephemeral, format, ap); status 3579 src/shared/util.c int wait_for_terminate(pid_t pid, siginfo_t *status) { status 3584 src/shared/util.c if (!status) status 3585 src/shared/util.c status = &dummy; status 3588 src/shared/util.c zero(*status); status 3590 src/shared/util.c if (waitid(P_PID, pid, status, WEXITED) < 0) { status 3618 src/shared/util.c siginfo_t status; status 3623 src/shared/util.c r = wait_for_terminate(pid, &status); status 3629 src/shared/util.c if (status.si_code == CLD_EXITED) { status 3630 src/shared/util.c if (status.si_status != 0) status 3632 src/shared/util.c "%s failed with error code %i.", name, status.si_status); status 3636 src/shared/util.c return status.si_status; status 3637 src/shared/util.c } else if (status.si_code == CLD_KILLED || status 3638 src/shared/util.c status.si_code == CLD_DUMPED) { status 3640 src/shared/util.c log_warning("%s terminated by signal %s.", name, signal_to_string(status.si_status)); status 458 src/shared/util.h int status_vprintf(const char *status, bool ellipse, bool ephemeral, const char *format, va_list ap) _printf_(4,0); status 459 src/shared/util.h int status_printf(const char *status, bool ellipse, bool ephemeral, const char *format, ...) _printf_(4,5); status 507 src/shared/util.h int wait_for_terminate(pid_t pid, siginfo_t *status); status 226 src/shared/utmp-wtmp.c int utmp_put_dead_process(const char *id, pid_t pid, int code, int status) { status 248 src/shared/utmp-wtmp.c store.ut_exit.e_exit = status; status 3169 src/systemctl/systemctl.c int status; status 3187 src/systemctl/systemctl.c int32_t code, status; status 3217 src/systemctl/systemctl.c &code, &status); status 3226 src/systemctl/systemctl.c i->status = status; status 3464 src/systemctl/systemctl.c good = is_clean_exit_lsb(p->code, p->status, NULL); status 3476 src/systemctl/systemctl.c printf("status=%i", p->status); status 3478 src/systemctl/systemctl.c c = exit_status_to_string(p->status, EXIT_STATUS_SYSTEMD); status 3483 src/systemctl/systemctl.c printf("signal=%s", signal_to_string(p->status)); status 4098 src/systemctl/systemctl.c info.status, status 4100 src/systemctl/systemctl.c strempty(info.code == CLD_EXITED ? NULL : signal_to_string(info.status))); status 5142 src/systemctl/systemctl.c siginfo_t status; status 5204 src/systemctl/systemctl.c j = wait_for_terminate(pid, &status); status 5210 src/systemctl/systemctl.c if (status.si_code == CLD_EXITED) { status 5212 src/systemctl/systemctl.c if (status.si_status == 0) { status 5221 src/systemctl/systemctl.c } else if (status.si_status != 0) status 343 src/timesync/timesyncd-manager.c tmx.status = STA_PLL; status 375 src/timesync/timesyncd-manager.c tmx.status |= STA_UNSYNC; status 379 src/timesync/timesyncd-manager.c tmx.status |= STA_INS; status 382 src/timesync/timesyncd-manager.c tmx.status |= STA_DEL; status 399 src/timesync/timesyncd-manager.c tmx.status, tmx.status & STA_UNSYNC ? "unsync" : "sync", status 98 src/udev/ata_id/ata_id.c if (!(io_hdr.status == 0 && status 159 src/udev/scsi_id/scsi_serial.c hp->status, hp->msg_status, status 273 src/udev/scsi_id/scsi_serial.c if (!io->status && !io->host_status && !io->msg_status && status 283 src/udev/scsi_id/scsi_serial.c dev_scsi->kernel, io->driver_status, io->host_status, io->msg_status, io->status); status 284 src/udev/scsi_id/scsi_serial.c if (io->status == SCSI_CHECK_CONDITION) status 601 src/udev/udev-event.c int status; status 613 src/udev/udev-event.c if (waitpid(pid, &status, WNOHANG) < 0) status 615 src/udev/udev-event.c if (WIFEXITED(status)) { status 616 src/udev/udev-event.c log_debug("'%s' [%u] exit with return code %i", cmd, pid, WEXITSTATUS(status)); status 617 src/udev/udev-event.c if (WEXITSTATUS(status) != 0) status 619 src/udev/udev-event.c } else if (WIFSIGNALED(status)) { status 620 src/udev/udev-event.c log_error("'%s' [%u] terminated by signal %i (%s)", cmd, pid, WTERMSIG(status), strsignal(WTERMSIG(status))); status 622 src/udev/udev-event.c } else if (WIFSTOPPED(status)) { status 625 src/udev/udev-event.c } else if (WIFCONTINUED(status)) { status 629 src/udev/udev-event.c log_error("'%s' [%u] exit with status 0x%04x", cmd, pid, status); status 865 src/udev/udevd.c int status; status 868 src/udev/udevd.c pid = waitpid(-1, &status, WNOHANG); status 879 src/udev/udevd.c if (WIFEXITED(status)) { status 880 src/udev/udevd.c if (WEXITSTATUS(status) != 0) status 882 src/udev/udevd.c pid, WEXITSTATUS(status)); status 883 src/udev/udevd.c } else if (WIFSIGNALED(status)) { status 885 src/udev/udevd.c pid, WTERMSIG(status), strsignal(WTERMSIG(status))); status 886 src/udev/udevd.c } else if (WIFSTOPPED(status)) { status 888 src/udev/udevd.c } else if (WIFCONTINUED(status)) { status 891 src/udev/udevd.c log_error("worker [%u] exit with status 0x%04x", pid, status); status 894 src/udev/udevd.c if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) {