exit_code 445 daemons/based/based_io.c crm_exit_t exit_code = CRM_EX_OK; exit_code 449 daemons/based/based_io.c exit_code = CRM_EX_OK; exit_code 452 daemons/based/based_io.c exit_code = CRM_EX_DIGEST; // Existing CIB doesn't match digest exit_code 456 daemons/based/based_io.c exit_code = CRM_EX_CANTCREAT; exit_code 459 daemons/based/based_io.c exit_code = CRM_EX_ERROR; exit_code 464 daemons/based/based_io.c _exit(exit_code); exit_code 136 daemons/controld/controld_control.c crmd_fast_exit(crm_exit_t exit_code) exit_code 140 daemons/controld/controld_control.c exit_code, CRM_EX_FATAL); exit_code 141 daemons/controld/controld_control.c exit_code = CRM_EX_FATAL; exit_code 143 daemons/controld/controld_control.c } else if ((exit_code == CRM_EX_OK) exit_code 146 daemons/controld/controld_control.c exit_code = CRM_EX_ERROR; exit_code 148 daemons/controld/controld_control.c crm_exit(exit_code); exit_code 152 daemons/controld/controld_control.c crmd_exit(crm_exit_t exit_code) exit_code 159 daemons/controld/controld_control.c if (in_progress && (exit_code == CRM_EX_OK)) { exit_code 161 daemons/controld/controld_control.c return exit_code; exit_code 165 daemons/controld/controld_control.c exit_code, crm_exit_str(exit_code)); exit_code 167 daemons/controld/controld_control.c crmd_fast_exit(exit_code); exit_code 172 daemons/controld/controld_control.c exit_code, crm_exit_str(exit_code)); exit_code 189 daemons/controld/controld_control.c if ((exit_code == CRM_EX_OK) && (crmd_mainloop == NULL)) { exit_code 191 daemons/controld/controld_control.c exit_code = CRM_EX_ERROR; exit_code 200 daemons/controld/controld_control.c if (exit_code != CRM_EX_OK) { exit_code 202 daemons/controld/controld_control.c exit_code, crm_exit_str(exit_code)); exit_code 204 daemons/controld/controld_control.c crmd_fast_exit(exit_code); exit_code 307 daemons/controld/controld_control.c exit_code, crm_exit_str(exit_code)); exit_code 308 daemons/controld/controld_control.c return exit_code; exit_code 317 daemons/controld/controld_control.c crm_exit_t exit_code = CRM_EX_OK; exit_code 324 daemons/controld/controld_control.c exit_code = CRM_EX_ERROR; exit_code 331 daemons/controld/controld_control.c crm_info("[%s] stopped (%d)", crm_system_name, exit_code); exit_code 332 daemons/controld/controld_control.c crmd_exit(exit_code); exit_code 69 daemons/controld/controld_utils.h crm_exit_t crmd_exit(crm_exit_t exit_code); exit_code 70 daemons/controld/controld_utils.h _Noreturn void crmd_fast_exit(crm_exit_t exit_code); exit_code 143 daemons/controld/pacemaker-controld.c crm_exit_t exit_code = CRM_EX_OK; exit_code 163 daemons/controld/pacemaker-controld.c exit_code = CRM_EX_FATAL; exit_code 169 daemons/controld/pacemaker-controld.c exit_code = CRM_EX_ERROR; exit_code 173 daemons/controld/pacemaker-controld.c crm_system_name, (unsigned long) getpid(), exit_code, exit_code 174 daemons/controld/pacemaker-controld.c crm_exit_str(exit_code)); exit_code 175 daemons/controld/pacemaker-controld.c crmd_fast_exit(exit_code); exit_code 156 daemons/execd/cts-exec-helper.c test_exit(crm_exit_t exit_code) exit_code 159 daemons/execd/cts-exec-helper.c crm_exit(exit_code); exit_code 65 include/crm/common/options_internal.h _Noreturn void pcmk__cli_help(char cmd, crm_exit_t exit_code); exit_code 264 include/crm/common/results.h const char *crm_exit_name(crm_exit_t exit_code); exit_code 265 include/crm/common/results.h const char *crm_exit_str(crm_exit_t exit_code); exit_code 192 lib/common/options.c pcmk__cli_help(char cmd, crm_exit_t exit_code) exit_code 195 lib/common/options.c FILE *stream = (exit_code ? stderr : stdout); exit_code 264 lib/common/options.c crm_exit(exit_code); exit_code 479 lib/common/results.c crm_exit_name(crm_exit_t exit_code) exit_code 481 lib/common/results.c switch (exit_code) { exit_code 526 lib/common/results.c crm_exit_str(crm_exit_t exit_code) exit_code 528 lib/common/results.c switch (exit_code) { exit_code 569 lib/common/results.c if ((exit_code > 128) && (exit_code < CRM_EX_MAX)) { exit_code 172 tools/attrd_updater.c crm_exit_t exit_code = CRM_EX_OK; exit_code 264 tools/attrd_updater.c exit_code = crm_errno2exit(do_query(attr_name, attr_node, query_all)); exit_code 271 tools/attrd_updater.c exit_code = pcmk_rc2exitc(do_update(command, exit_code 279 tools/attrd_updater.c crm_exit(exit_code); exit_code 31 tools/cibadmin.c static crm_exit_t exit_code = CRM_EX_OK; exit_code 391 tools/cibadmin.c exit_code = CRM_EX_OK; exit_code 690 tools/cibadmin.c exit_code = crm_errno2exit(rc); exit_code 702 tools/cibadmin.c if (exit_code == CRM_EX_OK) { exit_code 703 tools/cibadmin.c exit_code = crm_errno2exit(rc); exit_code 707 tools/cibadmin.c crm_exit(exit_code); exit_code 753 tools/cibadmin.c exit_code = crm_errno2exit(rc); exit_code 126 tools/crm_mon.c static crm_exit_t clean_up(crm_exit_t exit_code); exit_code 2145 tools/crm_mon.c clean_up(crm_exit_t exit_code) exit_code 2165 tools/crm_mon.c if ((error != NULL || exit_code == CRM_EX_USAGE) && output_format == mon_output_console) { exit_code 2166 tools/crm_mon.c out->finish(out, exit_code, false, NULL); exit_code 2174 tools/crm_mon.c if (exit_code == CRM_EX_USAGE && (output_format == mon_output_console || output_format == mon_output_plain)) { exit_code 2190 tools/crm_mon.c out->finish(out, exit_code, true, NULL); exit_code 2197 tools/crm_mon.c crm_exit(exit_code); exit_code 2209 tools/crm_mon.c out->finish(out, exit_code, true, NULL); exit_code 2215 tools/crm_mon.c crm_exit(exit_code); exit_code 44 tools/crm_node.c static crm_exit_t exit_code = CRM_EX_OK; exit_code 152 tools/crm_node.c if (exit_code == CRM_EX_DISCONNECT) { // Unexpected exit_code 183 tools/crm_node.c exit_code = CRM_EX_PROTOCOL; exit_code 199 tools/crm_node.c exit_code = CRM_EX_NOHOST; exit_code 214 tools/crm_node.c exit_code = CRM_EX_QUORUM; exit_code 251 tools/crm_node.c exit_code = CRM_EX_SOFTWARE; exit_code 256 tools/crm_node.c exit_code = CRM_EX_OK; exit_code 269 tools/crm_node.c exit_code = CRM_EX_DISCONNECT; exit_code 285 tools/crm_node.c exit_code = pcmk_rc2exitc(rc); exit_code 298 tools/crm_node.c exit_code = pcmk_rc2exitc(rc); exit_code 318 tools/crm_node.c exit_code = CRM_EX_OK; exit_code 489 tools/crm_node.c exit_code = pcmk_rc2exitc(rc); exit_code 497 tools/crm_node.c exit_code = CRM_EX_ERROR; exit_code 501 tools/crm_node.c exit_code = CRM_EX_OK; exit_code 548 tools/crm_node.c exit_code = CRM_EX_USAGE; exit_code 566 tools/crm_node.c exit_code = CRM_EX_USAGE; exit_code 574 tools/crm_node.c exit_code = CRM_EX_USAGE; exit_code 602 tools/crm_node.c return crm_exit(exit_code); exit_code 156 tools/crm_resource.c static crm_exit_t exit_code = CRM_EX_OK; exit_code 204 tools/crm_resource.c exit_code = ec; exit_code 235 tools/crm_resource.c if (exit_code == CRM_EX_DISCONNECT) { // Unexpected exit_code 238 tools/crm_resource.c quit_main_loop(exit_code); exit_code 272 tools/crm_resource.c exit_code = CRM_EX_DISCONNECT; // For unexpected disconnects exit_code 905 tools/crm_resource.c ban_or_move(pe_resource_t *rsc, const char *move_lifetime, crm_exit_t *exit_code) exit_code 940 tools/crm_resource.c *exit_code = CRM_EX_USAGE; exit_code 941 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, *exit_code, exit_code 952 tools/crm_resource.c *exit_code = CRM_EX_USAGE; exit_code 953 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, *exit_code, exit_code 1076 tools/crm_resource.c list_agents(const char *agent_spec, crm_exit_t *exit_code) exit_code 1096 tools/crm_resource.c *exit_code = CRM_EX_NOSUCH; exit_code 1099 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, *exit_code, exit_code 1102 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, *exit_code, exit_code 1113 tools/crm_resource.c list_providers(const char *agent_spec, crm_exit_t *exit_code) exit_code 1133 tools/crm_resource.c *exit_code = CRM_EX_SOFTWARE; exit_code 1134 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, *exit_code, "Bug"); exit_code 1147 tools/crm_resource.c *exit_code = CRM_EX_NOSUCH; exit_code 1149 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, *exit_code, exit_code 1153 tools/crm_resource.c *exit_code = CRM_EX_NOSUCH; exit_code 1155 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, *exit_code, exit_code 1351 tools/crm_resource.c show_metadata(const char *agent_spec, crm_exit_t *exit_code) exit_code 1372 tools/crm_resource.c *exit_code = crm_errno2exit(rc); exit_code 1373 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, *exit_code, exit_code 1388 tools/crm_resource.c validate_cmdline(crm_exit_t *exit_code) exit_code 1425 tools/crm_resource.c *exit_code = cli_resource_execute_from_params("test", options.v_class, options.v_provider, options.v_agent, exit_code 1517 tools/crm_resource.c exit_code = CRM_EX_USAGE; exit_code 1606 tools/crm_resource.c exit_code = CRM_EX_USAGE; exit_code 1613 tools/crm_resource.c validate_cmdline(&exit_code); exit_code 1622 tools/crm_resource.c exit_code = CRM_EX_USAGE; exit_code 1711 tools/crm_resource.c rc = list_providers(options.agent_spec, &exit_code); exit_code 1715 tools/crm_resource.c rc = list_agents(options.agent_spec, &exit_code); exit_code 1719 tools/crm_resource.c rc = show_metadata(options.agent_spec, &exit_code); exit_code 1740 tools/crm_resource.c exit_code = cli_resource_execute(rsc, options.rsc_id, exit_code 1822 tools/crm_resource.c rc = ban_or_move(rsc, options.move_lifetime, &exit_code); exit_code 1834 tools/crm_resource.c rc = ban_or_move(rsc, options.move_lifetime, &exit_code); exit_code 1942 tools/crm_resource.c if (exit_code == CRM_EX_OK) { exit_code 1943 tools/crm_resource.c exit_code = pcmk_rc2exitc(rc); exit_code 1975 tools/crm_resource.c return bye(exit_code); exit_code 1685 tools/crm_resource_runtime.c crm_exit_t exit_code = CRM_EX_OK; exit_code 1731 tools/crm_resource_runtime.c return exit_code; // Never reached, but helps static analysis exit_code 1762 tools/crm_resource_runtime.c exit_code = op->rc; exit_code 1807 tools/crm_resource_runtime.c exit_code = op->rc == 0 ? CRM_EX_ERROR : op->rc; exit_code 1814 tools/crm_resource_runtime.c return exit_code; exit_code 1823 tools/crm_resource_runtime.c crm_exit_t exit_code = CRM_EX_OK; exit_code 1882 tools/crm_resource_runtime.c exit_code = cli_resource_execute_from_params(rid, rclass, rprov, rtype, action, exit_code 1885 tools/crm_resource_runtime.c return exit_code; exit_code 211 tools/crm_rule.c crm_exit_t exit_code = CRM_EX_OK; exit_code 227 tools/crm_rule.c exit_code = CRM_EX_USAGE; exit_code 245 tools/crm_rule.c exit_code = CRM_EX_USAGE; exit_code 256 tools/crm_rule.c exit_code = CRM_EX_USAGE; exit_code 264 tools/crm_rule.c exit_code = CRM_EX_USAGE; exit_code 273 tools/crm_rule.c exit_code = CRM_EX_DATAERR; exit_code 285 tools/crm_rule.c exit_code = CRM_EX_DATAERR; exit_code 294 tools/crm_rule.c exit_code = CRM_EX_DATAERR; exit_code 303 tools/crm_rule.c exit_code = crm_errno2exit(rc); exit_code 312 tools/crm_rule.c exit_code = crm_errno2exit(rc); exit_code 320 tools/crm_rule.c exit_code = crm_errno2exit(ENOMEM); exit_code 343 tools/crm_rule.c exit_code = pcmk_rc2exitc(rc); exit_code 360 tools/crm_rule.c crm_exit(exit_code); exit_code 250 tools/crm_shadow.c crm_exit_t exit_code = CRM_EX_OK; exit_code 363 tools/crm_shadow.c exit_code = CRM_EX_NOSUCH; exit_code 373 tools/crm_shadow.c exit_code = CRM_EX_NOSUCH; exit_code 385 tools/crm_shadow.c exit_code = CRM_EX_USAGE; exit_code 395 tools/crm_shadow.c exit_code = CRM_EX_USAGE; exit_code 403 tools/crm_shadow.c exit_code = crm_errno2exit(errno); exit_code 421 tools/crm_shadow.c exit_code = crm_errno2exit(rc); exit_code 433 tools/crm_shadow.c exit_code = CRM_EX_CANTCREAT; exit_code 438 tools/crm_shadow.c exit_code = CRM_EX_NOSUCH; exit_code 451 tools/crm_shadow.c exit_code = crm_errno2exit(rc); exit_code 471 tools/crm_shadow.c exit_code = crm_errno2exit(rc); exit_code 481 tools/crm_shadow.c exit_code = CRM_EX_NOT_CONFIGURED; exit_code 488 tools/crm_shadow.c exit_code = CRM_EX_OSFILE; exit_code 516 tools/crm_shadow.c exit_code = crm_errno2exit(rc); exit_code 530 tools/crm_shadow.c exit_code = CRM_EX_ERROR; exit_code 549 tools/crm_shadow.c exit_code = crm_errno2exit(rc); exit_code 557 tools/crm_shadow.c crm_exit(exit_code); exit_code 715 tools/crm_ticket.c crm_exit_t exit_code = CRM_EX_OK; exit_code 849 tools/crm_ticket.c exit_code = CRM_EX_OSERR; exit_code 857 tools/crm_ticket.c exit_code = CRM_EX_DISCONNECT; exit_code 864 tools/crm_ticket.c exit_code = crm_errno2exit(rc); exit_code 875 tools/crm_ticket.c exit_code = crm_errno2exit(rc); exit_code 882 tools/crm_ticket.c exit_code = CRM_EX_CONFIG; exit_code 911 tools/crm_ticket.c exit_code = CRM_EX_NOSUCH; exit_code 922 tools/crm_ticket.c exit_code = crm_errno2exit(rc); exit_code 929 tools/crm_ticket.c exit_code = crm_errno2exit(rc); exit_code 936 tools/crm_ticket.c exit_code = crm_errno2exit(rc); exit_code 943 tools/crm_ticket.c exit_code = CRM_EX_NOSUCH; exit_code 954 tools/crm_ticket.c exit_code = crm_errno2exit(rc); exit_code 959 tools/crm_ticket.c exit_code = CRM_EX_USAGE; exit_code 969 tools/crm_ticket.c exit_code = CRM_EX_NOSUCH; exit_code 975 tools/crm_ticket.c exit_code = CRM_EX_INSUFFICIENT_PRIV; exit_code 984 tools/crm_ticket.c exit_code = crm_errno2exit(rc); exit_code 989 tools/crm_ticket.c exit_code = CRM_EX_USAGE; exit_code 996 tools/crm_ticket.c exit_code = CRM_EX_USAGE; exit_code 1003 tools/crm_ticket.c exit_code = CRM_EX_USAGE; exit_code 1009 tools/crm_ticket.c exit_code = CRM_EX_INSUFFICIENT_PRIV; exit_code 1017 tools/crm_ticket.c exit_code = crm_errno2exit(rc); exit_code 1027 tools/crm_ticket.c exit_code = CRM_EX_USAGE; exit_code 1033 tools/crm_ticket.c exit_code = CRM_EX_USAGE; exit_code 1039 tools/crm_ticket.c exit_code = CRM_EX_USAGE; exit_code 1045 tools/crm_ticket.c exit_code = CRM_EX_USAGE; exit_code 1071 tools/crm_ticket.c crm_exit(exit_code); exit_code 60 tools/crmadmin.c static crm_exit_t exit_code = CRM_EX_OK; exit_code 174 tools/crmadmin.c exit_code = ec; exit_code 193 tools/crmadmin.c if (exit_code == CRM_EX_DISCONNECT) { // Unexpected exit_code 214 tools/crmadmin.c exit_code = status; exit_code 235 tools/crmadmin.c exit_code = CRM_EX_OK; exit_code 243 tools/crmadmin.c exit_code = CRM_EX_OK; exit_code 247 tools/crmadmin.c exit_code = CRM_EX_SOFTWARE; exit_code 253 tools/crmadmin.c quit_main_loop(exit_code); exit_code 265 tools/crmadmin.c if (exit_code == CRM_EX_DISCONNECT) { // Unexpected exit_code 286 tools/crmadmin.c exit_code = status; exit_code 323 tools/crmadmin.c exit_code = CRM_EX_OK; exit_code 329 tools/crmadmin.c exit_code = CRM_EX_SOFTWARE; exit_code 335 tools/crmadmin.c quit_main_loop(exit_code); exit_code 415 tools/crmadmin.c exit_code = CRM_EX_USAGE; exit_code 459 tools/crmadmin.c exit_code = CRM_EX_USAGE; exit_code 469 tools/crmadmin.c exit_code = pcmk_rc2exitc(rc); exit_code 477 tools/crmadmin.c exit_code = pcmk_rc2exitc(rc); exit_code 488 tools/crmadmin.c exit_code = pcmk_rc2exitc(rc); exit_code 496 tools/crmadmin.c exit_code = pcmk_rc2exitc(rc); exit_code 503 tools/crmadmin.c exit_code = CRM_EX_DISCONNECT; // For unexpected disconnects exit_code 531 tools/crmadmin.c return crm_exit(exit_code); exit_code 571 tools/crmadmin.c exit_code = pcmk_rc2exitc(rc); exit_code 112 tools/iso8601.c crm_exit_t exit_code = CRM_EX_OK; exit_code 249 tools/iso8601.c exit_code = CRM_EX_ERROR; exit_code 260 tools/iso8601.c exit_code = CRM_EX_ERROR; exit_code 267 tools/iso8601.c crm_exit(exit_code); exit_code 343 tools/stonith_admin.c crm_exit_t exit_code = CRM_EX_OK; exit_code 365 tools/stonith_admin.c exit_code = CRM_EX_USAGE; exit_code 377 tools/stonith_admin.c exit_code = CRM_EX_ERROR; exit_code 487 tools/stonith_admin.c exit_code = CRM_EX_USAGE; exit_code 497 tools/stonith_admin.c exit_code = CRM_EX_USAGE; exit_code 511 tools/stonith_admin.c exit_code = CRM_EX_DISCONNECT; exit_code 612 tools/stonith_admin.c exit_code = pcmk_rc2exitc(rc); exit_code 620 tools/stonith_admin.c out->finish(out, exit_code, true, NULL); exit_code 631 tools/stonith_admin.c return exit_code;