type 35 attrd/attrd_common_alerts.c switch (op->type) { type 66 attrd/internal.h void attrd_peer_change_cb(enum crm_status_type type, crm_node_t *peer, const void *data); type 209 cib/callbacks.c const char *type = crm_element_value(op_request, F_CIB_NOTIFY_TYPE); type 214 cib/callbacks.c type, cib_client->name, cib_client->id, on_off ? "on" : "off"); type 216 cib/callbacks.c if (safe_str_eq(type, T_CIB_POST_NOTIFY)) { type 219 cib/callbacks.c } else if (safe_str_eq(type, T_CIB_PRE_NOTIFY)) { type 222 cib/callbacks.c } else if (safe_str_eq(type, T_CIB_UPDATE_CONFIRM)) { type 225 cib/callbacks.c } else if (safe_str_eq(type, T_CIB_DIFF_NOTIFY)) { type 228 cib/callbacks.c } else if (safe_str_eq(type, T_CIB_REPLACE_NOTIFY)) { type 416 cib/main.c cib_peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *data) type 418 cib/main.c switch (type) { type 81 cib/notify.c const char *type = NULL; type 95 cib/notify.c type = crm_element_value(update->msg, F_SUBTYPE); type 97 cib/notify.c CRM_LOG_ASSERT(type != NULL); type 98 cib/notify.c if (is_set(client->options, cib_notify_diff) && safe_str_eq(type, T_CIB_DIFF_NOTIFY)) { type 102 cib/notify.c && safe_str_eq(type, T_CIB_REPLACE_NOTIFY)) { type 106 cib/notify.c && safe_str_eq(type, T_CIB_UPDATE_CONFIRM)) { type 109 cib/notify.c } else if (is_set(client->options, cib_notify_pre) && safe_str_eq(type, T_CIB_PRE_NOTIFY)) { type 112 cib/notify.c } else if (is_set(client->options, cib_notify_post) && safe_str_eq(type, T_CIB_POST_NOTIFY)) { type 127 cib/notify.c crm_debug("Sent %s notification to client %s/%s", type, client->name, client->id); type 170 cib/notify.c const char *type = NULL; type 200 cib/notify.c type = crm_element_value(update_msg, F_CIB_OBJTYPE); type 213 cib/notify.c crm_trace("Performing operation %s (on section=%s)", op, type); type 216 cib/notify.c crm_trace("Performing %s on <%s%s%s>", op, type, id ? " id=" : "", id ? id : ""); type 105 crmd/callbacks.c peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *data) type 125 crmd/callbacks.c switch (type) { type 216 crmd/callbacks.c if (alive && type == crm_status_processes) { type 41 crmd/crmd_callbacks.h extern void peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *data); type 127 crmd/crmd_metadata.c rsc->class, rsc->provider, rsc->type); type 132 crmd/crmd_metadata.c rsc->class, rsc->provider, rsc->type); type 137 crmd/crmd_metadata.c rsc->class, rsc->provider, rsc->type, version); type 186 crmd/crmd_metadata.c key = crm_generate_ra_key(rsc->class, rsc->provider, rsc->type); type 195 crmd/crmd_metadata.c rsc->class, rsc->provider, rsc->type); type 231 crmd/crmd_metadata.c rsc->class, rsc->provider, rsc->type); type 263 crmd/crmd_metadata.c key = crm_generate_ra_key(rsc->class, rsc->provider, rsc->type); type 173 crmd/lrm.c free(history->rsc.type); type 209 crmd/lrm.c entry->rsc.type = strdup(rsc->type); type 316 crmd/lrm.c if (op->type == lrmd_event_disconnect && (safe_str_eq(nodename, fsa_our_uname))) { type 321 crmd/lrm.c } else if (op->type != lrmd_event_exec_complete) { type 725 crmd/lrm.c rsc->provider, rsc->type, type 730 crmd/lrm.c rsc->id, rsc->class, rsc->provider, rsc->type); type 739 crmd/lrm.c rsc->id, rsc->class, rsc->provider, rsc->type); type 748 crmd/lrm.c crm_trace("Including additional digests for %s::%s:%s", rsc->class, rsc->provider, rsc->type); type 801 crmd/lrm.c crm_xml_add(xml_rsc, XML_ATTR_TYPE, entry->rsc.type); type 1264 crmd/lrm.c const char *type = crm_element_value(resource, XML_ATTR_TYPE); type 1280 crmd/lrm.c CRM_CHECK(type != NULL, return NULL); type 1284 crmd/lrm.c lrm_state_register_rsc(lrm_state, id, class, provider, type, lrmd_opt_drop_recurring); type 1452 crmd/lrm.c rsc.type = crm_element_value_copy(xml_rsc, XML_ATTR_TYPE); type 1459 crmd/lrm.c free(rsc.type); type 1815 crmd/lrm.c op->type = lrmd_event_exec_complete; type 2341 crmd/lrm.c crm_xml_add(iter, XML_ATTR_TYPE, rsc->type); type 84 crmd/lrm_state.c event.type = lrmd_event_exec_complete; type 372 crmd/messages.c const char *type = crm_element_value(msg, F_TYPE); type 384 crmd/messages.c } else if (safe_str_neq(type, T_CRM)) { type 603 crmd/messages.c const char *type = NULL; type 607 crmd/messages.c type = crm_element_value(msg, F_CRM_MSG_TYPE); type 608 crmd/messages.c if (crm_str_eq(type, XML_ATTR_REQUEST, TRUE)) { type 611 crmd/messages.c } else if (crm_str_eq(type, XML_ATTR_RESPONSE, TRUE)) { type 616 crmd/messages.c crm_err("Unknown message type: %s", type); type 353 crmd/remote_lrmd_ra.c op.type = lrmd_event_exec_complete; type 505 crmd/remote_lrmd_ra.c op.type = lrmd_event_exec_complete; type 525 crmd/remote_lrmd_ra.c lrmd_event_type2str(op->type), type 539 crmd/remote_lrmd_ra.c if (op->type == lrmd_event_new_client) { type 554 crmd/remote_lrmd_ra.c if (op->type == lrmd_event_exec_complete) { type 563 crmd/remote_lrmd_ra.c if ((op->type == lrmd_event_disconnect) && type 591 crmd/remote_lrmd_ra.c if (op->type == lrmd_event_connect && (safe_str_eq(cmd->action, "start") || type 626 crmd/remote_lrmd_ra.c } else if (op->type == lrmd_event_poke && safe_str_eq(cmd->action, "monitor")) { type 653 crmd/remote_lrmd_ra.c } else if (op->type == lrmd_event_disconnect && safe_str_eq(cmd->action, "monitor")) { type 662 crmd/remote_lrmd_ra.c } else if (op->type == lrmd_event_new_client && safe_str_eq(cmd->action, "stop")) { type 891 crmd/remote_lrmd_ra.c info->type = strdup(REMOTE_LRMD_RA); type 167 crmd/te_actions.c const char *type = NULL; type 174 crmd/te_actions.c type = crm_meta_value(action->params, "stonith_action"); type 178 crmd/te_actions.c CRM_CHECK(type != NULL, invalid_action = TRUE); type 188 crmd/te_actions.c type, target, id, transition_graph->stonith_timeout); type 197 crmd/te_actions.c rc = stonith_api->cmds->fence(stonith_api, options, target, type, type 578 crmd/te_actions.c if (action->type != action_type_rsc || target == NULL) { type 654 crmd/te_actions.c if (action->type != action_type_rsc) { type 687 crmd/te_actions.c if (action->confirmed == FALSE && action->type == action_type_rsc && target != NULL) { type 705 crmd/te_actions.c const char *type = "unknown"; type 714 crmd/te_actions.c type = "stop"; type 720 crmd/te_actions.c type = "done"; type 727 crmd/te_actions.c type = "restart"; type 742 crmd/te_actions.c type = "shutdown"; type 752 crmd/te_actions.c crm_debug("Transition %d status: %s - %s", graph->id, type, crm_str(graph->abort_reason)); type 442 crmd/te_callbacks.c if (match->type == XML_COMMENT_NODE) { type 585 crmd/te_callbacks.c const char *type = crm_element_value(msg, F_CRM_MSG_TYPE); type 625 crmd/te_callbacks.c crm_err("Unknown command: %s::%s from %s", type, op, sys_from); type 916 crmd/te_callbacks.c if (timer->action->type != action_type_rsc) { type 62 crmd/te_events.c if (action->type == action_type_pseudo || action->confirmed) { type 64 crmd/te_events.c } else if (action->type == action_type_crm) { type 148 crmd/te_utils.c if (action->type != action_type_crm || action->confirmed) { type 27 fencing/config.y enum line_type type; type 56 fencing/config.y line_val.type = STANDALONE_LINE_DEVICE; type 62 fencing/config.y line_val.type = STANDALONE_LINE_DEVICE; type 70 fencing/config.y line_val.type = STANDALONE_LINE_OPTION; type 82 fencing/config.y line_val.type = STANDALONE_LINE_PRIORITY; type 94 fencing/config.y line_val.type = STANDALONE_LINE_PORT; type 181 fencing/config.y switch (line_val.type) { type 199 fencing/internal.h void do_stonith_notify(int options, const char *type, int result, xmlNode * data); type 320 fencing/main.c const char *type = NULL; type 325 fencing/main.c type = crm_element_value(update_msg, F_SUBTYPE); type 326 fencing/main.c CRM_CHECK(type != NULL, crm_log_xml_err(update_msg, "notify"); return); type 333 fencing/main.c if (client->options & get_stonith_flag(type)) { type 338 fencing/main.c type, crm_client_name(client), client->id, pcmk_strerror(rc), rc); type 340 fencing/main.c crm_trace("Sent %s notification to client %s.%.6s", type, crm_client_name(client), type 376 fencing/main.c do_stonith_notify(int options, const char *type, int result, xmlNode * data) type 381 fencing/main.c CRM_CHECK(type != NULL,;); type 384 fencing/main.c crm_xml_add(update_msg, F_SUBTYPE, type); type 385 fencing/main.c crm_xml_add(update_msg, F_STONITH_OPERATION, type); type 1258 fencing/main.c st_peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *data) type 1260 fencing/main.c if ((type != crm_status_processes) && !is_set(node->flags, crm_remote_node)) { type 86 include/crm/cib.h int (*signon) (cib_t * cib, const char *name, enum cib_conn_type type); type 87 include/crm/cib.h int (*signon_raw) (cib_t * cib, const char *name, enum cib_conn_type type, int *event_fd); type 150 include/crm/cib.h enum cib_conn_type type; type 222 include/crm/cluster.h const char *name_for_cluster_type(enum cluster_type_e type); type 38 include/crm/cluster/internal.h enum crm_ais_msg_types type; type 350 include/crm/cluster/internal.h msg_type2text(enum crm_ais_msg_types type) type 354 include/crm/cluster/internal.h switch (type) { type 77 include/crm/common/mainloop.h qb_ipcs_service_t *mainloop_add_ipc_server(const char *name, enum qb_ipc_type type, type 187 include/crm/common/util.h char *crm_generate_ra_key(const char *class, const char *provider, const char *type); type 190 include/crm/common/util.h char **type); type 302 include/crm/common/xml.h while (child && child->type == XML_TEXT_NODE) { type 314 include/crm/common/xml.h while (child && child->type == XML_TEXT_NODE) { type 331 include/crm/common/xml.h if(child->type == XML_ELEMENT_NODE) { type 344 include/crm/common/xml.h if(child && child->type == XML_ELEMENT_NODE) { type 174 include/crm/compatibility.h if(child->type == XML_ELEMENT_NODE) { \ type 188 include/crm/compatibility.h if(child->type == XML_ELEMENT_NODE) { \ type 206 include/crm/lrmd.h enum lrmd_callback_event type; type 262 include/crm/lrmd.h char *type; type 504 include/crm/lrmd.h lrmd_event_type2str(enum lrmd_callback_event type) type 506 include/crm/lrmd.h switch (type) { type 126 include/crm/pengine/common.h recovery2text(enum rsc_recovery_type type) type 128 include/crm/pengine/common.h switch (type) { type 40 include/crm/pengine/complex.h const char *get_resource_typename(enum pe_obj_types type); type 318 include/crm/pengine/internal.h node_t *pe_create_node(const char *id, const char *uname, const char *type, type 159 include/crm/pengine/status.h enum node_type type; type 460 include/crm/pengine/status.h enum pe_ordering type; type 97 include/crm/stonith-ng.h char *type; type 52 include/crm/transition.h action_type_e type; type 149 include/crm/transition.h const char *actiontype2text(action_type_e type); type 104 include/crm_internal.h const char *type; type 229 include/crm_internal.h void *crm_create_anon_tls_session(int sock, int type, void *credentials); type 241 include/crm_internal.h void *create_psk_tls_session(int csock, int type, void *credentials); type 883 lib/ais/plugin.c ais_msg->host.type = swab32(ais_msg->host.type); type 889 lib/ais/plugin.c ais_msg->sender.type = swab32(ais_msg->sender.type); type 915 lib/ais/plugin.c msg_type2text(ais_msg->host.type), type 916 lib/ais/plugin.c ais_dest(&(ais_msg->sender)), msg_type2text(ais_msg->sender.type)); type 981 lib/ais/plugin.c int type = 0; type 1003 lib/ais/plugin.c type = mutable->sender.type; type 1006 lib/ais/plugin.c type, mutable->host.local, pcmk_children[type].conn, mutable->host.type, crm_msg_ais, type 1007 lib/ais/plugin.c mutable->sender.pid, pcmk_children[type].pid, ((int)SIZEOF(pcmk_children))); type 1009 lib/ais/plugin.c if (type > crm_msg_none && type < SIZEOF(pcmk_children)) { type 1017 lib/ais/plugin.c AIS_CHECK(transient || mutable->sender.pid == pcmk_children[type].pid, type 1018 lib/ais/plugin.c ais_err("Sender: %d, child[%d]: %d", mutable->sender.pid, type, type 1019 lib/ais/plugin.c pcmk_children[type].pid); type 1025 lib/ais/plugin.c && type > crm_msg_none type 1027 lib/ais/plugin.c && pcmk_children[type].conn == NULL && mutable->host.type == crm_msg_ais) { type 1028 lib/ais/plugin.c AIS_CHECK(mutable->sender.type != mutable->sender.pid, type 1029 lib/ais/plugin.c ais_err("Pid=%d, type=%d", mutable->sender.pid, mutable->sender.type)); type 1032 lib/ais/plugin.c conn, pcmk_children[type].name, pcmk_children[type].pid); type 1033 lib/ais/plugin.c pcmk_children[type].conn = conn; type 1034 lib/ais/plugin.c pcmk_children[type].async_conn = async_conn; type 1037 lib/ais/plugin.c if (pcmk_children[type].flags & crm_flag_members) { type 1042 lib/ais/plugin.c membership_seq, pcmk_children[type].name); type 1047 lib/ais/plugin.c AIS_CHECK(mutable->sender.type == mutable->sender.pid, type 1048 lib/ais/plugin.c ais_err("Pid=%d, type=%d", mutable->sender.pid, mutable->sender.type)); type 1360 lib/ais/plugin.c int dest = msg->host.type; type 1413 lib/ais/plugin.c msg_type2text(msg->sender.type), msg->sender.pid, msg->is_compressed, type 1420 lib/ais/plugin.c msg_type2text(msg->sender.type), msg->sender.pid, msg->is_compressed, type 1426 lib/ais/plugin.c msg_type2text(msg->sender.type), msg->sender.pid, msg->is_compressed, type 1439 lib/ais/plugin.c if (pid == mutable->host.type) { type 1457 lib/ais/plugin.c int dest = msg->host.type; type 1464 lib/ais/plugin.c ais_dest(&(mutable->sender)), msg_type2text(mutable->sender.type), type 1751 lib/ais/plugin.c msg->id, ais_dest(&(msg->host)), msg_type2text(msg->host.type), type 1752 lib/ais/plugin.c ais_dest(&(msg->sender)), msg_type2text(msg->sender.type), type 50 lib/ais/utils.c msg->id, ais_dest(&(msg->host)), msg_type2text(msg->host.type), type 51 lib/ais/utils.c ais_dest(&(msg->sender)), msg_type2text(msg->sender.type), type 440 lib/ais/utils.c tmp = msg->host.type; type 441 lib/ais/utils.c msg->host.type = msg->sender.type; type 442 lib/ais/utils.c msg->sender.type = tmp; type 444 lib/ais/utils.c tmp = msg->host.type; type 445 lib/ais/utils.c msg->host.size = msg->sender.type; type 446 lib/ais/utils.c msg->sender.type = tmp; type 479 lib/ais/utils.c send_plugin_msg(enum crm_ais_msg_types type, const char *host, const char *data) type 499 lib/ais/utils.c ais_msg->sender.type = crm_msg_ais; type 504 lib/ais/utils.c ais_msg->host.type = type; type 513 lib/ais/utils.c ais_msg->host.type = type; type 550 lib/ais/utils.c send_client_msg(void *conn, enum crm_ais_msg_class class, enum crm_ais_msg_types type, type 582 lib/ais/utils.c ais_msg->host.type = type; type 586 lib/ais/utils.c ais_msg->sender.type = crm_msg_ais; type 595 lib/ais/utils.c ais_warn("Sending message to %s failed: %d", msg_type2text(type), rc); type 100 lib/ais/utils.h extern int send_plugin_msg(enum crm_ais_msg_types type, const char *host, const char *data); type 102 lib/ais/utils.h enum crm_ais_msg_types type, const char *data); type 365 lib/cib/cib_client.c new_cib->type = cib_no_connection; type 54 lib/cib/cib_file.c int cib_file_signon(cib_t * cib, const char *name, enum cib_conn_type type); type 564 lib/cib/cib_file.c cib_file_signon(cib_t * cib, const char *name, enum cib_conn_type type) type 578 lib/cib/cib_file.c cib->type = cib_command; type 686 lib/cib/cib_file.c cib->type = cib_no_connection; type 51 lib/cib/cib_native.c int cib_native_signon(cib_t * cib, const char *name, enum cib_conn_type type); type 52 lib/cib/cib_native.c int cib_native_signon_raw(cib_t * cib, const char *name, enum cib_conn_type type, int *event_fd); type 87 lib/cib/cib_native.c cib_native_signon(cib_t * cib, const char *name, enum cib_conn_type type) type 89 lib/cib/cib_native.c return cib_native_signon_raw(cib, name, type, NULL); type 95 lib/cib/cib_native.c const char *type = NULL; type 115 lib/cib/cib_native.c type = crm_element_value(msg, F_TYPE); type 116 lib/cib/cib_native.c crm_trace("Activating %s callbacks...", type); type 119 lib/cib/cib_native.c if (safe_str_eq(type, T_CIB)) { type 122 lib/cib/cib_native.c } else if (safe_str_eq(type, T_CIB_NOTIFY)) { type 126 lib/cib/cib_native.c crm_err("Unknown message type: %s", type); type 180 lib/cib/cib_native.c cib_native_signon_raw(cib_t * cib, const char *name, enum cib_conn_type type, int *async_fd) type 193 lib/cib/cib_native.c if (type == cib_command) { type 197 lib/cib/cib_native.c } else if (type == cib_command_nonblocking) { type 201 lib/cib/cib_native.c } else if (type == cib_query) { type 301 lib/cib/cib_native.c cib->type = cib_no_connection; type 771 lib/cib/cib_ops.c while (parent && parent->type == XML_ELEMENT_NODE) { type 78 lib/cib/cib_remote.c int cib_remote_signon(cib_t * cib, const char *name, enum cib_conn_type type); type 354 lib/cib/cib_remote.c const char *type = crm_element_value(msg, F_TYPE); type 356 lib/cib/cib_remote.c crm_trace("Activating %s callbacks...", type); type 358 lib/cib/cib_remote.c if (safe_str_eq(type, T_CIB)) { type 361 lib/cib/cib_remote.c } else if (safe_str_eq(type, T_CIB_NOTIFY)) { type 365 lib/cib/cib_remote.c crm_err("Unknown message type: %s", type); type 380 lib/cib/cib_remote.c cib_remote_signon(cib_t * cib, const char *name, enum cib_conn_type type) type 433 lib/cib/cib_remote.c cib->type = cib_command; type 456 lib/cib/cib_remote.c cib->type = cib_no_connection; type 138 lib/cluster/cluster.c enum cluster_type_e type = get_cluster_type(); type 148 lib/cluster/cluster.c switch (type) { type 177 lib/cluster/cluster.c enum cluster_type_e type = get_cluster_type(); type 179 lib/cluster/cluster.c crm_notice("Connecting to cluster infrastructure: %s", name_for_cluster_type(type)); type 236 lib/cluster/cluster.c enum cluster_type_e type = get_cluster_type(); type 237 lib/cluster/cluster.c const char *type_str = name_for_cluster_type(type); type 468 lib/cluster/cluster.c name_for_cluster_type(enum cluster_type_e type) type 470 lib/cluster/cluster.c switch (type) { type 484 lib/cluster/cluster.c crm_err("Invalid cluster type: %d", type); type 489 lib/cluster/cluster.c int set_cluster_type(enum cluster_type_e type); type 493 lib/cluster/cluster.c set_cluster_type(enum cluster_type_e type) type 496 lib/cluster/cluster.c crm_info("Cluster type set to: %s", name_for_cluster_type(type)); type 497 lib/cluster/cluster.c cluster_type = type; type 500 lib/cluster/cluster.c } else if (cluster_type == type) { type 503 lib/cluster/cluster.c } else if (pcmk_cluster_unknown == type) { type 504 lib/cluster/cluster.c cluster_type = type; type 509 lib/cluster/cluster.c name_for_cluster_type(cluster_type), name_for_cluster_type(type)); type 632 lib/cluster/cluster.c enum cluster_type_e type = get_cluster_type(); type 634 lib/cluster/cluster.c if (type == pcmk_cluster_classic_ais) { type 636 lib/cluster/cluster.c } else if (type == pcmk_cluster_corosync) { type 638 lib/cluster/cluster.c } else if (type == pcmk_cluster_cman) { type 380 lib/cluster/corosync.c int dest = msg->host.type; type 425 lib/cluster/corosync.c ais_dest(&(msg->sender)), msg_type2text(msg->sender.type), type 432 lib/cluster/corosync.c msg_type2text(msg->sender.type), msg->sender.pid, msg->is_compressed, type 353 lib/cluster/cpg.c msg->id, ais_dest(&(msg->host)), msg_type2text(msg->host.type), type 354 lib/cluster/cpg.c ais_dest(&(msg->sender)), msg_type2text(msg->sender.type), type 568 lib/cluster/cpg.c msg->host.type = dest; type 586 lib/cluster/cpg.c msg->sender.type = sender; type 654 lib/cluster/cpg.c int type = crm_msg_none; type 656 lib/cluster/cpg.c CRM_CHECK(text != NULL, return type); type 658 lib/cluster/cpg.c type = crm_msg_ais; type 660 lib/cluster/cpg.c type = crm_msg_ais; type 662 lib/cluster/cpg.c type = crm_msg_cib; type 664 lib/cluster/cpg.c type = crm_msg_crmd; type 666 lib/cluster/cpg.c type = crm_msg_crmd; type 668 lib/cluster/cpg.c type = crm_msg_te; type 670 lib/cluster/cpg.c type = crm_msg_pe; type 672 lib/cluster/cpg.c type = crm_msg_lrmd; type 674 lib/cluster/cpg.c type = crm_msg_stonithd; type 676 lib/cluster/cpg.c type = crm_msg_stonith_ng; type 678 lib/cluster/cpg.c type = crm_msg_attrd; type 684 lib/cluster/cpg.c int scan_rc = sscanf(text, "%d", &type); type 686 lib/cluster/cpg.c if (scan_rc != 1 || type <= crm_msg_stonith_ng) { type 688 lib/cluster/cpg.c type = crm_msg_none; type 691 lib/cluster/cpg.c return type; type 46 lib/cluster/heartbeat.c int type = 0; type 63 lib/cluster/heartbeat.c type = cl_get_type(msg, name); type 65 lib/cluster/heartbeat.c switch (type) { type 76 lib/cluster/heartbeat.c crm_trace("Converting %s/%d/%s", name, type, value[0] == '<' ? "xml" : "field"); type 676 lib/cluster/legacy.c extern int set_cluster_type(enum cluster_type_e type); type 733 lib/cluster/legacy.c int dest = msg->host.type; type 778 lib/cluster/legacy.c ais_dest(&(msg->sender)), msg_type2text(msg->sender.type), type 785 lib/cluster/legacy.c msg_type2text(msg->sender.type), msg->sender.pid, msg->is_compressed, type 157 lib/common/ipc.c const char *type = crm_element_value(original_request, F_CRM_MSG_TYPE); type 161 lib/common/ipc.c if (type == NULL) { type 163 lib/common/ipc.c CRM_ASSERT(type != NULL); type 166 lib/common/ipc.c } else if (strcasecmp(XML_ATTR_REQUEST, type) != 0) { type 589 lib/common/mainloop.c mainloop_add_ipc_server(const char *name, enum qb_ipc_type type, type 600 lib/common/mainloop.c server = qb_ipcs_create(name, 0, pick_ipc_type(type), callbacks); type 169 lib/common/remote.c crm_create_anon_tls_session(int csock, int type /* GNUTLS_SERVER, GNUTLS_CLIENT */ , type 174 lib/common/remote.c gnutls_init(session, type); type 184 lib/common/remote.c switch (type) { type 199 lib/common/remote.c create_psk_tls_session(int csock, int type /* GNUTLS_SERVER, GNUTLS_CLIENT */ , void *credentials) type 203 lib/common/remote.c gnutls_init(session, type); type 211 lib/common/remote.c switch (type) { type 399 lib/common/utils.c option_list[lpc].type, type 1461 lib/common/utils.c crm_generate_ra_key(const char *class, const char *provider, const char *type) type 1463 lib/common/utils.c if (!class && !provider && !type) { type 1470 lib/common/utils.c (type? type : "")); type 1513 lib/common/utils.c char **type) type 1517 lib/common/utils.c CRM_CHECK(spec && standard && provider && type, return -EINVAL); type 1520 lib/common/utils.c *type = NULL; type 1548 lib/common/utils.c *type = strdup(spec); type 336 lib/common/xml.c switch(node->type) { type 353 lib/common/xml.c crm_trace("Ignoring %p %d", node, node->type); type 354 lib/common/xml.c CRM_LOG_ASSERT(node->type == XML_ELEMENT_NODE); type 1601 lib/common/xml.c return (needle->type == XML_COMMENT_NODE)? type 1622 lib/common/xml.c if (target->type == XML_COMMENT_NODE) { type 1699 lib/common/xml.c if (target->type == XML_COMMENT_NODE) { type 1937 lib/common/xml.c if (cIter->type == XML_COMMENT_NODE type 2680 lib/common/xml.c if (child->type == XML_COMMENT_NODE) { type 2912 lib/common/xml.c switch (iter->type) { type 3327 lib/common/xml.c if (data->type == XML_COMMENT_NODE) { type 3373 lib/common/xml.c if(data->type == XML_COMMENT_NODE) { type 3756 lib/common/xml.c switch(data->type) { type 3771 lib/common/xml.c crm_warn("Unhandled type: %d", data->type); type 4334 lib/common/xml.c CRM_CHECK(search_comment->type == XML_COMMENT_NODE, return NULL); type 4353 lib/common/xml.c if (a_child->type == XML_COMMENT_NODE type 4370 lib/common/xml.c CRM_CHECK(left->type == XML_COMMENT_NODE, return NULL); type 4412 lib/common/xml.c if (left->type == XML_COMMENT_NODE) { type 4576 lib/common/xml.c CRM_CHECK(update->type == XML_COMMENT_NODE, return 0); type 4608 lib/common/xml.c if (update->type == XML_COMMENT_NODE) { type 54 lib/common/xpath.c if (xpathObj->nodesetval->nodeTab[lpc] && xpathObj->nodesetval->nodeTab[lpc]->type != XML_NAMESPACE_DECL) { type 84 lib/common/xpath.c if (xpathObj->nodesetval->nodeTab[index]->type != XML_NAMESPACE_DECL) { type 89 lib/common/xpath.c if (match->type == XML_DOCUMENT_NODE) { type 93 lib/common/xpath.c } else if (match->type != XML_ELEMENT_NODE type 94 lib/common/xpath.c && match->parent && match->parent->type == XML_ELEMENT_NODE) { type 98 lib/common/xpath.c } else if (match->type != XML_ELEMENT_NODE) { type 100 lib/common/xpath.c crm_err("We only support %d not %d", XML_ELEMENT_NODE, match->type); type 2180 lib/fencing/st_client.c free(event->type); type 2368 lib/fencing/st_client.c const char *type = NULL; type 2385 lib/fencing/st_client.c type = crm_element_value(blob.xml, F_TYPE); type 2386 lib/fencing/st_client.c crm_trace("Activating %s callbacks...", type); type 2388 lib/fencing/st_client.c if (safe_str_eq(type, T_STONITH_NG)) { type 2391 lib/fencing/st_client.c } else if (safe_str_eq(type, T_STONITH_NOTIFY)) { type 2393 lib/fencing/st_client.c } else if (safe_str_eq(type, T_STONITH_TIMEOUT_VALUE)) { type 2402 lib/fencing/st_client.c crm_err("Unknown message type: %s", type); type 48 lib/gnu/stdalign.in.h # define _Alignof(type) offsetof (__alignof_helper<type>, __b) type 50 lib/gnu/stdalign.in.h # define _Alignof(type) offsetof (struct { char __a; type __b; }, __b) type 78 lib/lrmd/lrmd_client.c enum client_type type; type 235 lib/lrmd/lrmd_client.c const char *type; type 251 lib/lrmd/lrmd_client.c type = crm_element_value(msg, F_LRMD_OPERATION); type 255 lib/lrmd/lrmd_client.c if (crm_str_eq(type, LRMD_OP_RSC_REG, TRUE)) { type 256 lib/lrmd/lrmd_client.c event.type = lrmd_event_register; type 257 lib/lrmd/lrmd_client.c } else if (crm_str_eq(type, LRMD_OP_RSC_UNREG, TRUE)) { type 258 lib/lrmd/lrmd_client.c event.type = lrmd_event_unregister; type 259 lib/lrmd/lrmd_client.c } else if (crm_str_eq(type, LRMD_OP_RSC_EXEC, TRUE)) { type 276 lib/lrmd/lrmd_client.c event.type = lrmd_event_exec_complete; type 279 lib/lrmd/lrmd_client.c } else if (crm_str_eq(type, LRMD_OP_NEW_CLIENT, TRUE)) { type 280 lib/lrmd/lrmd_client.c event.type = lrmd_event_new_client; type 281 lib/lrmd/lrmd_client.c } else if (crm_str_eq(type, LRMD_OP_POKE, TRUE)) { type 282 lib/lrmd/lrmd_client.c event.type = lrmd_event_poke; type 287 lib/lrmd/lrmd_client.c crm_trace("op %s notify event received", type); type 407 lib/lrmd/lrmd_client.c switch (native->type) { type 420 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); type 435 lib/lrmd/lrmd_client.c switch (private->type) { type 451 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", private->type); type 501 lib/lrmd/lrmd_client.c event.type = lrmd_event_disconnect; type 547 lib/lrmd/lrmd_client.c event.type = lrmd_event_disconnect; type 710 lib/lrmd/lrmd_client.c switch (native->type) { type 720 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); type 732 lib/lrmd/lrmd_client.c switch (native->type) { type 748 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); type 759 lib/lrmd/lrmd_client.c switch (native->type) { type 769 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); type 869 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_POKE, data, NULL, 0, 0, native->type == CRM_CLIENT_IPC ? TRUE : FALSE); type 888 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_CHECK, data, NULL, 0, 0, native->type == CRM_CLIENT_IPC ? TRUE : FALSE); type 1109 lib/lrmd/lrmd_client.c event.type = lrmd_event_connect; type 1275 lib/lrmd/lrmd_client.c switch (native->type) { type 1285 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); type 1306 lib/lrmd/lrmd_client.c switch (native->type) { type 1325 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); type 1392 lib/lrmd/lrmd_client.c crm_info("Disconnecting from %d lrmd service", native->type); type 1393 lib/lrmd/lrmd_client.c switch (native->type) { type 1403 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); type 1418 lib/lrmd/lrmd_client.c const char *provider, const char *type, enum lrmd_call_options options) type 1423 lib/lrmd/lrmd_client.c if (!class || !type || !rsc_id) { type 1436 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_TYPE, type); type 1465 lib/lrmd/lrmd_client.c copy->type = strdup(rsc_info->type); type 1481 lib/lrmd/lrmd_client.c free(rsc_info->type); type 1495 lib/lrmd/lrmd_client.c const char *type = NULL; type 1508 lib/lrmd/lrmd_client.c type = crm_element_value(output, F_LRMD_TYPE); type 1510 lib/lrmd/lrmd_client.c if (!class || !type) { type 1524 lib/lrmd/lrmd_client.c rsc_info->type = strdup(type); type 1571 lib/lrmd/lrmd_client.c stonith_get_metadata(const char *provider, const char *type, char **output) type 1577 lib/lrmd/lrmd_client.c stonith_api->cmds->metadata(stonith_api, st_opt_sync_call, type, provider, output, 0); type 1590 lib/lrmd/lrmd_client.c const char *type, char **output, enum lrmd_call_options options) type 1594 lib/lrmd/lrmd_client.c if (!class || !type) { type 1599 lib/lrmd/lrmd_client.c return stonith_get_metadata(provider, type, output); type 1602 lib/lrmd/lrmd_client.c action = resources_action_create(type, class, provider, type, type 1606 lib/lrmd/lrmd_client.c crm_err("Unable to retrieve meta-data for %s:%s:%s", class, provider, type); type 1612 lib/lrmd/lrmd_client.c crm_err("Failed to retrieve meta-data for %s:%s:%s", class, provider, type); type 1618 lib/lrmd/lrmd_client.c crm_err("Failed to receive meta-data for %s:%s:%s", class, provider, type); type 1831 lib/lrmd/lrmd_client.c pvt->type = CRM_CLIENT_IPC; type 1866 lib/lrmd/lrmd_client.c native->type = CRM_CLIENT_TLS; type 266 lib/lrmd/proxy_common.c const char *type = crm_element_value(request, F_TYPE); type 269 lib/lrmd/proxy_common.c if (safe_str_eq(type, T_ATTRD) type 273 lib/pengine/clone.c short_print(char *list, const char *prefix, const char *type, const char *suffix, long options, void *print_data) type 283 lib/pengine/clone.c status_print("%s%s: [%s ]%s", prefix, type, list, suffix); type 388 lib/pengine/clone.c const char *type = "Clone"; type 411 lib/pengine/clone.c type = "Master/Slave"; type 415 lib/pengine/clone.c pre_text ? pre_text : "", type, rsc->id, ID(clone_data->xml_obj_child), type 105 lib/pengine/complex.c get_resource_typename(enum pe_obj_types type) type 107 lib/pengine/complex.c switch (type) { type 80 lib/pengine/container.c if (data->type == PE_CONTAINER_TYPE_DOCKER) { type 83 lib/pengine/container.c } else if (data->type == PE_CONTAINER_TYPE_RKT) { type 664 lib/pengine/container.c if (data->type == PE_CONTAINER_TYPE_DOCKER && type 668 lib/pengine/container.c if (data->type == PE_CONTAINER_TYPE_RKT && type 845 lib/pengine/container.c container_data->type = PE_CONTAINER_TYPE_DOCKER; type 849 lib/pengine/container.c container_data->type = PE_CONTAINER_TYPE_RKT; type 1243 lib/pengine/container.c for (const char *c = container_type_as_string(container_data->type); type 1317 lib/pengine/container.c pre_text, container_type_as_string(container_data->type), type 890 lib/pengine/native.c char *type = NULL; type 896 lib/pengine/native.c while (g_hash_table_iter_next(&hash_iter, (gpointer *)&type, (gpointer *)&rsc_counter)) { type 904 lib/pengine/native.c int *active_counter = g_hash_table_lookup(node_table, type); type 924 lib/pengine/native.c rsc_counter ? *rsc_counter : 0, type, type 928 lib/pengine/native.c active_counter ? *active_counter : 0, type, type 944 lib/pengine/native.c rsc_counter ? *rsc_counter : 0, type); type 64 lib/pengine/remote.c if (node && node->details->type == node_remote) { type 281 lib/pengine/rules.c const char *type = NULL; type 289 lib/pengine/rules.c type = crm_element_value(expr, XML_EXPR_ATTR_TYPE); type 336 lib/pengine/rules.c if (type == NULL) { type 341 lib/pengine/rules.c type = "number"; type 344 lib/pengine/rules.c type = "string"; type 346 lib/pengine/rules.c crm_trace("Defaulting to %s based comparison for '%s' op", type, op); type 349 lib/pengine/rules.c if (safe_str_eq(type, "string")) { type 352 lib/pengine/rules.c } else if (safe_str_eq(type, "number")) { type 364 lib/pengine/rules.c } else if (safe_str_eq(type, "version")) { type 356 lib/pengine/unpack.c pe_create_node(const char *id, const char *uname, const char *type, type 387 lib/pengine/unpack.c new_node->details->type = node_ping; type 389 lib/pengine/unpack.c if (safe_str_eq(type, "remote")) { type 390 lib/pengine/unpack.c new_node->details->type = node_remote; type 392 lib/pengine/unpack.c } else if (type == NULL || safe_str_eq(type, "member") type 393 lib/pengine/unpack.c || safe_str_eq(type, NORMALNODE)) { type 394 lib/pengine/unpack.c new_node->details->type = node_member; type 502 lib/pengine/unpack.c if ((new_node->details->type == node_remote) && (new_node->details->remote_rsc == NULL)) { type 531 lib/pengine/unpack.c const char *type = NULL; type 540 lib/pengine/unpack.c type = crm_element_value(xml_obj, XML_ATTR_TYPE); type 548 lib/pengine/unpack.c new_node = pe_create_node(id, uname, type, score, data_set); type 1511 lib/pengine/unpack.c if (this_node->details->type == node_ping) { type 1540 lib/pengine/unpack.c if (this_node->details->type == node_ping) { type 1750 lib/pengine/utils.c if (after->action == rh_action && (after->type & order)) { type 1757 lib/pengine/utils.c wrapper->type = order; type 1770 lib/pengine/utils.c wrapper->type = order; type 121 lib/pengine/variant.h enum container_type type; type 989 lib/services/services.c lsb_get_metadata(const char *type, char **output) type 1007 lib/services/services.c if (type[0] == '/') { type 1008 lib/services/services.c snprintf(ra_pathname, sizeof(ra_pathname), "%s", type); type 1011 lib/services/services.c LSB_ROOT_DIR, type); type 1105 lib/services/services.c *output = crm_strdup_printf(lsb_metadata_template, type, type 1106 lib/services/services.c (xml_l_dscrpt? xml_l_dscrpt : type), type 1107 lib/services/services.c (s_dscrpt? s_dscrpt : type), type 1133 lib/services/services.c nagios_get_metadata(const char *type, char **output) type 1139 lib/services/services.c NAGIOS_METADATA_DIR, type); type 1261 lib/services/services.c heartbeat_get_metadata(const char *type, char **output) type 1263 lib/services/services.c *output = crm_strdup_printf(hb_metadata_template, type, type, type); type 159 lib/transition/graph.c if (a->type == action_type_pseudo) { type 187 lib/transition/graph.c if (action->type == action_type_pseudo) { type 191 lib/transition/graph.c } else if (action->type == action_type_rsc) { type 195 lib/transition/graph.c } else if (action->type == action_type_crm) { type 51 lib/transition/unpack.c action->type = action_type_rsc; type 56 lib/transition/unpack.c action->type = action_type_rsc; type 59 lib/transition/unpack.c action->type = action_type_pseudo; type 62 lib/transition/unpack.c action->type = action_type_crm; type 307 lib/transition/unpack.c CRM_CHECK(action->type == action_type_rsc, return NULL); type 105 lib/transition/utils.c actiontype2text(action_type_e type) type 107 lib/transition/utils.c switch (type) { type 185 lib/transition/utils.c char *desc = crm_strdup_printf("%s %s op %s", state, actiontype2text(action->type), key); type 204 lib/transition/utils.c input->id, actiontype2text(input->type), key); type 207 lib/transition/utils.c input->id, actiontype2text(input->type), key, host); type 159 lrmd/lrmd.c rsc->type = crm_element_value_copy(rsc_xml, F_LRMD_TYPE); type 199 lrmd/lrmd.c g_hash_table_insert(cmd->params, strdup("CRM_meta_type"), strdup(rsc->type)); type 1135 lrmd/lrmd.c rsc->provider, rsc->type, device_params); type 1187 lrmd/lrmd.c rsc->rsc_id, cmd->action, rsc->class, rsc->provider, rsc->type); type 1216 lrmd/lrmd.c rsc->type, type 1367 lrmd/lrmd.c free(rsc->type); type 1411 lrmd/lrmd.c safe_str_eq(rsc->provider, dup->provider) && safe_str_eq(rsc->type, dup->type)) { type 1463 lrmd/lrmd.c crm_xml_add(reply, F_LRMD_TYPE, rsc->type); type 41 lrmd/lrmd_private.h char *type; type 78 lrmd/remote_ctl.c const char *type; type 108 lrmd/remote_ctl.c if (wait_poke && event->type == lrmd_event_poke) { type 111 lrmd/remote_ctl.c if ((event->call_id == exec_call_id) && (event->type == lrmd_event_exec_complete)) { type 136 lrmd/remote_ctl.c if (event->type != lrmd_event_connect) { type 202 lrmd/remote_ctl.c options.provider, options.type, &output, 0); type 223 lrmd/remote_ctl.c options.class, options.provider, options.type, 0); type 321 lrmd/remote_ctl.c options.type = optarg; type 85 lrmd/test.c const char *type; type 110 lrmd/test.c lrmd_event_type2str(event->type), \ type 164 lrmd/test.c if (event->type != lrmd_event_connect) { type 240 lrmd/test.c options.class, options.provider, options.type, 0); type 250 lrmd/test.c rsc_info->type)); type 265 lrmd/test.c options.provider, options.type, &output, 0); type 291 lrmd/test.c rc = lrmd_conn->cmds->list_ocf_providers(lrmd_conn, options.type, &list); type 508 lrmd/test.c options.type = optarg; type 981 pengine/allocate.c && node->details->online && node->details->type != node_ping) { type 1688 pengine/allocate.c enum pe_ordering type = order->type; type 1715 pengine/allocate.c clear_bit(type, pe_order_implies_then); type 1723 pengine/allocate.c order_actions(lh_action, rh_action_iter, type); type 1725 pengine/allocate.c } else if (type & pe_order_implies_then) { type 1727 pengine/allocate.c crm_warn("Unrunnable %s 0x%.6x", rh_action_iter->uuid, type); type 1729 pengine/allocate.c crm_warn("neither %s 0x%.6x", rh_action_iter->uuid, type); type 1795 pengine/allocate.c order_actions(lh_action_iter, order->rh_action, order->type); type 2350 pengine/allocate.c order_actions(order->lh_action, order->rh_action, order->type); type 167 pengine/allocate.h enum pe_ordering type); type 170 pengine/allocate.h enum pe_action_flags filter, enum pe_ordering type); type 173 pengine/allocate.h enum pe_action_flags filter, enum pe_ordering type); type 1294 pengine/constraints.c enum pe_ordering type, pe_working_set_t * data_set) type 1315 pengine/constraints.c return custom_action_order(lh_rsc, lh_key, NULL, rh_rsc, rh_key, NULL, type, data_set); type 1470 pengine/constraints.c enum pe_ordering type, pe_working_set_t * data_set) type 1498 pengine/constraints.c order->type = type; type 585 pengine/container.c enum pe_action_flags filter, enum pe_ordering type) type 614 pengine/container.c if (type & (pe_order_runnable_left | pe_order_implies_then) /* Mandatory */ ) { type 686 pengine/container.c if (order_actions(first_action, then_action, type)) { type 689 pengine/container.c then_action->uuid, is_set(then_action->flags, pe_action_optional), type); type 695 pengine/container.c filter, type); type 743 pengine/container.c enum pe_action_flags filter, enum pe_ordering type) type 750 pengine/container.c changed = container_update_interleave_actions(first, then, node, flags, filter, type); type 757 pengine/container.c changed |= native_update_actions(first, then, node, flags, filter, type); type 771 pengine/container.c then_child->cmds->update_actions(first, then_child_action, node, flags, filter, type); type 33 pengine/graph.c gboolean rsc_update_action(action_t * first, action_t * then, enum pe_ordering type); type 190 pengine/graph.c enum pe_ordering type = order->type; type 195 pengine/graph.c if(is_set(type, pe_order_implies_then_on_node)) { type 208 pengine/graph.c clear_bit(type, pe_order_implies_then_on_node); type 209 pengine/graph.c set_bit(type, pe_order_implies_then); type 215 pengine/graph.c if (type & pe_order_implies_then) { type 234 pengine/graph.c if ((type & pe_order_restart) && then->rsc) { type 247 pengine/graph.c if (type & pe_order_implies_first) { type 272 pengine/graph.c if (type & pe_order_implies_first_master) { type 290 pengine/graph.c if (type & pe_order_one_or_more) { type 318 pengine/graph.c if (then->rsc && is_set(type, pe_order_probe)) { type 324 pengine/graph.c type = pe_order_none; type 325 pengine/graph.c order->type = pe_order_none; type 340 pengine/graph.c if (type & pe_order_runnable_left) { type 360 pengine/graph.c if (type & pe_order_implies_first_migratable) { type 374 pengine/graph.c if (type & pe_order_pseudo_left) { type 388 pengine/graph.c if (type & pe_order_optional) { type 402 pengine/graph.c if (type & pe_order_asymmetrical) { type 418 pengine/graph.c if ((first->flags & pe_action_runnable) && (type & pe_order_implies_then_printed) type 425 pengine/graph.c if (is_set(type, pe_order_implies_first_printed) && is_set(then_flags, pe_action_optional) == FALSE) { type 431 pengine/graph.c if ((type & pe_order_implies_then type 432 pengine/graph.c || type & pe_order_implies_first type 433 pengine/graph.c || type & pe_order_restart) type 452 pengine/graph.c crm_trace("Constraint 0x%.6x not applicable", type); type 580 pengine/graph.c if (is_set(other->type, pe_order_same_node) && first_node && then_node type 586 pengine/graph.c other->type = pe_order_none; type 592 pengine/graph.c if (first->rsc && is_set(other->type, pe_order_then_cancels_first) type 626 pengine/graph.c uname : "", first_flags, other->type); type 648 pengine/graph.c } else if (order_actions(first, then, other->type)) { type 659 pengine/graph.c other->type = pe_order_none; type 1415 pengine/graph.c int type = wrapper->type; type 1424 pengine/graph.c type &= ~pe_order_implies_first_printed; type 1425 pengine/graph.c type &= ~pe_order_implies_then_printed; type 1426 pengine/graph.c type &= ~pe_order_optional; type 1428 pengine/graph.c if (is_not_set(type, pe_order_preserve) type 1438 pengine/graph.c wrapper->type = pe_order_none; type 1448 pengine/graph.c } else if (wrapper->type == pe_order_none) { type 1454 pengine/graph.c && type == pe_order_none && safe_str_neq(wrapper->action->uuid, CRM_OP_PROBED)) { type 1460 pengine/graph.c && is_set(type, pe_order_one_or_more)) { type 1466 pengine/graph.c && (wrapper->type & pe_order_stonith_stop)) { type 1471 pengine/graph.c } else if ((wrapper->type & pe_order_implies_first_migratable) && (is_set(wrapper->action->flags, pe_action_runnable) == FALSE)) { type 1474 pengine/graph.c } else if ((wrapper->type & pe_order_apply_first_non_migratable) type 1478 pengine/graph.c } else if ((wrapper->type == pe_order_optional) type 1486 pengine/graph.c } else if (wrapper->type == pe_order_load) { type 1506 pengine/graph.c wrapper->type = pe_order_none; type 1514 pengine/graph.c wrapper->type = pe_order_none; type 1520 pengine/graph.c wrapper->type = pe_order_none; type 1524 pengine/graph.c } else if (wrapper->type == pe_order_anti_colocation) { type 1535 pengine/graph.c wrapper->type = pe_order_none; type 1541 pengine/graph.c wrapper->type = pe_order_none; type 1579 pengine/graph.c is_set(wrapper->action->flags, pe_action_print_always), wrapper->type); type 1600 pengine/graph.c wrapper->type); type 1621 pengine/graph.c wrapper->type); type 1659 pengine/graph.c if (wrapper->type == pe_order_load type 1680 pengine/graph.c wrapper->type = pe_order_none; type 1692 pengine/graph.c is_set(wrapper->action->flags, pe_action_print_always), wrapper->type, action->uuid); type 416 pengine/group.c enum pe_action_flags filter, enum pe_ordering type) type 422 pengine/group.c changed |= native_update_actions(first, then, node, flags, filter, type); type 429 pengine/group.c changed |= child->cmds->update_actions(first, child_action, node, flags, filter, type); type 32 pengine/master.c child_promoting_constraints(clone_variant_data_t * clone_data, enum pe_ordering type, type 40 pengine/master.c new_rsc_order(last, RSC_PROMOTE, rsc, RSC_PROMOTED, type, data_set); type 46 pengine/master.c new_rsc_order(child, RSC_PROMOTE, rsc, RSC_PROMOTED, type, data_set); type 49 pengine/master.c new_rsc_order(rsc, RSC_PROMOTE, child, RSC_PROMOTE, type, data_set); type 59 pengine/master.c order_start_start(last, child, type); type 60 pengine/master.c new_rsc_order(last, RSC_PROMOTE, child, RSC_PROMOTE, type, data_set); type 68 pengine/master.c child_demoting_constraints(clone_variant_data_t * clone_data, enum pe_ordering type, type 91 pengine/master.c new_rsc_order(child, RSC_DEMOTE, last, RSC_DEMOTE, type, data_set); type 96 pengine/master.c new_rsc_order(child, RSC_DEMOTE, rsc, RSC_DEMOTED, type, data_set); type 1211 pengine/native.c const char *type = crm_element_value(rsc->xml, XML_ATTR_TYPE); type 1221 pengine/native.c rsc->id, class, type, num_active_nodes, recovery2text(rsc->recovery_type)); type 1358 pengine/native.c int type = pe_order_optional | pe_order_implies_then | pe_order_restart; type 1362 pengine/native.c rsc, generate_op_key(rsc->id, RSC_START, 0), NULL, type, data_set); type 1883 pengine/native.c enum pe_action_flags filter, enum pe_ordering type) type 1894 pengine/native.c if (type & pe_order_asymmetrical) { type 1923 pengine/native.c if (type & pe_order_implies_first) { type 1940 pengine/native.c if (type & pe_order_implies_first_master) { type 1956 pengine/native.c if ((type & pe_order_implies_first_migratable) type 1972 pengine/native.c if ((type & pe_order_pseudo_left) type 1983 pengine/native.c if (is_set(type, pe_order_runnable_left) type 1992 pengine/native.c if (is_set(type, pe_order_implies_then) type 2004 pengine/native.c if (is_set(type, pe_order_restart)) { type 89 pengine/pengine.h enum pe_ordering type; type 130 pengine/pengine.h enum pe_ordering type, pe_working_set_t * data_set); type 134 pengine/pengine.h enum pe_ordering type, pe_working_set_t * data_set); type 136 pengine/pengine.h # define order_start_start(rsc1,rsc2, type) \ type 137 pengine/pengine.h new_rsc_order(rsc1, CRMD_ACTION_START, rsc2, CRMD_ACTION_START, type, data_set) type 138 pengine/pengine.h # define order_stop_stop(rsc1, rsc2, type) \ type 139 pengine/pengine.h new_rsc_order(rsc1, CRMD_ACTION_STOP, rsc2, CRMD_ACTION_STOP, type, data_set) type 447 pengine/ptest.c && (before->type & pe_order_stonith_stop)) { type 451 pengine/ptest.c } else if (before->type == pe_order_none) { type 175 tools/cibadmin.c } else if (xml->type != XML_ELEMENT_NODE) { type 53 tools/crm_attribute.c const char *type = NULL; type 177 tools/crm_attribute.c type = optarg; type 180 tools/crm_attribute.c type = XML_CIB_TAG_NODES; type 232 tools/crm_attribute.c if (type == NULL && dest_uname != NULL) { type 233 tools/crm_attribute.c type = "forever"; type 236 tools/crm_attribute.c if (safe_str_eq(type, "reboot")) { type 237 tools/crm_attribute.c type = XML_CIB_TAG_STATUS; type 239 tools/crm_attribute.c } else if (safe_str_eq(type, "forever")) { type 240 tools/crm_attribute.c type = XML_CIB_TAG_NODES; type 243 tools/crm_attribute.c if (type == NULL && dest_uname == NULL) { type 245 tools/crm_attribute.c type = XML_CIB_TAG_CRMCONFIG; type 247 tools/crm_attribute.c } else if (safe_str_eq(type, XML_CIB_TAG_CRMCONFIG)) { type 248 tools/crm_attribute.c } else if (safe_str_neq(type, XML_CIB_TAG_TICKETS)) { type 274 tools/crm_attribute.c || safe_str_neq(type, XML_CIB_TAG_STATUS)) { type 285 tools/crm_attribute.c && safe_str_eq(type, XML_CIB_TAG_STATUS) type 287 tools/crm_attribute.c attr_value, type, set_name, NULL, NULL, type 292 tools/crm_attribute.c rc = delete_attr_delegate(the_cib, cib_opts, type, dest_node, set_type, set_name, type 304 tools/crm_attribute.c CRM_LOG_ASSERT(type != NULL); type 308 tools/crm_attribute.c rc = update_attr_delegate(the_cib, cib_opts, type, dest_node, set_type, set_name, type 315 tools/crm_attribute.c rc = read_attr_delegate(the_cib, type, dest_node, set_type, set_name, type 331 tools/crm_attribute.c type ? "scope=" : "", type ? type : "", type 1626 tools/crm_mon.c const char *type = g_hash_table_lookup(rsc->meta, "type"); type 1634 tools/crm_mon.c if (safe_str_eq(type, "ping") || safe_str_eq(type, "pingd")) { type 3113 tools/crm_mon.c switch (node->details->type) { type 3571 tools/crm_mon.c char type = 0; type 3575 tools/crm_mon.c type = 'H'; type 3577 tools/crm_mon.c type = 'C'; type 3579 tools/crm_mon.c type = 'S'; type 3589 tools/crm_mon.c do_crm_log(level, "%c: %.*s", type, lpc - last, buf + last); type 865 tools/crm_node.c int set_cluster_type(enum cluster_type_e type); type 529 tools/crm_resource.c char *type = NULL; type 533 tools/crm_resource.c rc = crm_parse_agent_spec(optarg, &standard, &provider, &type); type 536 tools/crm_resource.c provider, type, type 351 tools/crm_simulate.c && (before->type & pe_order_stonith_stop)) { type 355 tools/crm_simulate.c } else if (before->type == pe_order_none) { type 359 tools/crm_simulate.c && before->type != pe_order_load) { type 430 tools/crmadmin.c const char *type = NULL; type 437 tools/crmadmin.c type = crm_element_value(msg, F_CRM_MSG_TYPE); type 440 tools/crmadmin.c if (type == NULL) { type 444 tools/crmadmin.c } else if (msg_type != NULL && strcasecmp(msg_type, type) != 0) { type 445 tools/crmadmin.c crm_info("Expecting a (%s) message but received a (%s).", msg_type, type); type 310 tools/ipmiservicelogd.c sl_event.type = SL_TYPE_BMC; /* one of SL_TYPE_* */