reason 1443 cib/callbacks.c const char *reason = NULL; reason 1456 cib/callbacks.c reason = "membership not established"; reason 1469 cib/callbacks.c if (reason) { reason 1473 cib/callbacks.c crm_warn("Discarding %s message (%s) from %s: %s", op, seq, originator, reason); reason 107 crmd/crmd_utils.h const char *target, xmlNode *reason); reason 45 crmd/te_actions.c action->timer->reason = timeout_action; reason 337 crmd/te_callbacks.c const char *reason) reason 343 crmd/te_callbacks.c abort_transition(INFINITY, tg_restart, reason, change); reason 350 crmd/te_callbacks.c abort_transition(INFINITY, tg_restart, reason, change); reason 357 crmd/te_callbacks.c abort_transition(INFINITY, tg_restart, reason, change); reason 737 crmd/te_callbacks.c const char *target, xmlNode *reason) reason 745 crmd/te_callbacks.c abort_transition(INFINITY, abort_action, "Stonith failed", reason); reason 893 crmd/te_callbacks.c } else if (timer->reason == timeout_action_warn) { reason 450 crmd/te_utils.c if (timer->reason == timeout_abort) { reason 535 crmd/te_utils.c const char *abort_text, xmlNode * reason, const char *fn, int line) reason 570 crmd/te_utils.c if(reason) { reason 573 crmd/te_utils.c for(search = reason; search; search = search->parent) { reason 582 crmd/te_utils.c for(search = reason; search; search = search->parent) { reason 591 crmd/te_utils.c if(reason == NULL) { reason 597 crmd/te_utils.c char *local_path = xml_get_path(reason); reason 601 crmd/te_utils.c TYPE(reason), ID(reason), abort_text, reason 611 crmd/te_utils.c if(change == reason) { reason 613 crmd/te_utils.c reason = reason->children; reason 616 crmd/te_utils.c reason = first_named_child(reason, XML_DIFF_RESULT); reason 617 crmd/te_utils.c if(reason) { reason 618 crmd/te_utils.c reason = reason->children; reason 623 crmd/te_utils.c kind = TYPE(reason); reason 636 crmd/te_utils.c crm_element_value(reason, XML_ATTR_ID), op, reason 637 crmd/te_utils.c crm_element_value(reason, XML_NVPAIR_ATTR_NAME), reason 638 crmd/te_utils.c crm_element_value(reason, XML_NVPAIR_ATTR_VALUE), reason 643 crmd/te_utils.c const char *magic = crm_element_value(reason, XML_ATTR_TRANSITION_MAGIC); reason 647 crmd/te_utils.c crm_element_value(reason, XML_LRM_ATTR_TASK_KEY), op, reason 648 crmd/te_utils.c crm_element_value(reason, XML_LRM_ATTR_TARGET), abort_text, reason 654 crmd/te_utils.c const char *uname = crm_peer_uname(ID(reason)); reason 658 crmd/te_utils.c kind, op, (uname? uname : ID(reason)), abort_text, reason 665 crmd/te_utils.c TYPE(reason), ID(reason), (op? op : "change"), abort_text, reason 63 crmd/tengine.h const char *abort_text, xmlNode * reason, const char *fn, reason 67 crmd/tengine.h # define abort_transition(pri, action, text, reason) \ reason 68 crmd/tengine.h abort_transition_graph(pri, action, text, reason,__FUNCTION__,__LINE__); reason 749 fencing/main.c char *reason = NULL; reason 786 fencing/main.c reason = crm_strdup_printf("%s %s", op, shortpath+1); reason 792 fencing/main.c reason = crm_strdup_printf("%s %s", op, shortpath+1); reason 799 fencing/main.c crm_info("Updating device list from the cib: %s", reason); reason 804 fencing/main.c free(reason); reason 811 fencing/main.c const char *reason = "none"; reason 822 fencing/main.c reason = "new location constraint"; reason 857 fencing/main.c reason = "new resource"; reason 864 fencing/main.c crm_info("Updating device list from the cib: %s", reason); reason 299 include/crm/pengine/internal.h action_t *pe_fence_op(node_t * node, const char *op, bool optional, const char *reason, pe_working_set_t * data_set); reason 301 include/crm/pengine/internal.h resource_t * rsc, node_t *node, const char *reason, action_t *dependency, pe_working_set_t * data_set); reason 303 include/crm/pengine/internal.h void pe_action_set_reason(pe_action_t *action, const char *reason, bool overwrite); reason 304 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 306 include/crm/pengine/internal.h #define pe_action_required(action, reason, text) pe_action_set_flag_reason(__FUNCTION__, __LINE__, action, reason, text, pe_action_optional, FALSE) reason 307 include/crm/pengine/internal.h #define pe_action_implies(action, reason, flag) pe_action_set_flag_reason(__FUNCTION__, __LINE__, action, reason, NULL, flag, FALSE) reason 316 include/crm/pengine/internal.h void pe_fence_node(pe_working_set_t * data_set, node_t * node, const char *reason); reason 386 include/crm/pengine/status.h char *reason; reason 80 include/crm/transition.h enum timer_reason reason; /* @COMPAT: unused, API backward compatibility */ reason 1458 lib/ais/plugin.c const char *reason = "unknown"; reason 1538 lib/ais/plugin.c reason = "ipc delivery failed"; reason 1544 lib/ais/plugin.c reason = "cluster delivery failed"; reason 1550 lib/ais/plugin.c ais_dest(&(mutable->host)), msg_type2text(dest), reason, rc); reason 214 lib/cib/cib_ops.c const char *reason = NULL; reason 227 lib/cib/cib_ops.c reason = "digest mismatch"; reason 242 lib/cib/cib_ops.c reason = XML_ATTR_GENERATION_ADMIN; reason 248 lib/cib/cib_ops.c reason = XML_ATTR_GENERATION; reason 254 lib/cib/cib_ops.c reason = XML_ATTR_NUMUPDATES; reason 257 lib/cib/cib_ops.c if (reason != NULL) { reason 261 lib/cib/cib_ops.c replace_updates, peer, admin_epoch, epoch, updates, reason); reason 314 lib/cluster/election.c const char *reason = "unknown"; reason 360 lib/cluster/election.c reason = "Not eligible"; reason 364 lib/cluster/election.c reason = "We are not part of the cluster"; reason 370 lib/cluster/election.c reason = "Superseded"; reason 375 lib/cluster/election.c reason = "Peer is not part of our cluster"; reason 387 lib/cluster/election.c reason = "Recorded"; reason 411 lib/cluster/election.c reason = "Recorded"; reason 415 lib/cluster/election.c reason = "Version"; reason 419 lib/cluster/election.c reason = "Version"; reason 422 lib/cluster/election.c reason = "Uptime"; reason 426 lib/cluster/election.c reason = "Uptime"; reason 430 lib/cluster/election.c reason = "Born"; reason 434 lib/cluster/election.c reason = "Born"; reason 437 lib/cluster/election.c reason = "Unknown host name"; reason 441 lib/cluster/election.c reason = "Host name"; reason 445 lib/cluster/election.c reason = "Host name"; reason 476 lib/cluster/election.c election_id, e->count, election_owner, op, from, reason); reason 481 lib/cluster/election.c election_id, election_owner, op, from, reason); reason 502 lib/cluster/election.c election_id, election_owner, op, from, reason); reason 354 lib/cluster/legacy.c cman_event_callback(cman_handle_t handle, void *privdata, int reason, int arg) reason 363 lib/cluster/legacy.c switch (reason) { reason 77 lib/pengine/unpack.c pe_fence_node(pe_working_set_t * data_set, node_t * node, const char *reason) reason 90 lib/pengine/unpack.c node->details->uname, reason, rsc->id); reason 94 lib/pengine/unpack.c node->details->uname, rsc->id, reason); reason 109 lib/pengine/unpack.c node->details->uname, reason); reason 118 lib/pengine/unpack.c node->details->uname, reason); reason 124 lib/pengine/unpack.c reason); reason 127 lib/pengine/unpack.c pe_fence_op(node, NULL, TRUE, reason, data_set); reason 133 lib/pengine/unpack.c reason); reason 139 lib/pengine/unpack.c reason); reason 141 lib/pengine/unpack.c pe_fence_op(node, NULL, TRUE, reason, data_set); reason 1865 lib/pengine/unpack.c char *reason = NULL; reason 1919 lib/pengine/unpack.c reason = crm_strdup_printf("%s is active there (fencing will be" reason 1928 lib/pengine/unpack.c if (reason == NULL) { reason 1929 lib/pengine/unpack.c reason = crm_strdup_printf("%s is thought to be active there", rsc->id); reason 1931 lib/pengine/unpack.c pe_fence_node(data_set, node, reason); reason 1933 lib/pengine/unpack.c free(reason); reason 1952 lib/pengine/unpack.c reason = crm_strdup_printf("%s failed there", rsc->id); reason 1953 lib/pengine/unpack.c pe_fence_node(data_set, node, reason); reason 1954 lib/pengine/unpack.c free(reason); reason 1319 lib/pengine/utils.c free(action->reason); reason 2139 lib/pengine/utils.c pe_fence_op(node_t * node, const char *op, bool optional, const char *reason, pe_working_set_t * data_set) reason 2212 lib/pengine/utils.c pe_action_required(stonith_op, NULL, reason); reason 2213 lib/pengine/utils.c } else if(reason && stonith_op->reason == NULL) { reason 2214 lib/pengine/utils.c stonith_op->reason = strdup(reason); reason 2222 lib/pengine/utils.c resource_t * rsc, node_t *node, const char *reason, action_t *dependency, pe_working_set_t * data_set) reason 2236 lib/pengine/utils.c action_t *unfence = pe_fence_op(node, "on", FALSE, reason, data_set); reason 2248 lib/pengine/utils.c trigger_unfencing(rsc, node, reason, dependency, data_set); reason 2292 lib/pengine/utils.c pe_action_t *action, pe_action_t *reason, const char *text, reason 2317 lib/pengine/utils.c flags, action->uuid, (reason? reason->uuid : 0)); reason 2335 lib/pengine/utils.c if(reason == NULL) { reason 2338 lib/pengine/utils.c } else if(reason->rsc == NULL) { reason 2339 lib/pengine/utils.c reason_text = crm_strdup_printf("%s %s%c %s", change, reason->task, text?':':0, text?text:""); reason 2341 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 2344 lib/pengine/utils.c if(reason_text && action->rsc != reason->rsc) { reason 2351 lib/pengine/utils.c void pe_action_set_reason(pe_action_t *action, const char *reason, bool overwrite) reason 2353 lib/pengine/utils.c if(action->reason && overwrite) { reason 2354 lib/pengine/utils.c pe_rsc_trace(action->rsc, "Changing %s reason from '%s' to '%s'", action->uuid, action->reason, reason); reason 2355 lib/pengine/utils.c free(action->reason); reason 2356 lib/pengine/utils.c action->reason = NULL; reason 2358 lib/pengine/utils.c if(action->reason == NULL) { reason 2359 lib/pengine/utils.c if(reason) { reason 2360 lib/pengine/utils.c pe_rsc_trace(action->rsc, "Set %s reason to '%s'", action->uuid, reason); reason 2361 lib/pengine/utils.c action->reason = strdup(reason); reason 2363 lib/pengine/utils.c action->reason = NULL; reason 800 lrmd/lrmd.c char *reason = NULL; reason 823 lrmd/lrmd.c reason = calloc(1, (EXIT_REASON_MAX_LEN+1)); reason 824 lrmd/lrmd.c CRM_ASSERT(reason); reason 827 lrmd/lrmd.c strncpy(reason, last, EXIT_REASON_MAX_LEN); reason 830 lrmd/lrmd.c eol = strchr(reason, '\n'); reason 835 lrmd/lrmd.c return reason; reason 201 pengine/allocate.c const char *reason, pe_working_set_t * data_set) reason 224 pengine/allocate.c key, active_node->details->uname, reason ? reason : "unknown"); reason 1040 pengine/allocate.c const char *reason = "existence"; reason 1062 pengine/allocate.c reason = "priority"; reason 1076 pengine/allocate.c reason = "no node list"; reason 1091 pengine/allocate.c reason = "current location"; reason 1120 pengine/allocate.c reason = "score"; reason 1158 pengine/allocate.c resource2->id, r2_weight, r2_node ? r2_node->details->id : "n/a", reason); reason 2511 pengine/allocate.c } else if(terminal && action->reason) { reason 2512 pengine/allocate.c printf(" * %s %s '%s'\n", task, node_name, action->reason); reason 2515 pengine/allocate.c } else if(action->reason) { reason 2516 pengine/allocate.c crm_notice(" * %s %s '%s'\n", task, node_name, action->reason); reason 459 pengine/graph.c mark_start_blocked(resource_t *rsc, resource_t *reason) reason 462 pengine/graph.c char *reason_text = crm_strdup_printf("colocation with %s", reason->id); reason 518 pengine/native.c const char *reason = NULL; reason 523 pengine/native.c reason = "inactive"; reason 526 pengine/native.c reason = "master"; reason 529 pengine/native.c reason = "failed"; reason 532 pengine/native.c reason = "active"; reason 535 pengine/native.c (assign_to? assign_to->details->uname : "no node"), reason); reason 2005 pengine/native.c const char *reason = NULL; reason 2013 pengine/native.c reason = "shutdown"; reason 2017 pengine/native.c reason = "recover"; reason 2020 pengine/native.c if (reason && is_set(first->flags, pe_action_optional)) { reason 2023 pengine/native.c pe_rsc_trace(first->rsc, "Handling %s: %s -> %s", reason, first->uuid, then->uuid); reason 2028 pengine/native.c if (reason && is_not_set(first->flags, pe_action_optional) reason 2030 pengine/native.c pe_rsc_trace(then->rsc, "Handling %s: %s -> %s", reason, first->uuid, then->uuid); reason 2034 pengine/native.c if (reason && reason 2160 pengine/native.c if(a && a->reason && terminal) { \ reason 2161 pengine/native.c printf(" * "fmt" \tdue to %s\n", ##args, a->reason); \ reason 2162 pengine/native.c } else if(a && a->reason) { \ reason 2163 pengine/native.c crm_notice(fmt" \tdue to %s", ##args, a->reason); \ reason 2189 pengine/native.c char *reason = NULL; reason 2261 pengine/native.c if(source->reason && is_not_set(action->flags, pe_action_runnable)) { reason 2262 pengine/native.c reason = crm_strdup_printf(" due to %s (blocked)", source->reason); reason 2264 pengine/native.c } else if(source->reason) { reason 2265 pengine/native.c reason = crm_strdup_printf(" due to %s", source->reason); reason 2268 pengine/native.c reason = strdup(" blocked"); reason 2271 pengine/native.c reason = strdup(""); reason 2275 pengine/native.c printf(" * %-8s %-*s ( %*s ) %s\n", change, rsc_width, rsc->id, detail_width, details, reason); reason 2277 pengine/native.c crm_notice(" * %-8s %-*s ( %*s ) %s", change, rsc_width, rsc->id, detail_width, details, reason); reason 2281 pengine/native.c free(reason); reason 2411 pengine/native.c (stop && stop->reason)? stop : start, terminal); reason 2453 pengine/native.c (stop_op && stop_op->reason)? stop_op : start, terminal); reason 2555 pengine/native.c char *reason = crm_strdup_printf("Required by %s", rsc->id); reason 2556 pengine/native.c trigger_unfencing(NULL, next, reason, NULL, data_set); reason 2557 pengine/native.c free(reason);