text 103 daemons/controld/controld_te_utils.c const char *text; text 111 daemons/controld/controld_te_utils.c abort_timer.text, NULL); text 134 daemons/controld/controld_te_utils.c abort_timer.text = abort_text; text 54 daemons/controld/controld_transition.h # define abort_transition(pri, action, text, reason) \ text 55 daemons/controld/controld_transition.h abort_transition_graph(pri, action, text, reason,__func__,__LINE__); text 449 daemons/controld/controld_utils.c fsa_dump_inputs(int log_level, const char *text, long long input_register) text 454 daemons/controld/controld_utils.c if (text == NULL) { text 455 daemons/controld/controld_utils.c text = "Input register contents:"; text 459 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_THE_DC)", text, R_THE_DC); text 462 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_STARTING)", text, R_STARTING); text 465 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_SHUTDOWN)", text, R_SHUTDOWN); text 468 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_STAYDOWN)", text, R_STAYDOWN); text 471 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_JOIN_OK)", text, R_JOIN_OK); text 474 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_READ_CONFIG)", text, R_READ_CONFIG); text 477 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_INVOKE_PE)", text, R_INVOKE_PE); text 480 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_CIB_CONNECTED)", text, R_CIB_CONNECTED); text 483 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_PE_CONNECTED)", text, R_PE_CONNECTED); text 486 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_TE_CONNECTED)", text, R_TE_CONNECTED); text 489 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_LRM_CONNECTED)", text, R_LRM_CONNECTED); text 492 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_CIB_REQUIRED)", text, R_CIB_REQUIRED); text 495 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_PE_REQUIRED)", text, R_PE_REQUIRED); text 498 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_TE_REQUIRED)", text, R_TE_REQUIRED); text 501 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_REQ_PEND)", text, R_REQ_PEND); text 504 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_PE_PEND)", text, R_PE_PEND); text 507 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_TE_PEND)", text, R_TE_PEND); text 510 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_RESP_PEND)", text, R_RESP_PEND); text 513 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_CIB_DONE)", text, R_CIB_DONE); text 516 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_HAVE_CIB)", text, R_HAVE_CIB); text 519 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_CIB_ASKED)", text, R_CIB_ASKED); text 522 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_MEMBERSHIP)", text, R_MEMBERSHIP); text 525 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_PEER_DATA)", text, R_PEER_DATA); text 528 daemons/controld/controld_utils.c crm_trace("%s %.16llx (R_IN_RECOVERY)", text, R_IN_RECOVERY); text 533 daemons/controld/controld_utils.c fsa_dump_actions(uint64_t action, const char *text) text 536 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_READCONFIG) %s", A_READCONFIG, text); text 539 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_STARTUP) %s", A_STARTUP, text); text 542 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_STARTED) %s", A_STARTED, text); text 545 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_CONNECT) %s", A_HA_CONNECT, text); text 548 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_DISCONNECT) %s", A_HA_DISCONNECT, text); text 551 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_LRM_CONNECT) %s", A_LRM_CONNECT, text); text 554 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_LRM_EVENT) %s", A_LRM_EVENT, text); text 557 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_LRM_INVOKE) %s", A_LRM_INVOKE, text); text 560 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_LRM_DISCONNECT) %s", A_LRM_DISCONNECT, text); text 563 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_DC_TIMER_STOP) %s", A_DC_TIMER_STOP, text); text 566 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_DC_TIMER_START) %s", A_DC_TIMER_START, text); text 569 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_INTEGRATE_TIMER_START) %s", A_INTEGRATE_TIMER_START, text); text 572 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_INTEGRATE_TIMER_STOP) %s", A_INTEGRATE_TIMER_STOP, text); text 575 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_FINALIZE_TIMER_START) %s", A_FINALIZE_TIMER_START, text); text 578 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_FINALIZE_TIMER_STOP) %s", A_FINALIZE_TIMER_STOP, text); text 581 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_ELECTION_COUNT) %s", A_ELECTION_COUNT, text); text 584 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_ELECTION_VOTE) %s", A_ELECTION_VOTE, text); text 587 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_ELECTION_CHECK) %s", A_ELECTION_CHECK, text); text 590 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_CL_JOIN_ANNOUNCE) %s", A_CL_JOIN_ANNOUNCE, text); text 593 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_CL_JOIN_REQUEST) %s", A_CL_JOIN_REQUEST, text); text 596 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_CL_JOIN_RESULT) %s", A_CL_JOIN_RESULT, text); text 599 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_DC_JOIN_OFFER_ALL) %s", A_DC_JOIN_OFFER_ALL, text); text 602 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_DC_JOIN_OFFER_ONE) %s", A_DC_JOIN_OFFER_ONE, text); text 605 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_DC_JOIN_PROCESS_REQ) %s", A_DC_JOIN_PROCESS_REQ, text); text 608 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_DC_JOIN_PROCESS_ACK) %s", A_DC_JOIN_PROCESS_ACK, text); text 611 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_DC_JOIN_FINALIZE) %s", A_DC_JOIN_FINALIZE, text); text 614 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_MSG_PROCESS) %s", A_MSG_PROCESS, text); text 617 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_MSG_ROUTE) %s", A_MSG_ROUTE, text); text 620 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_RECOVER) %s", A_RECOVER, text); text 623 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_DC_RELEASE) %s", A_DC_RELEASE, text); text 626 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_DC_RELEASED) %s", A_DC_RELEASED, text); text 629 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_DC_TAKEOVER) %s", A_DC_TAKEOVER, text); text 632 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_SHUTDOWN) %s", A_SHUTDOWN, text); text 635 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_SHUTDOWN_REQ) %s", A_SHUTDOWN_REQ, text); text 638 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_STOP ) %s", A_STOP, text); text 641 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_EXIT_0) %s", A_EXIT_0, text); text 644 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_EXIT_1) %s", A_EXIT_1, text); text 647 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_CIB_START) %s", A_CIB_START, text); text 650 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_CIB_STOP) %s", A_CIB_STOP, text); text 653 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_TE_INVOKE) %s", A_TE_INVOKE, text); text 656 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_TE_START) %s", A_TE_START, text); text 659 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_TE_STOP) %s", A_TE_STOP, text); text 662 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_TE_CANCEL) %s", A_TE_CANCEL, text); text 665 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_PE_INVOKE) %s", A_PE_INVOKE, text); text 668 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_PE_START) %s", A_PE_START, text); text 671 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_PE_STOP) %s", A_PE_STOP, text); text 674 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_NODE_BLOCK) %s", A_NODE_BLOCK, text); text 677 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_UPDATE_NODESTATUS) %s", A_UPDATE_NODESTATUS, text); text 680 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_LOG ) %s", A_LOG, text); text 683 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_ERROR ) %s", A_ERROR, text); text 686 daemons/controld/controld_utils.c crm_trace("Action %.16llx (A_WARN ) %s", A_WARN, text); text 76 daemons/controld/controld_utils.h void fsa_dump_actions(uint64_t action, const char *text); text 77 daemons/controld/controld_utils.h void fsa_dump_inputs(int log_level, const char *text, long long input_register); text 172 include/crm/cluster.h enum crm_ais_msg_types text2msg_type(const char *text); text 242 include/crm/common/logging.h # define do_crm_log_xml(level, text, xml) do { \ text 254 include/crm/common/logging.h __LINE__, text, xml, 1, xml_log_option_formatted); \ text 358 include/crm/common/logging.h # define crm_log_xml_crit(xml, text) do_crm_log_xml(LOG_CRIT, text, xml) text 359 include/crm/common/logging.h # define crm_log_xml_err(xml, text) do_crm_log_xml(LOG_ERR, text, xml) text 360 include/crm/common/logging.h # define crm_log_xml_warn(xml, text) do_crm_log_xml(LOG_WARNING, text, xml) text 361 include/crm/common/logging.h # define crm_log_xml_notice(xml, text) do_crm_log_xml(LOG_NOTICE, text, xml) text 362 include/crm/common/logging.h # define crm_log_xml_info(xml, text) do_crm_log_xml(LOG_INFO, text, xml) text 363 include/crm/common/logging.h # define crm_log_xml_debug(xml, text) do_crm_log_xml(LOG_DEBUG, text, xml) text 364 include/crm/common/logging.h # define crm_log_xml_trace(xml, text) do_crm_log_xml(LOG_TRACE, text, xml) text 366 include/crm/common/logging.h # define crm_log_xml_explicit(xml, text) do { \ text 369 include/crm/common/logging.h __func__, __FILE__, text, LOG_TRACE, __LINE__, \ text 372 include/crm/common/logging.h do_crm_log_xml(LOG_TRACE, text, xml); \ text 827 include/crm/common/output_internal.h const char *class_name, const char *text); text 31 include/crm/common/strings_internal.h int pcmk__scan_double(const char *text, double *result, text 44 include/crm/common/strings_internal.h int pcmk__scan_ll(const char *text, long long *result, long long default_value); text 45 include/crm/common/strings_internal.h int pcmk__scan_min_int(const char *text, int *result, int minimum); text 46 include/crm/common/strings_internal.h int pcmk__scan_port(const char *text, int *port); text 73 include/crm/common/util_compat.h long long crm_parse_ll(const char *text, const char *default_text); text 76 include/crm/common/util_compat.h int crm_parse_int(const char *text, const char *default_text); text 79 include/crm/common/util_compat.h # define crm_atoi(text, default_text) crm_parse_int(text, default_text) text 97 include/crm/common/xml.h const char *class_name, const char *text); text 286 include/crm/common/xml.h char * crm_xml_escape(const char *text); text 353 include/crm/pengine/internal.h #define pe__show_node_weights(level, rsc, text, nodes, data_set) \ text 355 include/crm/pengine/internal.h (level), (rsc), (text), (nodes), (data_set)) text 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); text 505 include/crm/pengine/internal.h #define pe_action_required(action, reason, text) \ text 506 include/crm/pengine/internal.h pe_action_set_flag_reason(__func__, __LINE__, action, reason, text, \ text 317 lib/cluster/cpg.c const char *text = "unknown"; text 321 lib/cluster/cpg.c text = "unknown"; text 324 lib/cluster/cpg.c text = "ais"; text 327 lib/cluster/cpg.c text = "cib"; text 330 lib/cluster/cpg.c text = "crmd"; text 333 lib/cluster/cpg.c text = "pengine"; text 336 lib/cluster/cpg.c text = "tengine"; text 339 lib/cluster/cpg.c text = "lrmd"; text 342 lib/cluster/cpg.c text = "attrd"; text 345 lib/cluster/cpg.c text = "stonithd"; text 348 lib/cluster/cpg.c text = "stonith-ng"; text 351 lib/cluster/cpg.c return text; text 1039 lib/cluster/cpg.c text2msg_type(const char *text) text 1043 lib/cluster/cpg.c CRM_CHECK(text != NULL, return type); text 1044 lib/cluster/cpg.c text = pcmk__message_name(text); text 1045 lib/cluster/cpg.c if (pcmk__str_eq(text, "ais", pcmk__str_casei)) { text 1047 lib/cluster/cpg.c } else if (pcmk__str_eq(text, CRM_SYSTEM_CIB, pcmk__str_casei)) { text 1049 lib/cluster/cpg.c } else if (pcmk__strcase_any_of(text, CRM_SYSTEM_CRMD, CRM_SYSTEM_DC, NULL)) { text 1051 lib/cluster/cpg.c } else if (pcmk__str_eq(text, CRM_SYSTEM_TENGINE, pcmk__str_casei)) { text 1053 lib/cluster/cpg.c } else if (pcmk__str_eq(text, CRM_SYSTEM_PENGINE, pcmk__str_casei)) { text 1055 lib/cluster/cpg.c } else if (pcmk__str_eq(text, CRM_SYSTEM_LRMD, pcmk__str_casei)) { text 1057 lib/cluster/cpg.c } else if (pcmk__str_eq(text, CRM_SYSTEM_STONITHD, pcmk__str_casei)) { text 1059 lib/cluster/cpg.c } else if (pcmk__str_eq(text, "stonith-ng", pcmk__str_casei)) { text 1061 lib/cluster/cpg.c } else if (pcmk__str_eq(text, "attrd", pcmk__str_casei)) { text 1068 lib/cluster/cpg.c int scan_rc = sscanf(text, "%d", &type); text 828 lib/cluster/membership.c const char *text = "unknown"; text 832 lib/cluster/membership.c text = "none"; text 835 lib/cluster/membership.c text = "pacemaker-based"; text 838 lib/cluster/membership.c text = "pacemaker-controld"; text 841 lib/cluster/membership.c text = "pacemaker-schedulerd"; text 844 lib/cluster/membership.c text = "pacemaker-execd"; text 847 lib/cluster/membership.c text = "pacemaker-attrd"; text 850 lib/cluster/membership.c text = "pacemaker-fenced"; text 853 lib/cluster/membership.c text = "corosync-cpg"; text 856 lib/cluster/membership.c return text; text 397 lib/common/ipc_server.c char *text = ((char *)data) + sizeof(pcmk__ipc_header_t); text 427 lib/common/ipc_server.c rc = BZ2_bzBuffToBuffDecompress(uncompressed, &size_u, text, header->size_compressed, 1, 0); text 428 lib/common/ipc_server.c text = uncompressed; text 438 lib/common/ipc_server.c CRM_ASSERT(text[header->size_uncompressed - 1] == 0); text 440 lib/common/ipc_server.c xml = string2xml(text); text 527 lib/common/logging.c const char *text = g_quark_to_string(tag); text 529 lib/common/logging.c if (text) { text 530 lib/common/logging.c return text; text 418 lib/common/output_html.c const char *class_name, const char *text) { text 423 lib/common/output_html.c node = pcmk__output_create_xml_text_node(out, element_name, text); text 43 lib/common/strings.c scan_ll(const char *text, long long *result, long long default_value, text 51 lib/common/strings.c if (text != NULL) { text 52 lib/common/strings.c local_result = strtoll(text, &local_end_text, 10); text 56 lib/common/strings.c text, local_result); text 62 lib/common/strings.c "%s", text, default_value, pcmk_rc_str(rc)); text 64 lib/common/strings.c } else if (local_end_text == text) { text 68 lib/common/strings.c "No digits found", text, default_value); text 73 lib/common/strings.c text, local_end_text); text 97 lib/common/strings.c pcmk__scan_ll(const char *text, long long *result, long long default_value) text 102 lib/common/strings.c if (text != NULL) { text 103 lib/common/strings.c rc = scan_ll(text, &local_result, default_value, NULL); text 127 lib/common/strings.c pcmk__scan_min_int(const char *text, int *result, int minimum) text 132 lib/common/strings.c rc = pcmk__scan_ll(text, &result_ll, (long long) minimum); text 135 lib/common/strings.c crm_warn("Clipped '%s' to minimum acceptable value %d", text, minimum); text 139 lib/common/strings.c crm_warn("Clipped '%s' to maximum integer %d", text, INT_MAX); text 161 lib/common/strings.c pcmk__scan_port(const char *text, int *port) text 164 lib/common/strings.c int rc = pcmk__scan_ll(text, &port_ll, -1LL); text 166 lib/common/strings.c if ((text != NULL) && (rc == pcmk_rc_ok) // wasn't default or invalid text 169 lib/common/strings.c "not in valid range (0-65535)", text); text 199 lib/common/strings.c pcmk__scan_double(const char *text, double *result, const char *default_text, text 208 lib/common/strings.c text = (text != NULL) ? text : default_text; text 210 lib/common/strings.c if (text == NULL) { text 216 lib/common/strings.c *result = strtod(text, &local_end_text); text 239 lib/common/strings.c "(using %g instead)", text, over_under, *result); text 247 lib/common/strings.c "%.1f instead): %s", text, PCMK__PARSE_DBL_DEFAULT, text 250 lib/common/strings.c } else if (local_end_text == text) { text 256 lib/common/strings.c "%.1f instead): No digits found", text, text 272 lib/common/strings.c for (const char *p = text; p != local_end_text; p++) { text 276 lib/common/strings.c "underflow (using %g instead)", text, *result); text 283 lib/common/strings.c "'%s': %g", text, *result); text 288 lib/common/strings.c text, local_end_text); text 1261 lib/common/strings.c crm_parse_ll(const char *text, const char *default_text) text 1265 lib/common/strings.c if (text == NULL) { text 1266 lib/common/strings.c text = default_text; text 1267 lib/common/strings.c if (text == NULL) { text 1273 lib/common/strings.c scan_ll(text, &result, PCMK__PARSE_INT_DEFAULT, NULL); text 1278 lib/common/strings.c crm_parse_int(const char *text, const char *default_text) text 1280 lib/common/strings.c long long result = crm_parse_ll(text, default_text); text 1285 lib/common/strings.c crm_err("Conversion of %s was clipped: %lld", text, result); text 1293 lib/common/strings.c crm_err("Conversion of %s was clipped: %lld", text, result); text 201 lib/common/utils.c version_helper(const char *text, const char **end_text) text 209 lib/common/utils.c if (text != NULL && text[0] != 0) { text 216 lib/common/utils.c atoi_result = (int) strtol(text, (char **) end_text, 10); text 219 lib/common/utils.c crm_err("Conversion of '%s' %c failed", text, text[0]); text 734 lib/common/xml.c const char *class_name, const char *text) text 736 lib/common/xml.c xmlNode *node = pcmk_create_xml_text_node(parent, element_name, text); text 1318 lib/common/xml.c replace_text(char *text, int start, int *length, const char *replace) text 1324 lib/common/xml.c text = pcmk__realloc(text, *length); text 1327 lib/common/xml.c text[lpc] = text[lpc - offset]; text 1330 lib/common/xml.c memcpy(text + start, replace, offset + 1); text 1331 lib/common/xml.c return text; text 1335 lib/common/xml.c crm_xml_escape(const char *text) text 1339 lib/common/xml.c int length = 1 + strlen(text); text 1340 lib/common/xml.c char *copy = strdup(text); text 2221 lib/pengine/utils.c pe_action_t *action, pe_action_t *reason, const char *text, text 2260 lib/pengine/utils.c if((change && update) || text) { text 2263 lib/pengine/utils.c pe_action_set_reason(action, text, overwrite); text 2266 lib/pengine/utils.c reason_text = crm_strdup_printf("%s %s%c %s", change, reason->task, text?':':0, text?text:""); text 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"); text 1169 tools/crm_resource.c const char *text = NULL; text 1183 tools/crm_resource.c text = "OCF providers"; text 1194 tools/crm_resource.c text = "standards"; text 1205 tools/crm_resource.c text = "OCF providers"; text 1217 tools/crm_resource.c "No %s found for %s", text, agent_spec); text 1222 tools/crm_resource.c "No %s found", text);