reason 1438 daemons/based/based_callbacks.c const char *reason = NULL; reason 1451 daemons/based/based_callbacks.c reason = "membership not established"; reason 1464 daemons/based/based_callbacks.c if (reason) { reason 1468 daemons/based/based_callbacks.c crm_warn("Discarding %s message (%s) from %s: %s", op, seq, originator, reason); reason 249 daemons/controld/controld_fencing.c const char *target, xmlNode *reason) reason 257 daemons/controld/controld_fencing.c abort_transition(INFINITY, abort_action, "Stonith failed", reason); reason 449 daemons/controld/controld_fencing.c const char *reason = NULL; reason 477 daemons/controld/controld_fencing.c reason = stonith__event_exit_reason(event); reason 491 daemons/controld/controld_fencing.c ((reason == NULL)? "" : ": "), reason 492 daemons/controld/controld_fencing.c ((reason == NULL)? "" : reason), reason 539 daemons/controld/controld_fencing.c ((reason == NULL)? "" : " ("), reason 540 daemons/controld/controld_fencing.c ((reason == NULL)? "" : reason), reason 541 daemons/controld/controld_fencing.c ((reason == NULL)? "" : ")"), reason 755 daemons/controld/controld_fencing.c const char *reason = stonith__exit_reason(data); reason 757 daemons/controld/controld_fencing.c if (reason == NULL) { reason 758 daemons/controld/controld_fencing.c reason = pcmk_exec_status_str(stonith__execution_status(data)); reason 761 daemons/controld/controld_fencing.c data->call_id, stonith__exit_status(data), reason, reason 843 daemons/controld/controld_fencing.c const char *reason = stonith__exit_reason(data); reason 845 daemons/controld/controld_fencing.c if (reason == NULL) { reason 847 daemons/controld/controld_fencing.c reason = "Agent returned error"; reason 849 daemons/controld/controld_fencing.c reason = pcmk_exec_status_str(status); reason 860 daemons/controld/controld_fencing.c data->call_id, target, reason); reason 864 daemons/controld/controld_fencing.c "(aborting transition)", data->call_id, target, reason); reason 199 daemons/controld/controld_te_actions.c const char *reason = NULL; reason 203 daemons/controld/controld_te_actions.c reason = "Local executor did not return result in time"; reason 213 daemons/controld/controld_te_actions.c reason = dynamic_reason; reason 217 daemons/controld/controld_te_actions.c PCMK_OCF_UNKNOWN_ERROR, reason); reason 283 daemons/controld/controld_te_callbacks.c const char *reason) reason 289 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, reason, change); reason 296 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, reason, change); reason 303 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, reason, change); reason 183 daemons/controld/controld_te_utils.c const char *abort_text, xmlNode * reason, const char *fn, int line) reason 217 daemons/controld/controld_te_utils.c if(reason) { reason 220 daemons/controld/controld_te_utils.c for(search = reason; search; search = search->parent) { reason 229 daemons/controld/controld_te_utils.c for(search = reason; search; search = search->parent) { reason 238 daemons/controld/controld_te_utils.c if(reason == NULL) { reason 244 daemons/controld/controld_te_utils.c char *local_path = xml_get_path(reason); reason 248 daemons/controld/controld_te_utils.c transition_graph->id, TYPE(reason), ID(reason), abort_text, reason 258 daemons/controld/controld_te_utils.c if(change == reason) { reason 260 daemons/controld/controld_te_utils.c reason = reason->children; reason 263 daemons/controld/controld_te_utils.c reason = first_named_child(reason, XML_DIFF_RESULT); reason 264 daemons/controld/controld_te_utils.c if(reason) { reason 265 daemons/controld/controld_te_utils.c reason = reason->children; reason 270 daemons/controld/controld_te_utils.c kind = TYPE(reason); reason 285 daemons/controld/controld_te_utils.c crm_element_value(reason, XML_ATTR_ID), op, reason 286 daemons/controld/controld_te_utils.c crm_element_value(reason, XML_NVPAIR_ATTR_NAME), reason 287 daemons/controld/controld_te_utils.c crm_element_value(reason, XML_NVPAIR_ATTR_VALUE), reason 292 daemons/controld/controld_te_utils.c const char *magic = crm_element_value(reason, XML_ATTR_TRANSITION_MAGIC); reason 297 daemons/controld/controld_te_utils.c crm_element_value(reason, XML_LRM_ATTR_TASK_KEY), op, reason 298 daemons/controld/controld_te_utils.c crm_element_value(reason, XML_LRM_ATTR_TARGET), abort_text, reason 303 daemons/controld/controld_te_utils.c const char *uname = crm_peer_uname(ID(reason)); reason 308 daemons/controld/controld_te_utils.c kind, op, (uname? uname : ID(reason)), abort_text, reason 313 daemons/controld/controld_te_utils.c const char *id = ID(reason); reason 318 daemons/controld/controld_te_utils.c TYPE(reason), (id? id : ""), (op? op : "change"), reason 50 daemons/controld/controld_transition.h const char *abort_text, xmlNode * reason, const char *fn, reason 54 daemons/controld/controld_transition.h # define abort_transition(pri, action, text, reason) \ reason 55 daemons/controld/controld_transition.h abort_transition_graph(pri, action, text, reason,__func__,__LINE__); reason 79 daemons/execd/execd_alerts.c const char *reason = services__exit_reason(action); reason 83 daemons/execd/execd_alerts.c (reason == NULL)? "" : " (", reason 84 daemons/execd/execd_alerts.c (reason == NULL)? "" : reason, reason 85 daemons/execd/execd_alerts.c (reason == NULL)? "" : ")", reason 3397 daemons/fenced/fenced_commands.c const char *reason = NULL; reason 3420 daemons/fenced/fenced_commands.c reason = request->result.exit_reason; reason 3425 daemons/fenced/fenced_commands.c (reason == NULL)? "" : " (", reason 3426 daemons/fenced/fenced_commands.c (reason == NULL)? "" : reason, reason 3427 daemons/fenced/fenced_commands.c (reason == NULL)? "" : ")"); reason 673 daemons/fenced/fenced_remote.c finalize_timed_out_op(remote_fencing_op_t *op, const char *reason) reason 690 daemons/fenced/fenced_remote.c pcmk__set_result(&op->result, CRM_EX_ERROR, PCMK_EXEC_TIMEOUT, reason); reason 2256 daemons/fenced/fenced_remote.c const char *reason = op->result.exit_reason; reason 2274 daemons/fenced/fenced_remote.c (reason == NULL)? "" : ": ", reason 2275 daemons/fenced/fenced_remote.c (reason == NULL)? "" : reason, reason 2284 daemons/fenced/fenced_remote.c (reason == NULL)? "" : " (", reason 2285 daemons/fenced/fenced_remote.c (reason == NULL)? "" : reason, reason 2286 daemons/fenced/fenced_remote.c (reason == NULL)? "" : ")"); reason 840 daemons/fenced/pacemaker-fenced.c char *reason = NULL; reason 862 daemons/fenced/pacemaker-fenced.c reason = strdup("(meta) attribute deleted from resource"); reason 885 daemons/fenced/pacemaker-fenced.c reason = crm_strdup_printf("%s %s", op, shortpath+1); reason 892 daemons/fenced/pacemaker-fenced.c crm_info("Updating device list from CIB: %s", reason); reason 897 daemons/fenced/pacemaker-fenced.c free(reason); reason 904 daemons/fenced/pacemaker-fenced.c const char *reason = "none"; reason 915 daemons/fenced/pacemaker-fenced.c reason = "new location constraint"; reason 950 daemons/fenced/pacemaker-fenced.c reason = "new resource"; reason 957 daemons/fenced/pacemaker-fenced.c crm_info("Updating device list from CIB: %s", reason); reason 311 include/crm/pengine/internal.h const char *reason, reason 500 include/crm/pengine/internal.h pe_action_t *pe_fence_op(pe_node_t * node, const char *op, bool optional, const char *reason, bool priority_delay, pe_working_set_t * data_set); reason 502 include/crm/pengine/internal.h pe_resource_t * rsc, pe_node_t *node, const char *reason, pe_action_t *dependency, pe_working_set_t * data_set); reason 505 include/crm/pengine/internal.h void pe_action_set_reason(pe_action_t *action, const char *reason, bool overwrite); reason 516 include/crm/pengine/internal.h void pe_fence_node(pe_working_set_t * data_set, pe_node_t * node, const char *reason, bool priority_delay); reason 431 include/crm/pengine/pe_types.h char *reason; reason 214 include/pacemaker.h unsigned int tolerance, int delay, char **reason); reason 51 include/pcmki/pcmki_fence.h unsigned int tolerance, int delay, char **reason); reason 206 lib/cib/cib_ops.c const char *reason = NULL; reason 219 lib/cib/cib_ops.c reason = "digest mismatch"; reason 234 lib/cib/cib_ops.c reason = XML_ATTR_GENERATION_ADMIN; reason 240 lib/cib/cib_ops.c reason = XML_ATTR_GENERATION; reason 246 lib/cib/cib_ops.c reason = XML_ATTR_NUMUPDATES; reason 249 lib/cib/cib_ops.c if (reason != NULL) { reason 253 lib/cib/cib_ops.c replace_updates, peer, admin_epoch, epoch, updates, reason); reason 580 lib/cluster/cpg.c cpgreason2str(cpg_reason_t reason) reason 582 lib/cluster/cpg.c switch (reason) { reason 656 lib/cluster/cpg.c cpgreason2str(cpg_peer->reason)); reason 664 lib/cluster/cpg.c cpg_peer->pid, cpgreason2str(cpg_peer->reason)); reason 670 lib/cluster/cpg.c cpgreason2str(cpg_peer->reason), (*rival)->pid); reason 719 lib/cluster/cpg.c joined_list[i].pid, cpgreason2str(joined_list[i].reason)); reason 537 lib/cluster/election.c const char *reason = "unknown"; reason 555 lib/cluster/election.c reason = "Not eligible"; reason 559 lib/cluster/election.c reason = "We are not part of the cluster"; reason 565 lib/cluster/election.c reason = "Superseded"; reason 570 lib/cluster/election.c reason = "Peer is not part of our cluster"; reason 592 lib/cluster/election.c reason = "Recorded"; reason 601 lib/cluster/election.c reason = "Version"; reason 605 lib/cluster/election.c reason = "Version"; reason 608 lib/cluster/election.c reason = "Uptime"; reason 612 lib/cluster/election.c reason = "Uptime"; reason 615 lib/cluster/election.c reason = "Host name"; reason 619 lib/cluster/election.c reason = "Host name"; reason 660 lib/cluster/election.c reason); reason 682 lib/cluster/election.c vote.from, reason); reason 708 lib/cluster/election.c vote.from, reason); reason 850 lib/common/results.c char *reason = NULL; reason 861 lib/common/results.c len = vasprintf(&reason, format, ap); reason 866 lib/common/results.c result->exit_reason = reason; reason 2489 lib/fencing/st_client.c const char *reason = stonith__event_exit_reason(event); reason 2510 lib/fencing/st_client.c ((reason == NULL)? "" : " ("), reason 2511 lib/fencing/st_client.c ((reason == NULL)? "" : reason), reason 2512 lib/fencing/st_client.c ((reason == NULL)? "" : ")"), reason 183 lib/pacemaker/pcmk_fence.c unsigned int tolerance, int delay, char **reason) reason 206 lib/pacemaker/pcmk_fence.c if (reason != NULL) { reason 208 lib/pacemaker/pcmk_fence.c *reason = async_fence_data.result.exit_reason; reason 220 lib/pacemaker/pcmk_fence.c unsigned int tolerance, int delay, char **reason) reason 223 lib/pacemaker/pcmk_fence.c delay, reason); reason 124 lib/pacemaker/pcmk_output.c char *reason = NULL; reason 204 lib/pacemaker/pcmk_output.c if(source->reason && !pcmk_is_set(action->flags, pe_action_runnable)) { reason 205 lib/pacemaker/pcmk_output.c reason = crm_strdup_printf("due to %s (blocked)", source->reason); reason 207 lib/pacemaker/pcmk_output.c } else if(source->reason) { reason 208 lib/pacemaker/pcmk_output.c reason = crm_strdup_printf("due to %s", source->reason); reason 211 lib/pacemaker/pcmk_output.c reason = strdup("blocked"); reason 216 lib/pacemaker/pcmk_output.c rsc->id, detail_width, details, reason ? " " : "", reason ? reason : ""); reason 219 lib/pacemaker/pcmk_output.c free(reason); reason 337 lib/pacemaker/pcmk_output.c if (source->reason && !pcmk_is_set(action->flags, pe_action_runnable)) { reason 339 lib/pacemaker/pcmk_output.c "reason", source->reason, reason 343 lib/pacemaker/pcmk_output.c } else if(source->reason) { reason 344 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "reason", source->reason); reason 977 lib/pacemaker/pcmk_output.c NULL, stop, (stop && stop->reason)? stop : start); reason 1021 lib/pacemaker/pcmk_output.c stop_op, (stop_op && stop_op->reason)? stop_op : start) == pcmk_rc_ok) { reason 1073 lib/pacemaker/pcmk_output.c char *reason = va_arg(args, char *); reason 1077 lib/pacemaker/pcmk_output.c } else if (reason) { reason 1078 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s %s '%s'", task, node_name, reason); reason 1092 lib/pacemaker/pcmk_output.c char *reason = va_arg(args, char *); reason 1096 lib/pacemaker/pcmk_output.c } else if (reason) { reason 1100 lib/pacemaker/pcmk_output.c "reason", reason, reason 1204 lib/pacemaker/pcmk_sched_actions.c out->message(out, "node-action", task, node_name, action->reason); reason 1231 lib/pacemaker/pcmk_sched_actions.c guint interval_ms, pe_node_t *node, const char *reason) reason 1236 lib/pacemaker/pcmk_sched_actions.c && (node != NULL) && (reason != NULL), reason 1241 lib/pacemaker/pcmk_sched_actions.c crm_str(node->details->uname), reason); reason 46 lib/pacemaker/pcmk_sched_allocate.c const char *reason = NULL; reason 54 lib/pacemaker/pcmk_sched_allocate.c reason = "action definition changed"; reason 69 lib/pacemaker/pcmk_sched_allocate.c reason = "resource parameters have changed"; reason 74 lib/pacemaker/pcmk_sched_allocate.c if (reason != NULL) { reason 75 lib/pacemaker/pcmk_sched_allocate.c pe__clear_failcount(rsc, node, reason, data_set); reason 750 lib/pacemaker/pcmk_sched_colocation.c mark_start_blocked(pe_resource_t *rsc, pe_resource_t *reason, reason 753 lib/pacemaker/pcmk_sched_colocation.c char *reason_text = crm_strdup_printf("colocation with %s", reason->id); reason 333 lib/pacemaker/pcmk_sched_fencing.c char *reason = crm_strdup_printf("required by %s %s", reason 336 lib/pacemaker/pcmk_sched_fencing.c trigger_unfencing(NULL, node, reason, NULL, data_set); reason 337 lib/pacemaker/pcmk_sched_fencing.c free(reason); reason 584 lib/pacemaker/pcmk_sched_native.c const char *reason = NULL; reason 590 lib/pacemaker/pcmk_sched_native.c reason = "inactive"; reason 592 lib/pacemaker/pcmk_sched_native.c reason = "promoted"; reason 594 lib/pacemaker/pcmk_sched_native.c reason = "failed"; reason 596 lib/pacemaker/pcmk_sched_native.c reason = "active"; reason 599 lib/pacemaker/pcmk_sched_native.c (assign_to? assign_to->details->uname : "no node"), reason); reason 1762 lib/pacemaker/pcmk_sched_native.c #define clear_action_flag_because(action, flag, reason) do { \ reason 1765 lib/pacemaker/pcmk_sched_native.c if ((action)->rsc != (reason)->rsc) { \ reason 1766 lib/pacemaker/pcmk_sched_native.c char *reason_text = pe__action2reason((reason), (flag)); \ reason 1789 lib/pacemaker/pcmk_sched_native.c const char *reason = NULL; reason 1799 lib/pacemaker/pcmk_sched_native.c reason = "restart"; reason 1809 lib/pacemaker/pcmk_sched_native.c reason = "stop"; reason 1812 lib/pacemaker/pcmk_sched_native.c if (reason == NULL) { reason 1817 lib/pacemaker/pcmk_sched_native.c first->uuid, then->uuid, reason); reason 602 lib/pacemaker/pcmk_sched_resource.c const char *reason = NULL; reason 605 lib/pacemaker/pcmk_sched_resource.c reason = "priority"; reason 618 lib/pacemaker/pcmk_sched_resource.c reason = "no node list"; reason 636 lib/pacemaker/pcmk_sched_resource.c reason = "current location"; reason 655 lib/pacemaker/pcmk_sched_resource.c reason = "score"; reason 680 lib/pacemaker/pcmk_sched_resource.c reason); reason 367 lib/pengine/failcounts.c const char *reason, pe_working_set_t *data_set) reason 372 lib/pengine/failcounts.c CRM_CHECK(rsc && node && reason && data_set, return NULL); reason 379 lib/pengine/failcounts.c rsc->id, node->details->uname, reason, clear->uuid); reason 96 lib/pengine/unpack.c const char *reason, bool priority_delay) reason 109 lib/pengine/unpack.c node->details->uname, reason, rsc->id); reason 113 lib/pengine/unpack.c node->details->uname, rsc->id, reason); reason 128 lib/pengine/unpack.c node->details->uname, reason); reason 138 lib/pengine/unpack.c node->details->uname, reason); reason 144 lib/pengine/unpack.c reason); reason 148 lib/pengine/unpack.c pe_fence_op(node, NULL, TRUE, reason, FALSE, data_set); reason 154 lib/pengine/unpack.c reason); reason 160 lib/pengine/unpack.c reason); reason 162 lib/pengine/unpack.c pe_fence_op(node, NULL, TRUE, reason, priority_delay, data_set); reason 1957 lib/pengine/unpack.c char *reason = NULL; reason 2016 lib/pengine/unpack.c reason = crm_strdup_printf("%s is active there (fencing will be" reason 2025 lib/pengine/unpack.c if (reason == NULL) { reason 2026 lib/pengine/unpack.c reason = crm_strdup_printf("%s is thought to be active there", rsc->id); reason 2028 lib/pengine/unpack.c pe_fence_node(data_set, node, reason, FALSE); reason 2030 lib/pengine/unpack.c free(reason); reason 2057 lib/pengine/unpack.c reason = crm_strdup_printf("%s failed there", rsc->id); reason 2058 lib/pengine/unpack.c pe_fence_node(data_set, node, reason, FALSE); reason 2059 lib/pengine/unpack.c free(reason); reason 1476 lib/pengine/utils.c free(action->reason); reason 2136 lib/pengine/utils.c pe_fence_op(pe_node_t * node, const char *op, bool optional, const char *reason, reason 2234 lib/pengine/utils.c pe_action_set_reason(stonith_op, reason, false); reason 2236 lib/pengine/utils.c } else if(reason && stonith_op->reason == NULL) { reason 2237 lib/pengine/utils.c stonith_op->reason = strdup(reason); reason 2245 lib/pengine/utils.c pe_resource_t * rsc, pe_node_t *node, const char *reason, pe_action_t *dependency, pe_working_set_t * data_set) reason 2260 lib/pengine/utils.c pe_action_t *unfence = pe_fence_op(node, "on", FALSE, reason, FALSE, data_set); reason 2272 lib/pengine/utils.c trigger_unfencing(rsc, node, reason, dependency, data_set); reason 2349 lib/pengine/utils.c void pe_action_set_reason(pe_action_t *action, const char *reason, bool overwrite) reason 2351 lib/pengine/utils.c if (action->reason != NULL && overwrite) { reason 2353 lib/pengine/utils.c action->uuid, action->reason, crm_str(reason)); reason 2354 lib/pengine/utils.c } else if (action->reason == NULL) { reason 2356 lib/pengine/utils.c action->uuid, crm_str(reason)); reason 2362 lib/pengine/utils.c pcmk__str_update(&action->reason, reason); reason 1272 lib/services/services.c enum pcmk_exec_status exec_status, const char *reason) reason 1281 lib/services/services.c if (!pcmk__str_eq(action->opaque->exit_reason, reason, reason 1284 lib/services/services.c action->opaque->exit_reason = (reason == NULL)? NULL : strdup(reason); reason 1306 lib/services/services.c char *reason = NULL; reason 1317 lib/services/services.c len = vasprintf(&reason, format, ap); reason 1322 lib/services/services.c action->opaque->exit_reason = reason; reason 63 maint/gnulib/tests/test-poll.c failed (const char *reason) reason 67 maint/gnulib/tests/test-poll.c printf ("failed (%s)\n", reason); reason 52 maint/gnulib/tests/test-select.h failed (const char *reason) reason 56 maint/gnulib/tests/test-select.h printf ("failed (%s)\n", reason); reason 339 tools/stonith_admin.c char *reason = NULL; reason 343 tools/stonith_admin.c options.delay, &reason); reason 350 tools/stonith_admin.c if (pcmk__str_eq(rc_str, reason, pcmk__str_none)) { reason 351 tools/stonith_admin.c free(reason); reason 352 tools/stonith_admin.c reason = NULL; reason 358 tools/stonith_admin.c ((reason == NULL)? "" : " ("), reason 359 tools/stonith_admin.c ((reason == NULL)? "" : reason), reason 360 tools/stonith_admin.c ((reason == NULL)? "" : ")")); reason 362 tools/stonith_admin.c free(reason);