reason 1396 daemons/based/based_callbacks.c const char *reason = NULL; reason 1409 daemons/based/based_callbacks.c reason = "membership not established"; reason 1422 daemons/based/based_callbacks.c if (reason) { reason 1426 daemons/based/based_callbacks.c crm_warn("Discarding %s message (%s) from %s: %s", op, seq, originator, reason); reason 248 daemons/controld/controld_fencing.c const char *target, xmlNode *reason) reason 256 daemons/controld/controld_fencing.c abort_transition(INFINITY, abort_action, "Stonith failed", reason); reason 307 daemons/controld/controld_te_callbacks.c const char *reason) reason 313 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, reason, change); reason 320 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, reason, change); reason 327 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, reason, change); reason 140 daemons/controld/controld_te_utils.c const char *abort_text, xmlNode * reason, const char *fn, int line) reason 174 daemons/controld/controld_te_utils.c if(reason) { reason 177 daemons/controld/controld_te_utils.c for(search = reason; search; search = search->parent) { reason 186 daemons/controld/controld_te_utils.c for(search = reason; search; search = search->parent) { reason 195 daemons/controld/controld_te_utils.c if(reason == NULL) { reason 201 daemons/controld/controld_te_utils.c char *local_path = xml_get_path(reason); reason 205 daemons/controld/controld_te_utils.c transition_graph->id, TYPE(reason), ID(reason), abort_text, reason 215 daemons/controld/controld_te_utils.c if(change == reason) { reason 217 daemons/controld/controld_te_utils.c reason = reason->children; reason 220 daemons/controld/controld_te_utils.c reason = first_named_child(reason, XML_DIFF_RESULT); reason 221 daemons/controld/controld_te_utils.c if(reason) { reason 222 daemons/controld/controld_te_utils.c reason = reason->children; reason 227 daemons/controld/controld_te_utils.c kind = TYPE(reason); reason 242 daemons/controld/controld_te_utils.c crm_element_value(reason, XML_ATTR_ID), op, reason 243 daemons/controld/controld_te_utils.c crm_element_value(reason, XML_NVPAIR_ATTR_NAME), reason 244 daemons/controld/controld_te_utils.c crm_element_value(reason, XML_NVPAIR_ATTR_VALUE), reason 249 daemons/controld/controld_te_utils.c const char *magic = crm_element_value(reason, XML_ATTR_TRANSITION_MAGIC); reason 254 daemons/controld/controld_te_utils.c crm_element_value(reason, XML_LRM_ATTR_TASK_KEY), op, reason 255 daemons/controld/controld_te_utils.c crm_element_value(reason, XML_LRM_ATTR_TARGET), abort_text, reason 260 daemons/controld/controld_te_utils.c const char *uname = crm_peer_uname(ID(reason)); reason 265 daemons/controld/controld_te_utils.c kind, op, (uname? uname : ID(reason)), abort_text, reason 270 daemons/controld/controld_te_utils.c const char *id = ID(reason); reason 275 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 794 daemons/fenced/pacemaker-fenced.c char *reason = NULL; reason 816 daemons/fenced/pacemaker-fenced.c reason = strdup("(meta) attribute deleted from resource"); reason 837 daemons/fenced/pacemaker-fenced.c reason = crm_strdup_printf("%s %s", op, shortpath+1); reason 844 daemons/fenced/pacemaker-fenced.c crm_info("Updating device list from CIB: %s", reason); reason 849 daemons/fenced/pacemaker-fenced.c free(reason); reason 856 daemons/fenced/pacemaker-fenced.c const char *reason = "none"; reason 867 daemons/fenced/pacemaker-fenced.c reason = "new location constraint"; reason 902 daemons/fenced/pacemaker-fenced.c reason = "new resource"; reason 909 daemons/fenced/pacemaker-fenced.c crm_info("Updating device list from CIB: %s", reason); reason 327 include/crm/pengine/internal.h const char *reason, reason 516 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 518 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 520 include/crm/pengine/internal.h void pe_action_set_reason(pe_action_t *action, const char *reason, bool overwrite); reason 521 include/crm/pengine/internal.h void pe_action_set_flag_reason(const char *function, long line, pe_action_t *action, pe_action_t *reason, const char *text, enum pe_action_flags flags, bool overwrite); reason 523 include/crm/pengine/internal.h #define pe_action_required(action, reason, text) \ reason 524 include/crm/pengine/internal.h pe_action_set_flag_reason(__func__, __LINE__, action, reason, text, \ reason 526 include/crm/pengine/internal.h #define pe_action_implies(action, reason, flag) \ reason 527 include/crm/pengine/internal.h pe_action_set_flag_reason(__func__, __LINE__, action, reason, NULL, \ reason 539 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 416 include/crm/pengine/pe_types.h 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 583 lib/cluster/cpg.c cpgreason2str(cpg_reason_t reason) reason 585 lib/cluster/cpg.c switch (reason) { reason 682 lib/cluster/cpg.c cpgreason2str(left_list[i].reason)); reason 690 lib/cluster/cpg.c left_list[i].pid, cpgreason2str(left_list[i].reason)); reason 696 lib/cluster/cpg.c cpgreason2str(left_list[i].reason), (*rival)->pid); reason 705 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 119 lib/pacemaker/pcmk_output.c char *reason = NULL; reason 199 lib/pacemaker/pcmk_output.c if(source->reason && !pcmk_is_set(action->flags, pe_action_runnable)) { reason 200 lib/pacemaker/pcmk_output.c reason = crm_strdup_printf("due to %s (blocked)", source->reason); reason 202 lib/pacemaker/pcmk_output.c } else if(source->reason) { reason 203 lib/pacemaker/pcmk_output.c reason = crm_strdup_printf("due to %s", source->reason); reason 206 lib/pacemaker/pcmk_output.c reason = strdup("blocked"); reason 211 lib/pacemaker/pcmk_output.c rsc->id, detail_width, details, reason ? " " : "", reason ? reason : ""); reason 214 lib/pacemaker/pcmk_output.c free(reason); reason 332 lib/pacemaker/pcmk_output.c if (source->reason && !pcmk_is_set(action->flags, pe_action_runnable)) { reason 334 lib/pacemaker/pcmk_output.c "reason", source->reason, reason 338 lib/pacemaker/pcmk_output.c } else if(source->reason) { reason 339 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "reason", source->reason); reason 933 lib/pacemaker/pcmk_output.c NULL, stop, (stop && stop->reason)? stop : start); reason 977 lib/pacemaker/pcmk_output.c stop_op, (stop_op && stop_op->reason)? stop_op : start) == pcmk_rc_ok) { reason 1029 lib/pacemaker/pcmk_output.c char *reason = va_arg(args, char *); reason 1033 lib/pacemaker/pcmk_output.c } else if (reason) { reason 1034 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s %s '%s'", task, node_name, reason); reason 1048 lib/pacemaker/pcmk_output.c char *reason = va_arg(args, char *); reason 1052 lib/pacemaker/pcmk_output.c } else if (reason) { reason 1056 lib/pacemaker/pcmk_output.c "reason", reason, reason 198 lib/pacemaker/pcmk_sched_allocate.c const char *reason, pe_working_set_t * data_set) reason 215 lib/pacemaker/pcmk_sched_allocate.c active_node->details->uname, (reason? reason : "unknown")); reason 361 lib/pacemaker/pcmk_sched_allocate.c const char *reason = NULL; reason 370 lib/pacemaker/pcmk_sched_allocate.c reason = "action definition changed"; reason 384 lib/pacemaker/pcmk_sched_allocate.c reason = "resource parameters have changed"; reason 390 lib/pacemaker/pcmk_sched_allocate.c if (reason) { reason 391 lib/pacemaker/pcmk_sched_allocate.c pe__clear_failcount(rsc, node, reason, data_set); reason 1167 lib/pacemaker/pcmk_sched_allocate.c const char *reason = "existence"; reason 1179 lib/pacemaker/pcmk_sched_allocate.c reason = "priority"; reason 1193 lib/pacemaker/pcmk_sched_allocate.c reason = "no node list"; reason 1211 lib/pacemaker/pcmk_sched_allocate.c reason = "current location"; reason 1240 lib/pacemaker/pcmk_sched_allocate.c reason = "score"; reason 1278 lib/pacemaker/pcmk_sched_allocate.c resource2->id, r2_weight, r2_node ? r2_node->details->id : "n/a", reason); reason 3088 lib/pacemaker/pcmk_sched_allocate.c out->message(out, "node-action", task, node_name, action->reason); reason 456 lib/pacemaker/pcmk_sched_graph.c mark_start_blocked(pe_resource_t *rsc, pe_resource_t *reason, reason 460 lib/pacemaker/pcmk_sched_graph.c char *reason_text = crm_strdup_printf("colocation with %s", reason->id); reason 597 lib/pacemaker/pcmk_sched_native.c const char *reason = NULL; reason 603 lib/pacemaker/pcmk_sched_native.c reason = "inactive"; reason 605 lib/pacemaker/pcmk_sched_native.c reason = "promoted"; reason 607 lib/pacemaker/pcmk_sched_native.c reason = "failed"; reason 609 lib/pacemaker/pcmk_sched_native.c reason = "active"; reason 612 lib/pacemaker/pcmk_sched_native.c (assign_to? assign_to->details->uname : "no node"), reason); reason 2080 lib/pacemaker/pcmk_sched_native.c const char *reason = NULL; reason 2090 lib/pacemaker/pcmk_sched_native.c reason = "restart"; reason 2100 lib/pacemaker/pcmk_sched_native.c reason = "stop"; reason 2103 lib/pacemaker/pcmk_sched_native.c if (reason == NULL) { reason 2108 lib/pacemaker/pcmk_sched_native.c first->uuid, then->uuid, reason); reason 2503 lib/pacemaker/pcmk_sched_native.c char *reason = crm_strdup_printf("required by %s %s", reason 2506 lib/pacemaker/pcmk_sched_native.c trigger_unfencing(NULL, node, reason, NULL, data_set); reason 2507 lib/pacemaker/pcmk_sched_native.c free(reason); reason 365 lib/pengine/failcounts.c const char *reason, pe_working_set_t *data_set) reason 370 lib/pengine/failcounts.c CRM_CHECK(rsc && node && reason && data_set, return NULL); reason 377 lib/pengine/failcounts.c rsc->id, node->details->uname, reason, clear->uuid); reason 98 lib/pengine/unpack.c const char *reason, bool priority_delay) reason 111 lib/pengine/unpack.c node->details->uname, reason, rsc->id); reason 115 lib/pengine/unpack.c node->details->uname, rsc->id, reason); reason 130 lib/pengine/unpack.c node->details->uname, reason); reason 140 lib/pengine/unpack.c node->details->uname, reason); reason 146 lib/pengine/unpack.c reason); reason 150 lib/pengine/unpack.c pe_fence_op(node, NULL, TRUE, reason, FALSE, data_set); reason 156 lib/pengine/unpack.c reason); reason 162 lib/pengine/unpack.c reason); reason 164 lib/pengine/unpack.c pe_fence_op(node, NULL, TRUE, reason, priority_delay, data_set); reason 1954 lib/pengine/unpack.c char *reason = NULL; reason 2010 lib/pengine/unpack.c reason = crm_strdup_printf("%s is active there (fencing will be" reason 2019 lib/pengine/unpack.c if (reason == NULL) { reason 2020 lib/pengine/unpack.c reason = crm_strdup_printf("%s is thought to be active there", rsc->id); reason 2022 lib/pengine/unpack.c pe_fence_node(data_set, node, reason, FALSE); reason 2024 lib/pengine/unpack.c free(reason); reason 2051 lib/pengine/unpack.c reason = crm_strdup_printf("%s failed there", rsc->id); reason 2052 lib/pengine/unpack.c pe_fence_node(data_set, node, reason, FALSE); reason 2053 lib/pengine/unpack.c free(reason); reason 1357 lib/pengine/utils.c free(action->reason); reason 2035 lib/pengine/utils.c pe_fence_op(pe_node_t * node, const char *op, bool optional, const char *reason, reason 2134 lib/pengine/utils.c pe_action_required(stonith_op, NULL, reason); reason 2135 lib/pengine/utils.c } else if(reason && stonith_op->reason == NULL) { reason 2136 lib/pengine/utils.c stonith_op->reason = strdup(reason); reason 2144 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 2159 lib/pengine/utils.c pe_action_t *unfence = pe_fence_op(node, "on", FALSE, reason, FALSE, data_set); reason 2171 lib/pengine/utils.c trigger_unfencing(rsc, node, reason, dependency, data_set); reason 2215 lib/pengine/utils.c pe_action_t *action, pe_action_t *reason, const char *text, reason 2238 lib/pengine/utils.c flags, action->uuid, (reason? reason->uuid : "0")); reason 2256 lib/pengine/utils.c if(reason == NULL) { reason 2259 lib/pengine/utils.c } else if(reason->rsc == NULL) { reason 2260 lib/pengine/utils.c reason_text = crm_strdup_printf("%s %s%c %s", change, reason->task, text?':':0, text?text:""); reason 2262 lib/pengine/utils.c reason_text = crm_strdup_printf("%s %s %s%c %s", change, reason->rsc->id, reason->task, text?':':0, text?text:"NA"); reason 2265 lib/pengine/utils.c if(reason_text && action->rsc != reason->rsc) { reason 2272 lib/pengine/utils.c void pe_action_set_reason(pe_action_t *action, const char *reason, bool overwrite) reason 2274 lib/pengine/utils.c if (action->reason != NULL && overwrite) { reason 2276 lib/pengine/utils.c action->uuid, action->reason, crm_str(reason)); reason 2277 lib/pengine/utils.c free(action->reason); reason 2278 lib/pengine/utils.c } else if (action->reason == NULL) { reason 2280 lib/pengine/utils.c action->uuid, crm_str(reason)); reason 2286 lib/pengine/utils.c if (reason != NULL) { reason 2287 lib/pengine/utils.c action->reason = strdup(reason); reason 2289 lib/pengine/utils.c action->reason = NULL;