exit_code 451 daemons/based/based_io.c crm_exit_t exit_code = CRM_EX_OK; exit_code 455 daemons/based/based_io.c exit_code = CRM_EX_OK; exit_code 458 daemons/based/based_io.c exit_code = CRM_EX_DIGEST; // Existing CIB doesn't match digest exit_code 462 daemons/based/based_io.c exit_code = CRM_EX_CANTCREAT; exit_code 465 daemons/based/based_io.c exit_code = CRM_EX_ERROR; exit_code 470 daemons/based/based_io.c _exit(exit_code); exit_code 59 daemons/based/pacemaker-based.c static crm_exit_t exit_code = CRM_EX_OK; exit_code 88 daemons/based/pacemaker-based.c exit_code = CRM_EX_FATAL; exit_code 90 daemons/based/pacemaker-based.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 95 daemons/based/pacemaker-based.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 102 daemons/based/pacemaker-based.c exit_code = CRM_EX_FATAL; exit_code 103 daemons/based/pacemaker-based.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 111 daemons/based/pacemaker-based.c exit_code = CRM_EX_FATAL; exit_code 112 daemons/based/pacemaker-based.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 120 daemons/based/pacemaker-based.c exit_code = CRM_EX_FATAL; exit_code 121 daemons/based/pacemaker-based.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 182 daemons/based/pacemaker-based.c exit_code = CRM_EX_USAGE; exit_code 188 daemons/based/pacemaker-based.c exit_code = CRM_EX_ERROR; exit_code 189 daemons/based/pacemaker-based.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 202 daemons/based/pacemaker-based.c exit_code = CRM_EX_ERROR; exit_code 203 daemons/based/pacemaker-based.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 229 daemons/based/pacemaker-based.c exit_code = CRM_EX_FATAL; exit_code 259 daemons/based/pacemaker-based.c exit_code = CRM_EX_FATAL; exit_code 261 daemons/based/pacemaker-based.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 302 daemons/based/pacemaker-based.c out->finish(out, exit_code, true, NULL); exit_code 306 daemons/based/pacemaker-based.c crm_exit(exit_code); exit_code 127 daemons/controld/controld_control.c crmd_fast_exit(crm_exit_t exit_code) exit_code 131 daemons/controld/controld_control.c exit_code, CRM_EX_FATAL); exit_code 132 daemons/controld/controld_control.c exit_code = CRM_EX_FATAL; exit_code 134 daemons/controld/controld_control.c } else if ((exit_code == CRM_EX_OK) exit_code 138 daemons/controld/controld_control.c exit_code = CRM_EX_ERROR; exit_code 143 daemons/controld/controld_control.c exit_code, true, NULL); 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 158 daemons/controld/controld_control.c if (in_progress && (exit_code == CRM_EX_OK)) { exit_code 160 daemons/controld/controld_control.c return exit_code; exit_code 164 daemons/controld/controld_control.c exit_code, crm_exit_str(exit_code)); exit_code 166 daemons/controld/controld_control.c crmd_fast_exit(exit_code); exit_code 171 daemons/controld/controld_control.c exit_code, crm_exit_str(exit_code)); exit_code 188 daemons/controld/controld_control.c if ((exit_code == CRM_EX_OK) && (controld_globals.mainloop == NULL)) { exit_code 190 daemons/controld/controld_control.c exit_code = CRM_EX_ERROR; exit_code 199 daemons/controld/controld_control.c if (exit_code != CRM_EX_OK) { exit_code 201 daemons/controld/controld_control.c exit_code, crm_exit_str(exit_code)); exit_code 203 daemons/controld/controld_control.c crmd_fast_exit(exit_code); exit_code 315 daemons/controld/controld_control.c exit_code, crm_exit_str(exit_code)); exit_code 316 daemons/controld/controld_control.c return exit_code; exit_code 325 daemons/controld/controld_control.c crm_exit_t exit_code = CRM_EX_OK; exit_code 332 daemons/controld/controld_control.c exit_code = CRM_EX_ERROR; exit_code 339 daemons/controld/controld_control.c crm_info("[%s] stopped (%d)", crm_system_name, exit_code); exit_code 340 daemons/controld/controld_control.c crmd_exit(exit_code); exit_code 28 daemons/controld/controld_utils.h crm_exit_t crmd_exit(crm_exit_t exit_code); exit_code 29 daemons/controld/controld_utils.h _Noreturn void crmd_fast_exit(crm_exit_t exit_code); exit_code 60 daemons/controld/pacemaker-controld.c crm_exit_t exit_code = CRM_EX_OK; exit_code 78 daemons/controld/pacemaker-controld.c exit_code = CRM_EX_USAGE; exit_code 84 daemons/controld/pacemaker-controld.c exit_code = CRM_EX_ERROR; exit_code 85 daemons/controld/pacemaker-controld.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 111 daemons/controld/pacemaker-controld.c exit_code = CRM_EX_FATAL; exit_code 130 daemons/controld/pacemaker-controld.c exit_code = CRM_EX_FATAL; exit_code 132 daemons/controld/pacemaker-controld.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 138 daemons/controld/pacemaker-controld.c exit_code = CRM_EX_FATAL; exit_code 140 daemons/controld/pacemaker-controld.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 147 daemons/controld/pacemaker-controld.c exit_code = CRM_EX_FATAL; exit_code 160 daemons/controld/pacemaker-controld.c out->finish(out, exit_code, true, NULL); exit_code 165 daemons/controld/pacemaker-controld.c if ((exit_code == CRM_EX_OK) && initialize) { exit_code 169 daemons/controld/pacemaker-controld.c crm_exit(exit_code); exit_code 175 daemons/controld/pacemaker-controld.c crm_exit_t exit_code = CRM_EX_OK; exit_code 191 daemons/controld/pacemaker-controld.c exit_code = CRM_EX_FATAL; exit_code 197 daemons/controld/pacemaker-controld.c exit_code = CRM_EX_ERROR; exit_code 201 daemons/controld/pacemaker-controld.c crm_system_name, (unsigned long) getpid(), exit_code, exit_code 202 daemons/controld/pacemaker-controld.c crm_exit_str(exit_code)); exit_code 204 daemons/controld/pacemaker-controld.c crmd_fast_exit(exit_code); exit_code 166 daemons/execd/cts-exec-helper.c test_exit(crm_exit_t exit_code) exit_code 169 daemons/execd/cts-exec-helper.c return crm_exit(exit_code); exit_code 533 daemons/execd/cts-exec-helper.c crm_exit_t exit_code = CRM_EX_OK; exit_code 546 daemons/execd/cts-exec-helper.c exit_code = CRM_EX_USAGE; exit_code 570 daemons/execd/cts-exec-helper.c exit_code = CRM_EX_USAGE; exit_code 571 daemons/execd/cts-exec-helper.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 583 daemons/execd/cts-exec-helper.c exit_code = pcmk_rc2exitc(rc); exit_code 584 daemons/execd/cts-exec-helper.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 595 daemons/execd/cts-exec-helper.c exit_code = CRM_EX_USAGE; exit_code 596 daemons/execd/cts-exec-helper.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 623 daemons/execd/cts-exec-helper.c return test_exit(exit_code); exit_code 437 daemons/execd/pacemaker-execd.c crm_exit_t exit_code = CRM_EX_OK; exit_code 463 daemons/execd/pacemaker-execd.c exit_code = CRM_EX_USAGE; exit_code 469 daemons/execd/pacemaker-execd.c exit_code = CRM_EX_ERROR; exit_code 470 daemons/execd/pacemaker-execd.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 543 daemons/execd/pacemaker-execd.c exit_code = CRM_EX_FATAL; exit_code 550 daemons/execd/pacemaker-execd.c exit_code = CRM_EX_FATAL; exit_code 577 daemons/execd/pacemaker-execd.c out->finish(out, exit_code, true, NULL); exit_code 581 daemons/execd/pacemaker-execd.c crm_exit(exit_code); exit_code 628 daemons/fenced/cts-fence-helper.c crm_exit_t exit_code = CRM_EX_OK; exit_code 635 daemons/fenced/cts-fence-helper.c exit_code = CRM_EX_USAGE; exit_code 652 daemons/fenced/cts-fence-helper.c exit_code = CRM_EX_DISCONNECT; exit_code 653 daemons/fenced/cts-fence-helper.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 680 daemons/fenced/cts-fence-helper.c crm_exit(exit_code); exit_code 80 daemons/fenced/pacemaker-fenced.c static crm_exit_t exit_code = CRM_EX_OK; exit_code 648 daemons/fenced/pacemaker-fenced.c exit_code = CRM_EX_FATAL; exit_code 1611 daemons/fenced/pacemaker-fenced.c exit_code = CRM_EX_USAGE; exit_code 1617 daemons/fenced/pacemaker-fenced.c exit_code = CRM_EX_ERROR; exit_code 1618 daemons/fenced/pacemaker-fenced.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 1648 daemons/fenced/pacemaker-fenced.c exit_code = CRM_EX_FATAL; exit_code 1679 daemons/fenced/pacemaker-fenced.c exit_code = CRM_EX_FATAL; exit_code 1680 daemons/fenced/pacemaker-fenced.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 1701 daemons/fenced/pacemaker-fenced.c exit_code = CRM_EX_FATAL; exit_code 1740 daemons/fenced/pacemaker-fenced.c logger_out->finish(logger_out, exit_code, true, NULL); exit_code 1745 daemons/fenced/pacemaker-fenced.c out->finish(out, exit_code, true, NULL); exit_code 1750 daemons/fenced/pacemaker-fenced.c crm_exit(exit_code); exit_code 264 daemons/pacemakerd/pacemakerd.c crm_exit_t exit_code = CRM_EX_OK; exit_code 288 daemons/pacemakerd/pacemakerd.c exit_code = CRM_EX_USAGE; exit_code 294 daemons/pacemakerd/pacemakerd.c exit_code = CRM_EX_ERROR; exit_code 295 daemons/pacemakerd/pacemakerd.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Error creating output format %s: %s", exit_code 306 daemons/pacemakerd/pacemakerd.c exit_code = CRM_EX_OK; exit_code 328 daemons/pacemakerd/pacemakerd.c exit_code = pcmk_rc2exitc(rc); exit_code 341 daemons/pacemakerd/pacemakerd.c exit_code = pcmk_rc2exitc(rc); exit_code 343 daemons/pacemakerd/pacemakerd.c if (exit_code != CRM_EX_OK) { exit_code 354 daemons/pacemakerd/pacemakerd.c exit_code = CRM_EX_OK; exit_code 362 daemons/pacemakerd/pacemakerd.c exit_code = CRM_EX_TIMEOUT; exit_code 370 daemons/pacemakerd/pacemakerd.c exit_code = CRM_EX_DISCONNECT; exit_code 377 daemons/pacemakerd/pacemakerd.c exit_code = CRM_EX_FATAL; exit_code 385 daemons/pacemakerd/pacemakerd.c out->finish(out, exit_code, true, NULL); exit_code 417 daemons/pacemakerd/pacemakerd.c exit_code = CRM_EX_PROTOCOL; exit_code 433 daemons/pacemakerd/pacemakerd.c exit_code = CRM_EX_CANTCREAT; exit_code 436 daemons/pacemakerd/pacemakerd.c exit_code = CRM_EX_FATAL; exit_code 478 daemons/pacemakerd/pacemakerd.c out->finish(out, exit_code, true, NULL); exit_code 482 daemons/pacemakerd/pacemakerd.c crm_exit(exit_code); exit_code 38 daemons/schedulerd/pacemaker-schedulerd.c static crm_exit_t exit_code = CRM_EX_OK; exit_code 83 daemons/schedulerd/pacemaker-schedulerd.c exit_code = CRM_EX_USAGE; exit_code 89 daemons/schedulerd/pacemaker-schedulerd.c exit_code = CRM_EX_FATAL; exit_code 90 daemons/schedulerd/pacemaker-schedulerd.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Error creating output format %s: %s", exit_code 104 daemons/schedulerd/pacemaker-schedulerd.c exit_code = CRM_EX_USAGE; exit_code 105 daemons/schedulerd/pacemaker-schedulerd.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 122 daemons/schedulerd/pacemaker-schedulerd.c exit_code = CRM_EX_FATAL; exit_code 123 daemons/schedulerd/pacemaker-schedulerd.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 130 daemons/schedulerd/pacemaker-schedulerd.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 132 daemons/schedulerd/pacemaker-schedulerd.c exit_code = CRM_EX_FATAL; exit_code 137 daemons/schedulerd/pacemaker-schedulerd.c exit_code = CRM_EX_FATAL; exit_code 168 daemons/schedulerd/pacemaker-schedulerd.c logger_out->finish(logger_out, exit_code, true, NULL); exit_code 174 daemons/schedulerd/pacemaker-schedulerd.c out->finish(out, exit_code, true, NULL); exit_code 180 daemons/schedulerd/pacemaker-schedulerd.c crm_exit(exit_code); exit_code 364 include/crm/common/results.h const char *crm_exit_name(crm_exit_t exit_code); exit_code 365 include/crm/common/results.h const char *crm_exit_str(crm_exit_t exit_code); exit_code 575 lib/common/results.c crm_exit_name(crm_exit_t exit_code) exit_code 577 lib/common/results.c switch (exit_code) { exit_code 627 lib/common/results.c crm_exit_str(crm_exit_t exit_code) exit_code 629 lib/common/results.c switch (exit_code) { exit_code 675 lib/common/results.c if ((exit_code > 128) && (exit_code < CRM_EX_MAX)) { exit_code 487 maint/gnulib/lib/textstyle.in.h libtextstyle_set_failure_exit_code (_GL_ATTRIBUTE_MAYBE_UNUSED int exit_code) exit_code 695 maint/gnulib/lib/windows-spawn.c DWORD exit_code; exit_code 696 maint/gnulib/lib/windows-spawn.c if (!GetExitCodeProcess (pinfo.hProcess, &exit_code)) exit_code 702 maint/gnulib/lib/windows-spawn.c return exit_code; exit_code 100 maint/gnulib/tests/unigbrk/test-uc-grapheme-breaks.c int exit_code; exit_code 120 maint/gnulib/tests/unigbrk/test-uc-grapheme-breaks.c exit_code = 0; exit_code 188 maint/gnulib/tests/unigbrk/test-uc-grapheme-breaks.c return exit_code; exit_code 62 maint/gnulib/tests/unigbrk/test-uc-is-grapheme-break.c int exit_code; exit_code 82 maint/gnulib/tests/unigbrk/test-uc-is-grapheme-break.c exit_code = 0; exit_code 180 maint/gnulib/tests/unigbrk/test-uc-is-grapheme-break.c exit_code = 1; exit_code 199 maint/gnulib/tests/unigbrk/test-uc-is-grapheme-break.c return exit_code; exit_code 68 maint/gnulib/tests/uniwbrk/test-uc-wordbreaks.c int exit_code; exit_code 88 maint/gnulib/tests/uniwbrk/test-uc-wordbreaks.c exit_code = 0; exit_code 181 maint/gnulib/tests/uniwbrk/test-uc-wordbreaks.c exit_code = 1; exit_code 185 maint/gnulib/tests/uniwbrk/test-uc-wordbreaks.c return exit_code; exit_code 287 tools/attrd_updater.c crm_exit_t exit_code = CRM_EX_OK; exit_code 298 tools/attrd_updater.c exit_code = CRM_EX_USAGE; exit_code 306 tools/attrd_updater.c exit_code = CRM_EX_ERROR; exit_code 307 tools/attrd_updater.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Error creating output format %s: %s", exit_code 319 tools/attrd_updater.c exit_code = CRM_EX_USAGE; exit_code 320 tools/attrd_updater.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 326 tools/attrd_updater.c exit_code = CRM_EX_USAGE; exit_code 327 tools/attrd_updater.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 338 tools/attrd_updater.c exit_code = CRM_EX_USAGE; exit_code 339 tools/attrd_updater.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Command requires --name or --pattern argument"); exit_code 349 tools/attrd_updater.c exit_code = pcmk_rc2exitc(rc); exit_code 360 tools/attrd_updater.c exit_code = pcmk_rc2exitc(rc); exit_code 375 tools/attrd_updater.c out->finish(out, exit_code, true, NULL); exit_code 380 tools/attrd_updater.c crm_exit(exit_code); exit_code 35 tools/cibadmin.c static crm_exit_t exit_code = CRM_EX_OK; exit_code 112 tools/cibadmin.c exit_code = CRM_EX_OK; exit_code 504 tools/cibadmin.c exit_code = CRM_EX_USAGE; exit_code 519 tools/cibadmin.c exit_code = CRM_EX_USAGE; exit_code 520 tools/cibadmin.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 563 tools/cibadmin.c exit_code = CRM_EX_USAGE; exit_code 564 tools/cibadmin.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 583 tools/cibadmin.c exit_code = CRM_EX_UNSAFE; exit_code 584 tools/cibadmin.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 689 tools/cibadmin.c exit_code = CRM_EX_UNSAFE; exit_code 690 tools/cibadmin.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 701 tools/cibadmin.c exit_code = CRM_EX_USAGE; exit_code 702 tools/cibadmin.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 723 tools/cibadmin.c exit_code = CRM_EX_CONFIG; exit_code 724 tools/cibadmin.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 733 tools/cibadmin.c exit_code = CRM_EX_USAGE; exit_code 734 tools/cibadmin.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 750 tools/cibadmin.c exit_code = CRM_EX_USAGE; exit_code 751 tools/cibadmin.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 767 tools/cibadmin.c exit_code = pcmk_rc2exitc(rc); exit_code 771 tools/cibadmin.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 821 tools/cibadmin.c exit_code = pcmk_rc2exitc(rc); exit_code 835 tools/cibadmin.c exit_code = CRM_EX_CONFIG; exit_code 836 tools/cibadmin.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 845 tools/cibadmin.c exit_code = CRM_EX_CONFIG; exit_code 846 tools/cibadmin.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 874 tools/cibadmin.c if (exit_code == CRM_EX_OK) { exit_code 875 tools/cibadmin.c exit_code = pcmk_rc2exitc(rc); exit_code 879 tools/cibadmin.c crm_exit(exit_code); exit_code 922 tools/cibadmin.c exit_code = pcmk_rc2exitc(rc); exit_code 45 tools/crm_attribute.c crm_exit_t exit_code = CRM_EX_OK; exit_code 705 tools/crm_attribute.c exit_code = CRM_EX_USAGE; exit_code 713 tools/crm_attribute.c exit_code = CRM_EX_ERROR; exit_code 714 tools/crm_attribute.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Error creating output format %s: %s", exit_code 730 tools/crm_attribute.c exit_code = CRM_EX_USAGE; exit_code 731 tools/crm_attribute.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 747 tools/crm_attribute.c exit_code = pcmk_rc2exitc(rc); exit_code 748 tools/crm_attribute.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 777 tools/crm_attribute.c exit_code = pcmk_rc2exitc(rc); exit_code 789 tools/crm_attribute.c exit_code = pcmk_rc2exitc(rc); exit_code 790 tools/crm_attribute.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 797 tools/crm_attribute.c exit_code = CRM_EX_USAGE; exit_code 798 tools/crm_attribute.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 805 tools/crm_attribute.c exit_code = CRM_EX_USAGE; exit_code 806 tools/crm_attribute.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 812 tools/crm_attribute.c exit_code = CRM_EX_USAGE; exit_code 813 tools/crm_attribute.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 848 tools/crm_attribute.c exit_code = pcmk_rc2exitc(rc); exit_code 849 tools/crm_attribute.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 853 tools/crm_attribute.c exit_code = pcmk_rc2exitc(rc); exit_code 854 tools/crm_attribute.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 877 tools/crm_attribute.c out->finish(out, exit_code, true, NULL); exit_code 882 tools/crm_attribute.c return crm_exit(exit_code); exit_code 318 tools/crm_diff.c crm_exit_t exit_code = CRM_EX_OK; exit_code 328 tools/crm_diff.c exit_code = CRM_EX_USAGE; exit_code 345 tools/crm_diff.c exit_code = CRM_EX_USAGE; exit_code 373 tools/crm_diff.c exit_code = CRM_EX_DATAERR; exit_code 378 tools/crm_diff.c exit_code = CRM_EX_DATAERR; exit_code 387 tools/crm_diff.c exit_code = pcmk_rc2exitc(rc); exit_code 398 tools/crm_diff.c crm_exit(exit_code); exit_code 81 tools/crm_error.c crm_exit_t exit_code = CRM_EX_OK; exit_code 95 tools/crm_error.c exit_code = CRM_EX_USAGE; exit_code 103 tools/crm_error.c exit_code = CRM_EX_ERROR; exit_code 104 tools/crm_error.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 170 tools/crm_error.c out->finish(out, exit_code, true, NULL); exit_code 174 tools/crm_error.c crm_exit(exit_code); exit_code 236 tools/crm_mon.c static crm_exit_t clean_up(crm_exit_t exit_code); exit_code 2216 tools/crm_mon.c clean_up(crm_exit_t exit_code) exit_code 2236 tools/crm_mon.c if (((error != NULL) || (exit_code == CRM_EX_USAGE)) exit_code 2240 tools/crm_mon.c out->finish(out, exit_code, false, NULL); exit_code 2248 tools/crm_mon.c if (exit_code == CRM_EX_USAGE && (output_format == mon_output_console || output_format == mon_output_plain)) { exit_code 2264 tools/crm_mon.c out->finish(out, exit_code, true, NULL); exit_code 2271 tools/crm_mon.c crm_exit(exit_code); exit_code 2279 tools/crm_mon.c out->finish(out, exit_code, true, NULL); exit_code 2286 tools/crm_mon.c crm_exit(exit_code); exit_code 46 tools/crm_node.c static crm_exit_t exit_code = CRM_EX_OK; exit_code 154 tools/crm_node.c if (exit_code == CRM_EX_DISCONNECT) { // Unexpected exit_code 185 tools/crm_node.c exit_code = CRM_EX_PROTOCOL; exit_code 201 tools/crm_node.c exit_code = CRM_EX_NOHOST; exit_code 216 tools/crm_node.c exit_code = CRM_EX_QUORUM; exit_code 253 tools/crm_node.c exit_code = CRM_EX_SOFTWARE; exit_code 258 tools/crm_node.c exit_code = CRM_EX_OK; exit_code 271 tools/crm_node.c exit_code = CRM_EX_DISCONNECT; exit_code 287 tools/crm_node.c exit_code = pcmk_rc2exitc(rc); exit_code 300 tools/crm_node.c exit_code = pcmk_rc2exitc(rc); exit_code 320 tools/crm_node.c exit_code = CRM_EX_OK; exit_code 490 tools/crm_node.c exit_code = pcmk_rc2exitc(rc); exit_code 498 tools/crm_node.c exit_code = CRM_EX_ERROR; exit_code 502 tools/crm_node.c exit_code = CRM_EX_OK; exit_code 542 tools/crm_node.c exit_code = CRM_EX_USAGE; exit_code 560 tools/crm_node.c exit_code = CRM_EX_USAGE; exit_code 568 tools/crm_node.c exit_code = CRM_EX_USAGE; exit_code 600 tools/crm_node.c return crm_exit(exit_code); exit_code 177 tools/crm_resource.c static crm_exit_t exit_code = CRM_EX_OK; exit_code 239 tools/crm_resource.c exit_code = ec; exit_code 270 tools/crm_resource.c if (exit_code == CRM_EX_DISCONNECT) { // Unexpected exit_code 273 tools/crm_resource.c quit_main_loop(exit_code); exit_code 308 tools/crm_resource.c exit_code = CRM_EX_DISCONNECT; // For unexpected disconnects exit_code 1568 tools/crm_resource.c exit_code = CRM_EX_USAGE; exit_code 1576 tools/crm_resource.c exit_code = CRM_EX_ERROR; exit_code 1577 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, _("Error creating output format %s: %s"), exit_code 1603 tools/crm_resource.c exit_code = CRM_EX_USAGE; exit_code 1604 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, _("--expired requires --clear or -U")); exit_code 1619 tools/crm_resource.c exit_code = CRM_EX_USAGE; exit_code 1620 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 1654 tools/crm_resource.c exit_code = CRM_EX_USAGE; exit_code 1656 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "%s", msg); exit_code 1705 tools/crm_resource.c exit_code = CRM_EX_USAGE; exit_code 1716 tools/crm_resource.c exit_code = CRM_EX_USAGE; exit_code 1717 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 1722 tools/crm_resource.c exit_code = CRM_EX_USAGE; exit_code 1723 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 1740 tools/crm_resource.c exit_code = CRM_EX_DISCONNECT; exit_code 1741 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 1748 tools/crm_resource.c exit_code = pcmk_rc2exitc(rc); exit_code 1749 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 1759 tools/crm_resource.c exit_code = pcmk_rc2exitc(rc); exit_code 1769 tools/crm_resource.c exit_code = CRM_EX_NOSUCH; exit_code 1770 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 1781 tools/crm_resource.c exit_code = CRM_EX_INVALID_PARAM; exit_code 1782 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 1793 tools/crm_resource.c exit_code = CRM_EX_NOSUCH; exit_code 1794 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 1804 tools/crm_resource.c exit_code = pcmk_rc2exitc(rc); exit_code 1805 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 1813 tools/crm_resource.c exit_code = pcmk_rc2exitc(rc); exit_code 1814 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 1880 tools/crm_resource.c exit_code = cli_resource_execute_from_params(out, NULL, exit_code 1886 tools/crm_resource.c exit_code = cli_resource_execute(rsc, options.rsc_id, exit_code 1974 tools/crm_resource.c exit_code = CRM_EX_USAGE; exit_code 1993 tools/crm_resource.c exit_code = CRM_EX_USAGE; exit_code 2062 tools/crm_resource.c exit_code = CRM_EX_USAGE; exit_code 2063 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 2117 tools/crm_resource.c exit_code = CRM_EX_USAGE; exit_code 2118 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 2125 tools/crm_resource.c exit_code = pcmk_rc2exitc(rc); exit_code 2140 tools/crm_resource.c if (exit_code != CRM_EX_OK && exit_code != CRM_EX_USAGE) { exit_code 2143 tools/crm_resource.c error->message, crm_exit_str(exit_code)); exit_code 2145 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "%s", msg); exit_code 2148 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 2149 tools/crm_resource.c _("Error performing operation: %s"), crm_exit_str(exit_code)); exit_code 2181 tools/crm_resource.c return bye(exit_code); exit_code 1946 tools/crm_resource_runtime.c crm_exit_t exit_code = CRM_EX_OK; exit_code 1979 tools/crm_resource_runtime.c exit_code = op->rc; exit_code 1990 tools/crm_resource_runtime.c exit_code = (crm_exit_t) ocf_code; exit_code 1996 tools/crm_resource_runtime.c exit_code, op->status, services__exit_reason(op), exit_code 1999 tools/crm_resource_runtime.c return exit_code; exit_code 2009 tools/crm_resource_runtime.c crm_exit_t exit_code = CRM_EX_OK; exit_code 2058 tools/crm_resource_runtime.c exit_code = cli_resource_execute_from_params(out, rid, rclass, rprov, rtype, rsc_action, exit_code 2061 tools/crm_resource_runtime.c return exit_code; exit_code 105 tools/crm_rule.c crm_exit_t exit_code = CRM_EX_OK; exit_code 118 tools/crm_rule.c exit_code = CRM_EX_USAGE; exit_code 126 tools/crm_rule.c exit_code = CRM_EX_ERROR; exit_code 127 tools/crm_rule.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Error creating output format %s: %s", exit_code 145 tools/crm_rule.c exit_code = CRM_EX_USAGE; exit_code 146 tools/crm_rule.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "--check requires use of --rule="); exit_code 153 tools/crm_rule.c exit_code = CRM_EX_USAGE; exit_code 154 tools/crm_rule.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "No mode operation given"); exit_code 163 tools/crm_rule.c exit_code = CRM_EX_DATAERR; exit_code 164 tools/crm_rule.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 169 tools/crm_rule.c exit_code = CRM_EX_OSERR; exit_code 170 tools/crm_rule.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 181 tools/crm_rule.c exit_code = CRM_EX_DATAERR; exit_code 182 tools/crm_rule.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Couldn't parse input from STDIN\n"); exit_code 189 tools/crm_rule.c exit_code = CRM_EX_DATAERR; exit_code 190 tools/crm_rule.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 204 tools/crm_rule.c exit_code = pcmk_rc2exitc(rc); exit_code 221 tools/crm_rule.c out->finish(out, exit_code, true, NULL); exit_code 226 tools/crm_rule.c return crm_exit(exit_code); exit_code 71 tools/crm_shadow.c static crm_exit_t exit_code = CRM_EX_OK; exit_code 353 tools/crm_shadow.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 377 tools/crm_shadow.c exit_code = pcmk_rc2exitc(rc); exit_code 378 tools/crm_shadow.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 403 tools/crm_shadow.c exit_code = CRM_EX_CANTCREAT; exit_code 411 tools/crm_shadow.c exit_code = CRM_EX_NOSUCH; exit_code 412 tools/crm_shadow.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 438 tools/crm_shadow.c exit_code = pcmk_rc2exitc(rc); exit_code 439 tools/crm_shadow.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 447 tools/crm_shadow.c exit_code = pcmk_rc2exitc(rc); exit_code 448 tools/crm_shadow.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 476 tools/crm_shadow.c exit_code = pcmk_rc2exitc(rc); exit_code 477 tools/crm_shadow.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 504 tools/crm_shadow.c exit_code = pcmk_rc2exitc(rc); exit_code 505 tools/crm_shadow.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 528 tools/crm_shadow.c exit_code = pcmk_rc2exitc(rc); exit_code 529 tools/crm_shadow.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 589 tools/crm_shadow.c exit_code = pcmk_rc2exitc(errno); exit_code 590 tools/crm_shadow.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 665 tools/crm_shadow.c exit_code = CRM_EX_USAGE; exit_code 695 tools/crm_shadow.c exit_code = pcmk_rc2exitc(rc); exit_code 696 tools/crm_shadow.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 772 tools/crm_shadow.c exit_code = CRM_EX_USAGE; exit_code 773 tools/crm_shadow.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 819 tools/crm_shadow.c exit_code = CRM_EX_USAGE; exit_code 827 tools/crm_shadow.c exit_code = pcmk_rc2exitc(errno); exit_code 828 tools/crm_shadow.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 862 tools/crm_shadow.c exit_code = CRM_EX_NOT_CONFIGURED; exit_code 863 tools/crm_shadow.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 869 tools/crm_shadow.c exit_code = CRM_EX_OSFILE; exit_code 870 tools/crm_shadow.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 956 tools/crm_shadow.c exit_code = pcmk_rc2exitc(rc); exit_code 957 tools/crm_shadow.c g_set_error(error, PCMK__EXITC_ERROR, exit_code, exit_code 978 tools/crm_shadow.c exit_code = CRM_EX_ERROR; exit_code 1210 tools/crm_shadow.c exit_code = CRM_EX_USAGE; exit_code 1216 tools/crm_shadow.c exit_code = CRM_EX_ERROR; exit_code 1217 tools/crm_shadow.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 1234 tools/crm_shadow.c exit_code = CRM_EX_USAGE; exit_code 1235 tools/crm_shadow.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 1253 tools/crm_shadow.c exit_code = CRM_EX_USAGE; exit_code 1254 tools/crm_shadow.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 1317 tools/crm_shadow.c out->finish(out, exit_code, true, NULL); exit_code 1321 tools/crm_shadow.c crm_exit(exit_code); exit_code 56 tools/crm_simulate.c crm_exit_t exit_code = CRM_EX_OK; exit_code 474 tools/crm_simulate.c exit_code = CRM_EX_USAGE; exit_code 484 tools/crm_simulate.c exit_code = CRM_EX_ERROR; exit_code 577 tools/crm_simulate.c exit_code = pcmk_rc2exitc(rc); exit_code 581 tools/crm_simulate.c out->finish(out, exit_code, true, NULL); exit_code 586 tools/crm_simulate.c crm_exit(exit_code); exit_code 726 tools/crm_ticket.c crm_exit_t exit_code = CRM_EX_OK; exit_code 741 tools/crm_ticket.c exit_code = CRM_EX_USAGE; exit_code 757 tools/crm_ticket.c exit_code = CRM_EX_OSERR; exit_code 764 tools/crm_ticket.c exit_code = CRM_EX_DISCONNECT; exit_code 765 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Could not connect to the CIB manager"); exit_code 773 tools/crm_ticket.c exit_code = pcmk_rc2exitc(rc); exit_code 774 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Could not connect to the CIB: %s", exit_code 787 tools/crm_ticket.c exit_code = pcmk_rc2exitc(rc); exit_code 788 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Could not get local CIB: %s", exit_code 795 tools/crm_ticket.c exit_code = CRM_EX_CONFIG; exit_code 796 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 824 tools/crm_ticket.c exit_code = CRM_EX_NOSUCH; exit_code 825 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 837 tools/crm_ticket.c exit_code = pcmk_rc2exitc(rc); exit_code 840 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 846 tools/crm_ticket.c exit_code = pcmk_rc2exitc(rc); exit_code 849 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 857 tools/crm_ticket.c exit_code = CRM_EX_NOSUCH; exit_code 858 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 870 tools/crm_ticket.c exit_code = pcmk_rc2exitc(rc); exit_code 874 tools/crm_ticket.c exit_code = CRM_EX_USAGE; exit_code 875 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 885 tools/crm_ticket.c exit_code = CRM_EX_NOSUCH; exit_code 886 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 893 tools/crm_ticket.c exit_code = CRM_EX_INSUFFICIENT_PRIV; exit_code 899 tools/crm_ticket.c exit_code = pcmk_rc2exitc(rc); exit_code 902 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 908 tools/crm_ticket.c exit_code = CRM_EX_USAGE; exit_code 909 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 916 tools/crm_ticket.c exit_code = CRM_EX_USAGE; exit_code 917 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 924 tools/crm_ticket.c exit_code = CRM_EX_USAGE; exit_code 925 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 931 tools/crm_ticket.c exit_code = CRM_EX_INSUFFICIENT_PRIV; exit_code 932 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 938 tools/crm_ticket.c exit_code = pcmk_rc2exitc(rc); exit_code 941 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 952 tools/crm_ticket.c exit_code = CRM_EX_USAGE; exit_code 953 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Must supply a command"); exit_code 958 tools/crm_ticket.c exit_code = CRM_EX_USAGE; exit_code 959 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 965 tools/crm_ticket.c exit_code = CRM_EX_USAGE; exit_code 966 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 972 tools/crm_ticket.c exit_code = CRM_EX_USAGE; exit_code 973 tools/crm_ticket.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 1006 tools/crm_ticket.c crm_exit(exit_code); exit_code 112 tools/crm_verify.c crm_exit_t exit_code = CRM_EX_OK; exit_code 125 tools/crm_verify.c exit_code = CRM_EX_USAGE; exit_code 133 tools/crm_verify.c exit_code = CRM_EX_ERROR; exit_code 134 tools/crm_verify.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Error creating output format %s: %s", exit_code 272 tools/crm_verify.c if (exit_code == CRM_EX_OK) { exit_code 273 tools/crm_verify.c exit_code = pcmk_rc2exitc(rc); exit_code 279 tools/crm_verify.c out->finish(out, exit_code, true, NULL); exit_code 284 tools/crm_verify.c crm_exit(exit_code); exit_code 175 tools/crmadmin.c crm_exit_t exit_code = CRM_EX_OK; exit_code 190 tools/crmadmin.c exit_code = CRM_EX_USAGE; exit_code 198 tools/crmadmin.c exit_code = CRM_EX_ERROR; exit_code 199 tools/crmadmin.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Error creating output format %s: %s", exit_code 232 tools/crmadmin.c exit_code = CRM_EX_USAGE; exit_code 260 tools/crmadmin.c exit_code = pcmk_rc2exitc(rc); exit_code 270 tools/crmadmin.c out->finish(out, exit_code, true, NULL); exit_code 274 tools/crmadmin.c return crm_exit(exit_code); exit_code 141 tools/iso8601.c crm_exit_t exit_code = CRM_EX_OK; exit_code 152 tools/iso8601.c exit_code = CRM_EX_USAGE; exit_code 169 tools/iso8601.c exit_code = CRM_EX_SOFTWARE; exit_code 170 tools/iso8601.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 184 tools/iso8601.c exit_code = CRM_EX_INVALID_PARAM; exit_code 185 tools/iso8601.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 200 tools/iso8601.c exit_code = CRM_EX_INVALID_PARAM; exit_code 201 tools/iso8601.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 215 tools/iso8601.c exit_code = CRM_EX_INVALID_PARAM; exit_code 216 tools/iso8601.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 232 tools/iso8601.c exit_code = CRM_EX_SOFTWARE; exit_code 233 tools/iso8601.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, exit_code 250 tools/iso8601.c exit_code = CRM_EX_ERROR; exit_code 262 tools/iso8601.c exit_code = CRM_EX_ERROR; exit_code 281 tools/iso8601.c crm_exit(exit_code); exit_code 370 tools/stonith_admin.c crm_exit_t exit_code = CRM_EX_OK; exit_code 389 tools/stonith_admin.c exit_code = CRM_EX_USAGE; exit_code 401 tools/stonith_admin.c exit_code = CRM_EX_ERROR; exit_code 402 tools/stonith_admin.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Error creating output format %s: %s", exit_code 513 tools/stonith_admin.c exit_code = CRM_EX_USAGE; exit_code 523 tools/stonith_admin.c exit_code = CRM_EX_USAGE; exit_code 537 tools/stonith_admin.c exit_code = CRM_EX_DISCONNECT; exit_code 652 tools/stonith_admin.c exit_code = pcmk_rc2exitc(rc); exit_code 661 tools/stonith_admin.c out->finish(out, exit_code, true, NULL); exit_code 673 tools/stonith_admin.c return exit_code;