Lines Matching defs:code
961 static void swap_sigchld_event(Unit *u, pid_t pid, int code, int status) {
973 if (is_clean_exit(code, status, NULL))
975 else if (code == CLD_EXITED)
977 else if (code == CLD_KILLED)
979 else if (code == CLD_DUMPED)
982 assert_not_reached("Unknown code");
988 exec_status_exit(&s->control_command->exec_status, &s->exec_context, pid, code, status);
995 "Swap process exited, code=%s status=%i", sigchld_code_to_string(code), status);
1441 [SWAP_FAILURE_EXIT_CODE] = "exit-code",