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 309 include/crm/pengine/internal.h const char *reason, reason 498 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 500 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 502 include/crm/pengine/internal.h void pe_action_set_reason(pe_action_t *action, const char *reason, bool overwrite); reason 503 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 505 include/crm/pengine/internal.h #define pe_action_required(action, reason, text) \ reason 506 include/crm/pengine/internal.h pe_action_set_flag_reason(__func__, __LINE__, action, reason, text, \ reason 508 include/crm/pengine/internal.h #define pe_action_implies(action, reason, flag) \ reason 509 include/crm/pengine/internal.h pe_action_set_flag_reason(__func__, __LINE__, action, reason, NULL, \ reason 521 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 418 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 120 lib/pacemaker/pcmk_output.c char *reason = NULL; reason 200 lib/pacemaker/pcmk_output.c if(source->reason && !pcmk_is_set(action->flags, pe_action_runnable)) { reason 201 lib/pacemaker/pcmk_output.c reason = crm_strdup_printf("due to %s (blocked)", source->reason); reason 203 lib/pacemaker/pcmk_output.c } else if(source->reason) { reason 204 lib/pacemaker/pcmk_output.c reason = crm_strdup_printf("due to %s", source->reason); reason 207 lib/pacemaker/pcmk_output.c reason = strdup("blocked"); reason 212 lib/pacemaker/pcmk_output.c rsc->id, detail_width, details, reason ? " " : "", reason ? reason : ""); reason 215 lib/pacemaker/pcmk_output.c free(reason); reason 333 lib/pacemaker/pcmk_output.c if (source->reason && !pcmk_is_set(action->flags, pe_action_runnable)) { reason 335 lib/pacemaker/pcmk_output.c "reason", source->reason, reason 339 lib/pacemaker/pcmk_output.c } else if(source->reason) { reason 340 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "reason", source->reason); reason 934 lib/pacemaker/pcmk_output.c NULL, stop, (stop && stop->reason)? stop : start); reason 978 lib/pacemaker/pcmk_output.c stop_op, (stop_op && stop_op->reason)? stop_op : start) == pcmk_rc_ok) { reason 1030 lib/pacemaker/pcmk_output.c char *reason = va_arg(args, char *); reason 1034 lib/pacemaker/pcmk_output.c } else if (reason) { reason 1035 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s %s '%s'", task, node_name, reason); reason 1049 lib/pacemaker/pcmk_output.c char *reason = va_arg(args, char *); reason 1053 lib/pacemaker/pcmk_output.c } else if (reason) { reason 1057 lib/pacemaker/pcmk_output.c "reason", reason, reason 170 lib/pacemaker/pcmk_sched_allocate.c const char *reason, pe_working_set_t * data_set) reason 187 lib/pacemaker/pcmk_sched_allocate.c active_node->details->uname, (reason? reason : "unknown")); reason 333 lib/pacemaker/pcmk_sched_allocate.c const char *reason = NULL; reason 342 lib/pacemaker/pcmk_sched_allocate.c reason = "action definition changed"; reason 356 lib/pacemaker/pcmk_sched_allocate.c reason = "resource parameters have changed"; reason 362 lib/pacemaker/pcmk_sched_allocate.c if (reason) { reason 363 lib/pacemaker/pcmk_sched_allocate.c pe__clear_failcount(rsc, node, reason, data_set); reason 1139 lib/pacemaker/pcmk_sched_allocate.c const char *reason = "existence"; reason 1151 lib/pacemaker/pcmk_sched_allocate.c reason = "priority"; reason 1165 lib/pacemaker/pcmk_sched_allocate.c reason = "no node list"; reason 1183 lib/pacemaker/pcmk_sched_allocate.c reason = "current location"; reason 1212 lib/pacemaker/pcmk_sched_allocate.c reason = "score"; reason 1250 lib/pacemaker/pcmk_sched_allocate.c resource2->id, r2_weight, r2_node ? r2_node->details->id : "n/a", reason); reason 3058 lib/pacemaker/pcmk_sched_allocate.c out->message(out, "node-action", task, node_name, action->reason); reason 461 lib/pacemaker/pcmk_sched_graph.c mark_start_blocked(pe_resource_t *rsc, pe_resource_t *reason, reason 465 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 2073 lib/pacemaker/pcmk_sched_native.c const char *reason = NULL; reason 2083 lib/pacemaker/pcmk_sched_native.c reason = "restart"; reason 2093 lib/pacemaker/pcmk_sched_native.c reason = "stop"; reason 2096 lib/pacemaker/pcmk_sched_native.c if (reason == NULL) { reason 2101 lib/pacemaker/pcmk_sched_native.c first->uuid, then->uuid, reason); reason 2501 lib/pacemaker/pcmk_sched_native.c char *reason = crm_strdup_printf("required by %s %s", reason 2504 lib/pacemaker/pcmk_sched_native.c trigger_unfencing(NULL, node, reason, NULL, data_set); reason 2505 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 1363 lib/pengine/utils.c free(action->reason); reason 2041 lib/pengine/utils.c pe_fence_op(pe_node_t * node, const char *op, bool optional, const char *reason, reason 2140 lib/pengine/utils.c pe_action_required(stonith_op, NULL, reason); reason 2141 lib/pengine/utils.c } else if(reason && stonith_op->reason == NULL) { reason 2142 lib/pengine/utils.c stonith_op->reason = strdup(reason); reason 2150 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 2165 lib/pengine/utils.c pe_action_t *unfence = pe_fence_op(node, "on", FALSE, reason, FALSE, data_set); reason 2177 lib/pengine/utils.c trigger_unfencing(rsc, node, reason, dependency, data_set); reason 2221 lib/pengine/utils.c pe_action_t *action, pe_action_t *reason, const char *text, reason 2244 lib/pengine/utils.c flags, action->uuid, (reason? reason->uuid : "0")); reason 2262 lib/pengine/utils.c if(reason == NULL) { reason 2265 lib/pengine/utils.c } else if(reason->rsc == NULL) { reason 2266 lib/pengine/utils.c reason_text = crm_strdup_printf("%s %s%c %s", change, reason->task, text?':':0, text?text:""); reason 2268 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 2271 lib/pengine/utils.c if(reason_text && action->rsc != reason->rsc) { reason 2278 lib/pengine/utils.c void pe_action_set_reason(pe_action_t *action, const char *reason, bool overwrite) reason 2280 lib/pengine/utils.c if (action->reason != NULL && overwrite) { reason 2282 lib/pengine/utils.c action->uuid, action->reason, crm_str(reason)); reason 2283 lib/pengine/utils.c free(action->reason); reason 2284 lib/pengine/utils.c } else if (action->reason == NULL) { reason 2286 lib/pengine/utils.c action->uuid, crm_str(reason)); reason 2292 lib/pengine/utils.c if (reason != NULL) { reason 2293 lib/pengine/utils.c action->reason = strdup(reason); reason 2295 lib/pengine/utils.c action->reason = NULL;