Lines Matching refs:exit_code
660 method_run(restarter_inst_t **instp, int type, int *exit_code) in method_run() argument
690 *exit_code = SMF_EXIT_OK; in method_run()
1024 *exit_code = WEXITSTATUS(ret_status); in method_run()
1025 if (*exit_code != SMF_EXIT_OK && in method_run()
1026 *exit_code != SMF_EXIT_NODAEMON && in method_run()
1027 *exit_code != SMF_EXIT_MON_DEGRADE) { in method_run()
1034 "%d.", mname, *exit_code); in method_run()
1037 if (*exit_code != SMF_EXIT_OK && in method_run()
1038 *exit_code != SMF_EXIT_MON_DEGRADE) { in method_run()
1094 (*exit_code != SMF_EXIT_OK && *exit_code != SMF_EXIT_MON_DEGRADE) || in method_run()
1132 int r, exit_code; in method_thread() local
1190 r = method_run(&inst, info->sf_method_type, &exit_code); in method_thread()
1193 (exit_code == SMF_EXIT_OK || exit_code == SMF_EXIT_NODAEMON || in method_thread()
1194 exit_code == SMF_EXIT_MON_DEGRADE)) { in method_thread()
1223 exit_code == SMF_EXIT_MON_DEGRADE) { in method_thread()
1247 switch (exit_code) { in method_thread()
1268 else if (exit_code == SMF_EXIT_ERR_CONFIG) in method_thread()
1270 else if (exit_code == SMF_EXIT_ERR_FATAL) in method_thread()