type 27 daemons/attrd/attrd_alerts.c switch (op->type) { type 133 daemons/attrd/pacemaker-attrd.h void attrd_peer_change_cb(enum crm_status_type type, crm_node_t *peer, const void *data); type 165 daemons/based/based_callbacks.c const char *type = crm_element_value(op_request, F_CIB_NOTIFY_TYPE); type 170 daemons/based/based_callbacks.c type, cib_client->name, cib_client->id, on_off ? "on" : "off"); type 172 daemons/based/based_callbacks.c if (pcmk__str_eq(type, T_CIB_POST_NOTIFY, pcmk__str_casei)) { type 175 daemons/based/based_callbacks.c } else if (pcmk__str_eq(type, T_CIB_PRE_NOTIFY, pcmk__str_casei)) { type 178 daemons/based/based_callbacks.c } else if (pcmk__str_eq(type, T_CIB_UPDATE_CONFIRM, pcmk__str_casei)) { type 181 daemons/based/based_callbacks.c } else if (pcmk__str_eq(type, T_CIB_DIFF_NOTIFY, pcmk__str_casei)) { type 184 daemons/based/based_callbacks.c } else if (pcmk__str_eq(type, T_CIB_REPLACE_NOTIFY, pcmk__str_casei)) { type 48 daemons/based/based_notify.c const char *type = NULL; type 59 daemons/based/based_notify.c type = crm_element_value(update->msg, F_SUBTYPE); type 60 daemons/based/based_notify.c CRM_LOG_ASSERT(type != NULL); type 63 daemons/based/based_notify.c && pcmk__str_eq(type, T_CIB_DIFF_NOTIFY, pcmk__str_casei)) { type 68 daemons/based/based_notify.c && pcmk__str_eq(type, T_CIB_REPLACE_NOTIFY, pcmk__str_casei)) { type 72 daemons/based/based_notify.c && pcmk__str_eq(type, T_CIB_UPDATE_CONFIRM, pcmk__str_casei)) { type 76 daemons/based/based_notify.c && pcmk__str_eq(type, T_CIB_PRE_NOTIFY, pcmk__str_casei)) { type 80 daemons/based/based_notify.c && pcmk__str_eq(type, T_CIB_POST_NOTIFY, pcmk__str_casei)) { type 97 daemons/based/based_notify.c crm_debug("Sent %s notification to client %s/%s", type, client->name, client->id); type 278 daemons/based/pacemaker-based.c cib_peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *data) type 280 daemons/based/pacemaker-based.c switch (type) { type 103 daemons/controld/controld_callbacks.c peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *data) type 121 daemons/controld/controld_callbacks.c switch (type) { type 19 daemons/controld/controld_callbacks.h extern void peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *data); type 149 daemons/controld/controld_execd.c free(history->rsc.type); type 186 daemons/controld/controld_execd.c entry->rsc.type = strdup(rsc->type); type 290 daemons/controld/controld_execd.c switch (op->type) { type 713 daemons/controld/controld_execd.c rsc->provider, rsc->type, type 718 daemons/controld/controld_execd.c rsc->id, rsc->standard, rsc->provider, rsc->type); type 727 daemons/controld/controld_execd.c rsc->id, rsc->standard, rsc->provider, rsc->type); type 736 daemons/controld/controld_execd.c crm_trace("Including additional digests for %s::%s:%s", rsc->standard, rsc->provider, rsc->type); type 788 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_ATTR_TYPE, entry->rsc.type); type 1282 daemons/controld/controld_execd.c const char *type = crm_element_value(rsc_xml, XML_ATTR_TYPE); type 1286 daemons/controld/controld_execd.c rc = lrm_state_register_rsc(lrm_state, id, class, provider, type, type 1952 daemons/controld/controld_execd.c op->type = lrmd_event_exec_complete; type 2480 daemons/controld/controld_execd.c crm_xml_add(iter, XML_ATTR_TYPE, rsc->type); type 2645 daemons/controld/controld_execd.c const char *type = crm_element_value(xml, XML_ATTR_TYPE); type 2647 daemons/controld/controld_execd.c if (standard && type) { type 2650 daemons/controld/controld_execd.c (provider? ":" : ""), (provider? provider : ""), type); type 2651 daemons/controld/controld_execd.c rsc = lrmd_new_rsc_info(op->rsc_id, standard, provider, type); type 70 daemons/controld/controld_execd_state.c event.type = lrmd_event_exec_complete; type 384 daemons/controld/controld_fencing.c if (action->type != action_type_crm || action->confirmed) { type 812 daemons/controld/controld_fencing.c fence_with_delay(const char *target, const char *type, const char *delay) type 821 daemons/controld/controld_fencing.c type, timeout_sec, 0, type 832 daemons/controld/controld_fencing.c const char *type = NULL; type 840 daemons/controld/controld_fencing.c type = crm_meta_value(action->params, "stonith_action"); type 844 daemons/controld/controld_fencing.c CRM_CHECK(type != NULL, invalid_action = TRUE); type 856 daemons/controld/controld_fencing.c type, target, id, transition_graph->stonith_timeout, type 863 daemons/controld/controld_fencing.c rc = fence_with_delay(target, type, priority_delay); type 338 daemons/controld/controld_messages.c const char *type = crm_element_value(msg, F_TYPE); type 355 daemons/controld/controld_messages.c } else if (!pcmk__str_eq(type, T_CRM, pcmk__str_casei)) { type 357 daemons/controld/controld_messages.c ref, (type? type : "missing")); type 571 daemons/controld/controld_messages.c const char *type = NULL; type 575 daemons/controld/controld_messages.c type = crm_element_value(msg, F_CRM_MSG_TYPE); type 576 daemons/controld/controld_messages.c if (pcmk__str_eq(type, XML_ATTR_REQUEST, pcmk__str_none)) { type 579 daemons/controld/controld_messages.c } else if (pcmk__str_eq(type, XML_ATTR_RESPONSE, pcmk__str_none)) { type 584 daemons/controld/controld_messages.c crm_err("Unknown message type: %s", type); type 709 daemons/controld/controld_messages.c op->type = lrmd_event_exec_complete; type 129 daemons/controld/controld_metadata.c rsc->standard, rsc->provider, rsc->type); type 134 daemons/controld/controld_metadata.c rsc->standard, rsc->provider, rsc->type); type 139 daemons/controld/controld_metadata.c rsc->standard, rsc->provider, rsc->type, version); type 188 daemons/controld/controld_metadata.c key = crm_generate_ra_key(rsc->standard, rsc->provider, rsc->type); type 197 daemons/controld/controld_metadata.c rsc->standard, rsc->provider, rsc->type); type 233 daemons/controld/controld_metadata.c rsc->standard, rsc->provider, rsc->type); type 265 daemons/controld/controld_metadata.c key = crm_generate_ra_key(rsc->standard, rsc->provider, rsc->type); type 355 daemons/controld/controld_remote_ra.c op.type = lrmd_event_exec_complete; type 508 daemons/controld/controld_remote_ra.c op.type = lrmd_event_exec_complete; type 530 daemons/controld/controld_remote_ra.c lrmd_event_type2str(op->type), op->remote_nodename, type 541 daemons/controld/controld_remote_ra.c if (op->type == lrmd_event_new_client) { type 559 daemons/controld/controld_remote_ra.c if (op->type == lrmd_event_exec_complete) { type 568 daemons/controld/controld_remote_ra.c if ((op->type == lrmd_event_disconnect) && (ra_data->cur_cmd == NULL)) { type 601 daemons/controld/controld_remote_ra.c if (op->type == lrmd_event_connect && pcmk__strcase_any_of(cmd->action, "start", type 635 daemons/controld/controld_remote_ra.c } else if (op->type == lrmd_event_poke && pcmk__str_eq(cmd->action, "monitor", pcmk__str_casei)) { type 663 daemons/controld/controld_remote_ra.c } else if (op->type == lrmd_event_disconnect && pcmk__str_eq(cmd->action, "monitor", pcmk__str_casei)) { type 673 daemons/controld/controld_remote_ra.c } else if (op->type == lrmd_event_new_client && pcmk__str_eq(cmd->action, "stop", pcmk__str_casei)) { type 908 daemons/controld/controld_remote_ra.c info->type = strdup(REMOTE_LRMD_RA); type 443 daemons/controld/controld_te_actions.c if (action->type != action_type_rsc || target == NULL) { type 519 daemons/controld/controld_te_actions.c if (action->type != action_type_rsc) { type 556 daemons/controld/controld_te_actions.c if ((action->type == action_type_rsc) type 580 daemons/controld/controld_te_actions.c const char *type = "unknown"; type 592 daemons/controld/controld_te_actions.c type = "stop"; type 598 daemons/controld/controld_te_actions.c type = "done"; type 605 daemons/controld/controld_te_actions.c type = "restart"; type 621 daemons/controld/controld_te_actions.c type = "shutdown"; type 631 daemons/controld/controld_te_actions.c crm_debug("Transition %d status: %s - %s", graph->id, type, crm_str(graph->abort_reason)); type 479 daemons/controld/controld_te_callbacks.c if (match->type == XML_COMMENT_NODE) { type 609 daemons/controld/controld_te_callbacks.c const char *type = crm_element_value(msg, F_CRM_MSG_TYPE); type 649 daemons/controld/controld_te_callbacks.c crm_err("Unknown command: %s::%s from %s", type, op, sys_from); type 711 daemons/controld/controld_te_callbacks.c if ((timer->action->type == action_type_rsc) type 51 daemons/controld/controld_te_events.c if (action->type == action_type_pseudo || action->confirmed) { type 53 daemons/controld/controld_te_events.c } else if (action->type == action_type_crm) { type 144 daemons/execd/cts-exec-helper.c const char *type; type 169 daemons/execd/cts-exec-helper.c lrmd_event_type2str(event->type), \ type 222 daemons/execd/cts-exec-helper.c if (event->type != lrmd_event_connect) { type 298 daemons/execd/cts-exec-helper.c options.class, options.provider, options.type, 0); type 308 daemons/execd/cts-exec-helper.c rsc_info->type)); type 324 daemons/execd/cts-exec-helper.c options.provider, options.type, &output, 0); type 350 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_ocf_providers(lrmd_conn, options.type, &list); type 590 daemons/execd/cts-exec-helper.c options.type = optarg; type 258 daemons/execd/execd_commands.c rsc->type = crm_element_value_copy(rsc_xml, F_LRMD_TYPE); type 925 daemons/execd/execd_commands.c rclass = resources_find_service_class(rsc->type); type 1239 daemons/execd/execd_commands.c rsc->type, device_params); type 1344 daemons/execd/execd_commands.c rsc->rsc_id, cmd->action, rsc->class, rsc->provider, rsc->type); type 1359 daemons/execd/execd_commands.c rsc->type, type 1508 daemons/execd/execd_commands.c free(rsc->type); type 1558 daemons/execd/execd_commands.c pcmk__str_eq(rsc->provider, dup->provider, pcmk__str_casei) && pcmk__str_eq(rsc->type, dup->type, pcmk__str_casei)) { type 1594 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_TYPE, rsc->type); type 29 daemons/execd/pacemaker-execd.h char *type; type 292 daemons/fenced/pacemaker-fenced.c const char *type = NULL; type 297 daemons/fenced/pacemaker-fenced.c type = crm_element_value(update_msg, F_SUBTYPE); type 298 daemons/fenced/pacemaker-fenced.c CRM_CHECK(type != NULL, crm_log_xml_err(update_msg, "notify"); return); type 305 daemons/fenced/pacemaker-fenced.c if (pcmk_is_set(client->flags, get_stonith_flag(type))) { type 311 daemons/fenced/pacemaker-fenced.c CRM_XS " id=%.8s rc=%d", type, pcmk__client_name(client), type 314 daemons/fenced/pacemaker-fenced.c crm_trace("Sent %s notification to client %s.%.6s", type, type 350 daemons/fenced/pacemaker-fenced.c do_stonith_notify(int options, const char *type, int result, xmlNode * data) type 355 daemons/fenced/pacemaker-fenced.c CRM_CHECK(type != NULL,;); type 358 daemons/fenced/pacemaker-fenced.c crm_xml_add(update_msg, F_SUBTYPE, type); type 359 daemons/fenced/pacemaker-fenced.c crm_xml_add(update_msg, F_STONITH_OPERATION, type); type 1249 daemons/fenced/pacemaker-fenced.c st_peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *data) type 1251 daemons/fenced/pacemaker-fenced.c if ((type != crm_status_processes) type 238 daemons/fenced/pacemaker-fenced.h void do_stonith_notify(int options, const char *type, int result, xmlNode * data); type 73 include/crm/cib/cib_types.h int (*signon) (cib_t *cib, const char *name, enum cib_conn_type type); type 74 include/crm/cib/cib_types.h int (*signon_raw) (cib_t *cib, const char *name, enum cib_conn_type type, type 136 include/crm/cib/cib_types.h enum cib_conn_type type; type 189 include/crm/cluster.h const char *name_for_cluster_type(enum cluster_type_e type); type 37 include/crm/cluster/internal.h enum crm_ais_msg_types type; type 282 include/crm/cluster/internal.h msg_type2text(enum crm_ais_msg_types type) type 286 include/crm/cluster/internal.h switch (type) { type 96 include/crm/common/ipc_controld.h const char *provider, const char *type); type 100 include/crm/common/ipc_controld.h const char *provider, const char *type, type 78 include/crm/common/mainloop.h qb_ipcs_service_t *mainloop_add_ipc_server(const char *name, enum qb_ipc_type type, type 101 include/crm/common/mainloop.h enum qb_ipc_type type, type 85 include/crm/common/options_internal.h const char *type; type 152 include/crm/common/util.h const char *type); type 154 include/crm/common/util.h char **type); type 175 include/crm/common/xml_internal.h while (child && (child->type == XML_TEXT_NODE)) { type 194 include/crm/common/xml_internal.h while (next && (next->type == XML_TEXT_NODE)) { type 213 include/crm/common/xml_internal.h while (child && (child->type != XML_ELEMENT_NODE)) { type 232 include/crm/common/xml_internal.h while (next && (next->type != XML_ELEMENT_NODE)) { type 222 include/crm/compatibility.h get_resource_typename(enum pe_obj_types type) type 224 include/crm/compatibility.h switch (type) { type 200 include/crm/lrmd.h enum lrmd_callback_event type; type 258 include/crm/lrmd.h char *type; type 271 include/crm/lrmd.h const char *provider, const char *type); type 538 include/crm/lrmd.h lrmd_event_type2str(enum lrmd_callback_event type) type 540 include/crm/lrmd.h switch (type) { type 136 include/crm/pengine/common.h recovery2text(enum rsc_recovery_type type) type 138 include/crm/pengine/common.h switch (type) { type 177 include/crm/pengine/internal.h enum pe_ordering type; type 552 include/crm/pengine/internal.h pe_node_t *pe_create_node(const char *id, const char *uname, const char *type, type 199 include/crm/pengine/pe_types.h enum node_type type; type 508 include/crm/pengine/pe_types.h enum pe_ordering type; type 114 include/crm/stonith-ng.h char *type; type 162 include/pcmki/pcmki_sched_allocate.h enum pe_ordering type, type 168 include/pcmki/pcmki_sched_allocate.h enum pe_ordering type, type 175 include/pcmki/pcmki_sched_allocate.h enum pe_ordering type, type 89 include/pcmki/pcmki_scheduler.h enum pe_ordering type, pe_working_set_t * data_set); type 93 include/pcmki/pcmki_scheduler.h enum pe_ordering type, pe_working_set_t * data_set); type 95 include/pcmki/pcmki_scheduler.h # define order_start_start(rsc1,rsc2, type) \ type 96 include/pcmki/pcmki_scheduler.h new_rsc_order(rsc1, CRMD_ACTION_START, rsc2, CRMD_ACTION_START, type, data_set) type 97 include/pcmki/pcmki_scheduler.h # define order_stop_stop(rsc1, rsc2, type) \ type 98 include/pcmki/pcmki_scheduler.h new_rsc_order(rsc1, CRMD_ACTION_STOP, rsc2, CRMD_ACTION_STOP, type, data_set) type 49 include/pcmki/pcmki_transition.h action_type_e type; type 135 include/pcmki/pcmki_transition.h const char *actiontype2text(action_type_e type); type 356 lib/cib/cib_client.c new_cib->type = cib_no_connection; type 65 lib/cib/cib_file.c int cib_file_signon(cib_t * cib, const char *name, enum cib_conn_type type); type 580 lib/cib/cib_file.c cib_file_signon(cib_t * cib, const char *name, enum cib_conn_type type) type 595 lib/cib/cib_file.c cib->type = cib_command; type 702 lib/cib/cib_file.c cib->type = cib_no_connection; type 50 lib/cib/cib_native.c int cib_native_signon(cib_t * cib, const char *name, enum cib_conn_type type); type 51 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 84 lib/cib/cib_native.c cib_native_signon(cib_t * cib, const char *name, enum cib_conn_type type) type 86 lib/cib/cib_native.c return cib_native_signon_raw(cib, name, type, NULL); type 92 lib/cib/cib_native.c const char *type = NULL; type 112 lib/cib/cib_native.c type = crm_element_value(msg, F_TYPE); type 113 lib/cib/cib_native.c crm_trace("Activating %s callbacks...", type); type 116 lib/cib/cib_native.c if (pcmk__str_eq(type, T_CIB, pcmk__str_casei)) { type 119 lib/cib/cib_native.c } else if (pcmk__str_eq(type, T_CIB_NOTIFY, pcmk__str_casei)) { type 123 lib/cib/cib_native.c crm_err("Unknown message type: %s", type); type 147 lib/cib/cib_native.c cib_native_signon_raw(cib_t * cib, const char *name, enum cib_conn_type type, int *async_fd) type 160 lib/cib/cib_native.c if (type == cib_command) { type 164 lib/cib/cib_native.c } else if (type == cib_command_nonblocking) { type 168 lib/cib/cib_native.c } else if (type == cib_query) { type 269 lib/cib/cib_native.c cib->type = cib_no_connection; type 764 lib/cib/cib_ops.c while (parent && parent->type == XML_ELEMENT_NODE) { type 70 lib/cib/cib_remote.c int cib_remote_signon(cib_t * cib, const char *name, enum cib_conn_type type); type 359 lib/cib/cib_remote.c const char *type = crm_element_value(msg, F_TYPE); type 361 lib/cib/cib_remote.c crm_trace("Activating %s callbacks...", type); type 363 lib/cib/cib_remote.c if (pcmk__str_eq(type, T_CIB, pcmk__str_casei)) { type 366 lib/cib/cib_remote.c } else if (pcmk__str_eq(type, T_CIB_NOTIFY, pcmk__str_casei)) { type 370 lib/cib/cib_remote.c crm_err("Unknown message type: %s", type); type 385 lib/cib/cib_remote.c cib_remote_signon(cib_t * cib, const char *name, enum cib_conn_type type) type 438 lib/cib/cib_remote.c cib->type = cib_command; type 461 lib/cib/cib_remote.c cib->type = cib_no_connection; type 33 lib/cluster/cluster.c enum cluster_type_e type = get_cluster_type(); type 43 lib/cluster/cluster.c switch (type) { type 63 lib/cluster/cluster.c enum cluster_type_e type = get_cluster_type(); type 66 lib/cluster/cluster.c name_for_cluster_type(type)); type 67 lib/cluster/cluster.c switch (type) { type 85 lib/cluster/cluster.c enum cluster_type_e type = get_cluster_type(); type 88 lib/cluster/cluster.c name_for_cluster_type(type)); type 89 lib/cluster/cluster.c switch (type) { type 236 lib/cluster/cluster.c name_for_cluster_type(enum cluster_type_e type) type 238 lib/cluster/cluster.c switch (type) { type 246 lib/cluster/cluster.c crm_err("Invalid cluster type: %d", type); type 251 lib/cluster/cluster.c int set_cluster_type(enum cluster_type_e type); type 255 lib/cluster/cluster.c set_cluster_type(enum cluster_type_e type) type 258 lib/cluster/cluster.c crm_info("Cluster type set to: %s", name_for_cluster_type(type)); type 259 lib/cluster/cluster.c cluster_type = type; type 262 lib/cluster/cluster.c } else if (cluster_type == type) { type 265 lib/cluster/cluster.c } else if (pcmk_cluster_unknown == type) { type 266 lib/cluster/cluster.c cluster_type = type; type 271 lib/cluster/cluster.c name_for_cluster_type(cluster_type), name_for_cluster_type(type)); type 424 lib/cluster/corosync.c int dest = msg->host.type; type 469 lib/cluster/corosync.c ais_dest(&(msg->sender)), msg_type2text(msg->sender.type), type 476 lib/cluster/corosync.c msg_type2text(msg->sender.type), msg->sender.pid, msg->is_compressed, type 355 lib/cluster/cpg.c msg->id, ais_dest(&(msg->host)), msg_type2text(msg->host.type), type 356 lib/cluster/cpg.c ais_dest(&(msg->sender)), msg_type2text(msg->sender.type), type 696 lib/cluster/cpg.c msg->host.type = dest; type 714 lib/cluster/cpg.c msg->sender.type = sender; type 778 lib/cluster/cpg.c int type = crm_msg_none; type 780 lib/cluster/cpg.c CRM_CHECK(text != NULL, return type); type 783 lib/cluster/cpg.c type = crm_msg_ais; type 785 lib/cluster/cpg.c type = crm_msg_cib; type 787 lib/cluster/cpg.c type = crm_msg_crmd; type 789 lib/cluster/cpg.c type = crm_msg_te; type 791 lib/cluster/cpg.c type = crm_msg_pe; type 793 lib/cluster/cpg.c type = crm_msg_lrmd; type 795 lib/cluster/cpg.c type = crm_msg_stonithd; type 797 lib/cluster/cpg.c type = crm_msg_stonith_ng; type 799 lib/cluster/cpg.c type = crm_msg_attrd; type 805 lib/cluster/cpg.c int scan_rc = sscanf(text, "%d", &type); type 807 lib/cluster/cpg.c if (scan_rc != 1 || type <= crm_msg_stonith_ng) { type 809 lib/cluster/cpg.c type = crm_msg_none; type 812 lib/cluster/cpg.c return type; type 93 lib/common/agents.c const char *type) type 95 lib/common/agents.c if (!standard && !provider && !type) { type 102 lib/common/agents.c (type? type : "")); type 121 lib/common/agents.c char **type) type 125 lib/common/agents.c CRM_CHECK(spec && standard && provider && type, return -EINVAL); type 128 lib/common/agents.c *type = NULL; type 154 lib/common/agents.c *type = strdup(spec); type 494 lib/common/ipc_controld.c const char *provider, const char *type) type 533 lib/common/ipc_controld.c crm_xml_add(xml_rsc, XML_ATTR_TYPE, type); type 570 lib/common/ipc_controld.c const char *type) type 577 lib/common/ipc_controld.c standard, provider, type); type 601 lib/common/ipc_controld.c const char *type, bool cib_only) type 608 lib/common/ipc_controld.c standard, provider, type); type 643 lib/common/mainloop.c mainloop_add_ipc_server(const char *name, enum qb_ipc_type type, type 646 lib/common/mainloop.c return mainloop_add_ipc_server_with_prio(name, type, callbacks, QB_LOOP_MED); type 650 lib/common/mainloop.c mainloop_add_ipc_server_with_prio(const char *name, enum qb_ipc_type type, type 661 lib/common/mainloop.c server = qb_ipcs_create(name, 0, pick_ipc_type(type), callbacks); type 110 lib/common/messages.c const char *type = crm_element_value(original_request, F_CRM_MSG_TYPE); type 114 lib/common/messages.c if (type == NULL) { type 116 lib/common/messages.c CRM_ASSERT(type != NULL); type 119 lib/common/messages.c } else if (strcasecmp(XML_ATTR_REQUEST, type) != 0) { type 582 lib/common/options.c option_list[lpc].type, type 657 lib/common/patchset.c if (target->type == XML_COMMENT_NODE) { type 737 lib/common/patchset.c if (target->type == XML_COMMENT_NODE) { type 1007 lib/common/patchset.c if ((cIter->type == XML_COMMENT_NODE) type 1464 lib/common/patchset.c CRM_CHECK(left->type == XML_COMMENT_NODE, return NULL); type 1503 lib/common/patchset.c if (left->type == XML_COMMENT_NODE) { type 232 lib/common/xml.c if (node->type != XML_DOCUMENT_NODE || node->name == NULL type 245 lib/common/xml.c switch(node->type) { type 262 lib/common/xml.c crm_trace("Ignoring %p %d", node, node->type); type 263 lib/common/xml.c CRM_LOG_ASSERT(node->type == XML_ELEMENT_NODE); type 375 lib/common/xml.c if (needle->type == XML_COMMENT_NODE) { type 769 lib/common/xml.c if (child->type == XML_COMMENT_NODE) { type 997 lib/common/xml.c switch (iter->type) { type 1445 lib/common/xml.c if (data->type == XML_COMMENT_NODE) { type 1492 lib/common/xml.c if(data->type == XML_COMMENT_NODE) { type 1917 lib/common/xml.c switch(data->type) { type 1935 lib/common/xml.c crm_warn("Unhandled type: %d", data->type); type 2420 lib/common/xml.c CRM_CHECK(search_comment->type == XML_COMMENT_NODE, return NULL); type 2440 lib/common/xml.c if (a_child->type == XML_COMMENT_NODE type 2467 lib/common/xml.c CRM_CHECK(update->type == XML_COMMENT_NODE, return); type 2510 lib/common/xml.c if (update->type == XML_COMMENT_NODE) { type 47 lib/common/xpath.c if (xpathObj->nodesetval->nodeTab[lpc] && xpathObj->nodesetval->nodeTab[lpc]->type != XML_NAMESPACE_DECL) { type 77 lib/common/xpath.c if (xpathObj->nodesetval->nodeTab[index]->type != XML_NAMESPACE_DECL) { type 82 lib/common/xpath.c if (match->type == XML_DOCUMENT_NODE) { type 86 lib/common/xpath.c } else if (match->type != XML_ELEMENT_NODE type 87 lib/common/xpath.c && match->parent && match->parent->type == XML_ELEMENT_NODE) { type 91 lib/common/xpath.c } else if (match->type != XML_ELEMENT_NODE) { type 93 lib/common/xpath.c crm_err("We only support %d not %d", XML_ELEMENT_NODE, match->type); type 1419 lib/fencing/st_client.c const char *type = NULL; type 1436 lib/fencing/st_client.c type = crm_element_value(blob.xml, F_TYPE); type 1437 lib/fencing/st_client.c crm_trace("Activating %s callbacks...", type); type 1439 lib/fencing/st_client.c if (pcmk__str_eq(type, T_STONITH_NG, pcmk__str_casei)) { type 1442 lib/fencing/st_client.c } else if (pcmk__str_eq(type, T_STONITH_NOTIFY, pcmk__str_casei)) { type 1444 lib/fencing/st_client.c } else if (pcmk__str_eq(type, T_STONITH_TIMEOUT_VALUE, pcmk__str_casei)) { type 1453 lib/fencing/st_client.c crm_err("Unknown message type: %s", type); type 1776 lib/fencing/st_client.c free(event->type); type 65 lib/gnu/stdalign.in.h # define _Alignof(type) alignof (type) type 68 lib/gnu/stdalign.in.h # define _Alignof(type) offsetof (__alignof_helper<type>, __b) type 71 lib/gnu/stdalign.in.h # define _Alignof(type) offsetof (struct { char __a; type __b; }, __b) type 70 lib/lrmd/lrmd_client.c uint64_t type; type 257 lib/lrmd/lrmd_client.c const char *type; type 273 lib/lrmd/lrmd_client.c type = crm_element_value(msg, F_LRMD_OPERATION); type 277 lib/lrmd/lrmd_client.c if (pcmk__str_eq(type, LRMD_OP_RSC_REG, pcmk__str_none)) { type 278 lib/lrmd/lrmd_client.c event.type = lrmd_event_register; type 279 lib/lrmd/lrmd_client.c } else if (pcmk__str_eq(type, LRMD_OP_RSC_UNREG, pcmk__str_none)) { type 280 lib/lrmd/lrmd_client.c event.type = lrmd_event_unregister; type 281 lib/lrmd/lrmd_client.c } else if (pcmk__str_eq(type, LRMD_OP_RSC_EXEC, pcmk__str_none)) { type 304 lib/lrmd/lrmd_client.c event.type = lrmd_event_exec_complete; type 307 lib/lrmd/lrmd_client.c } else if (pcmk__str_eq(type, LRMD_OP_NEW_CLIENT, pcmk__str_none)) { type 308 lib/lrmd/lrmd_client.c event.type = lrmd_event_new_client; type 309 lib/lrmd/lrmd_client.c } else if (pcmk__str_eq(type, LRMD_OP_POKE, pcmk__str_none)) { type 310 lib/lrmd/lrmd_client.c event.type = lrmd_event_poke; type 315 lib/lrmd/lrmd_client.c crm_trace("op %s notify event received", type); type 438 lib/lrmd/lrmd_client.c switch (native->type) { type 460 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); type 475 lib/lrmd/lrmd_client.c switch (private->type) { type 491 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", private->type); type 541 lib/lrmd/lrmd_client.c event.type = lrmd_event_disconnect; type 587 lib/lrmd/lrmd_client.c event.type = lrmd_event_disconnect; type 758 lib/lrmd/lrmd_client.c switch (native->type) { type 768 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); type 780 lib/lrmd/lrmd_client.c switch (native->type) { type 796 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); type 807 lib/lrmd/lrmd_client.c switch (native->type) { type 815 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); type 918 lib/lrmd/lrmd_client.c (native->type == pcmk__client_ipc)); type 938 lib/lrmd/lrmd_client.c (native->type == pcmk__client_ipc)); type 1166 lib/lrmd/lrmd_client.c event.type = lrmd_event_connect; type 1356 lib/lrmd/lrmd_client.c switch (native->type) { type 1366 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); type 1384 lib/lrmd/lrmd_client.c switch (native->type) { type 1403 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); type 1471 lib/lrmd/lrmd_client.c pcmk__client_type_str(native->type), type 1473 lib/lrmd/lrmd_client.c switch (native->type) { type 1483 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); type 1498 lib/lrmd/lrmd_client.c const char *provider, const char *type, enum lrmd_call_options options) type 1503 lib/lrmd/lrmd_client.c if (!class || !type || !rsc_id) { type 1517 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_TYPE, type); type 1540 lib/lrmd/lrmd_client.c const char *provider, const char *type) type 1557 lib/lrmd/lrmd_client.c if (type) { type 1558 lib/lrmd/lrmd_client.c rsc_info->type = strdup(type); type 1559 lib/lrmd/lrmd_client.c CRM_ASSERT(rsc_info->type); type 1568 lib/lrmd/lrmd_client.c rsc_info->provider, rsc_info->type); type 1578 lib/lrmd/lrmd_client.c free(rsc_info->type); type 1592 lib/lrmd/lrmd_client.c const char *type = NULL; type 1605 lib/lrmd/lrmd_client.c type = crm_element_value(output, F_LRMD_TYPE); type 1607 lib/lrmd/lrmd_client.c if (!class || !type) { type 1616 lib/lrmd/lrmd_client.c rsc_info = lrmd_new_rsc_info(rsc_id, class, provider, type); type 1731 lib/lrmd/lrmd_client.c stonith_get_metadata(const char *provider, const char *type, char **output) type 1741 lib/lrmd/lrmd_client.c rc = stonith_api->cmds->metadata(stonith_api, st_opt_sync_call, type, type 1752 lib/lrmd/lrmd_client.c const char *type, char **output, type 1755 lib/lrmd/lrmd_client.c return lrmd->cmds->get_metadata_params(lrmd, standard, provider, type, type 1761 lib/lrmd/lrmd_client.c const char *provider, const char *type, type 1768 lib/lrmd/lrmd_client.c if (!standard || !type) { type 1775 lib/lrmd/lrmd_client.c return stonith_get_metadata(provider, type, output); type 1782 lib/lrmd/lrmd_client.c action = resources_action_create(type, standard, provider, type, type 1790 lib/lrmd/lrmd_client.c standard, provider, type); type 1796 lib/lrmd/lrmd_client.c standard, provider, type); type 1803 lib/lrmd/lrmd_client.c standard, provider, type); type 2029 lib/lrmd/lrmd_client.c pvt->type = pcmk__client_ipc; type 2066 lib/lrmd/lrmd_client.c native->type = pcmk__client_tls; type 257 lib/lrmd/proxy_common.c const char *type = crm_element_value(request, F_TYPE); type 260 lib/lrmd/proxy_common.c if (pcmk__str_eq(type, T_ATTRD, pcmk__str_casei) type 1095 lib/pacemaker/pcmk_sched_allocate.c && (node->details->type != node_ping)) { type 1797 lib/pacemaker/pcmk_sched_allocate.c enum pe_ordering type; type 1802 lib/pacemaker/pcmk_sched_allocate.c type = order->type; type 1827 lib/pacemaker/pcmk_sched_allocate.c pe__clear_order_flags(type, pe_order_implies_then); type 1835 lib/pacemaker/pcmk_sched_allocate.c order_actions(lh_action, rh_action_iter, type); type 1837 lib/pacemaker/pcmk_sched_allocate.c } else if (type & pe_order_implies_then) { type 1840 lib/pacemaker/pcmk_sched_allocate.c crm_warn("Unrunnable %s 0x%.6x", rh_action_iter->uuid, type); type 1842 lib/pacemaker/pcmk_sched_allocate.c crm_warn("neither %s 0x%.6x", rh_action_iter->uuid, type); type 1907 lib/pacemaker/pcmk_sched_allocate.c order_actions(lh_action_iter, order->rh_action, order->type); type 2420 lib/pacemaker/pcmk_sched_allocate.c if (order->type == pe_order_none) { type 2425 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(order->type, pe_order_apply_first_non_migratable)) { type 2430 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(order->type, pe_order_same_node)) { type 2435 lib/pacemaker/pcmk_sched_allocate.c if (order->type == pe_order_anti_colocation type 2436 lib/pacemaker/pcmk_sched_allocate.c || order->type == pe_order_load) { type 2437 lib/pacemaker/pcmk_sched_allocate.c order_type = order->type; type 2461 lib/pacemaker/pcmk_sched_allocate.c order->id, order->type); type 2575 lib/pacemaker/pcmk_sched_allocate.c if (!pcmk_is_set(after_wrapper->type, pe_order_implies_then)) { type 2608 lib/pacemaker/pcmk_sched_allocate.c after_wrapper->type); type 2832 lib/pacemaker/pcmk_sched_allocate.c order_actions(order->lh_action, order->rh_action, order->type); type 2862 lib/pacemaker/pcmk_sched_allocate.c input->type = pe_order_none; type 641 lib/pacemaker/pcmk_sched_bundle.c enum pe_ordering type, type 674 lib/pacemaker/pcmk_sched_bundle.c if (type & (pe_order_runnable_left | pe_order_implies_then) /* Mandatory */ ) { type 750 lib/pacemaker/pcmk_sched_bundle.c if (order_actions(first_action, then_action, type)) { type 756 lib/pacemaker/pcmk_sched_bundle.c type); type 764 lib/pacemaker/pcmk_sched_bundle.c filter, type, data_set); type 815 lib/pacemaker/pcmk_sched_bundle.c enum pe_action_flags filter, enum pe_ordering type, type 824 lib/pacemaker/pcmk_sched_bundle.c filter, type, data_set); type 832 lib/pacemaker/pcmk_sched_bundle.c type, data_set); type 846 lib/pacemaker/pcmk_sched_bundle.c then_child_action, node, flags, filter, type, data_set); type 1403 lib/pacemaker/pcmk_sched_constraints.c enum pe_ordering type, pe_working_set_t * data_set) type 1425 lib/pacemaker/pcmk_sched_constraints.c return custom_action_order(lh_rsc, lh_key, NULL, rh_rsc, rh_key, NULL, type, data_set); type 1581 lib/pacemaker/pcmk_sched_constraints.c enum pe_ordering type, pe_working_set_t * data_set) type 1609 lib/pacemaker/pcmk_sched_constraints.c order->type = type; type 23 lib/pacemaker/pcmk_sched_graph.c gboolean rsc_update_action(pe_action_t * first, pe_action_t * then, enum pe_ordering type); type 181 lib/pacemaker/pcmk_sched_graph.c enum pe_ordering type = order->type; type 186 lib/pacemaker/pcmk_sched_graph.c if (pcmk_is_set(type, pe_order_implies_then_on_node)) { type 199 lib/pacemaker/pcmk_sched_graph.c pe__clear_order_flags(type, pe_order_implies_then_on_node); type 200 lib/pacemaker/pcmk_sched_graph.c pe__set_order_flags(type, pe_order_implies_then); type 207 lib/pacemaker/pcmk_sched_graph.c if (type & pe_order_implies_then) { type 226 lib/pacemaker/pcmk_sched_graph.c if ((type & pe_order_restart) && then->rsc) { type 240 lib/pacemaker/pcmk_sched_graph.c if (type & pe_order_implies_first) { type 265 lib/pacemaker/pcmk_sched_graph.c if (type & pe_order_implies_first_master) { type 283 lib/pacemaker/pcmk_sched_graph.c if (type & pe_order_one_or_more) { type 311 lib/pacemaker/pcmk_sched_graph.c if (then->rsc && pcmk_is_set(type, pe_order_probe)) { type 319 lib/pacemaker/pcmk_sched_graph.c type = pe_order_none; type 320 lib/pacemaker/pcmk_sched_graph.c order->type = pe_order_none; type 336 lib/pacemaker/pcmk_sched_graph.c if (type & pe_order_runnable_left) { type 356 lib/pacemaker/pcmk_sched_graph.c if (type & pe_order_implies_first_migratable) { type 370 lib/pacemaker/pcmk_sched_graph.c if (type & pe_order_pseudo_left) { type 384 lib/pacemaker/pcmk_sched_graph.c if (type & pe_order_optional) { type 397 lib/pacemaker/pcmk_sched_graph.c if (type & pe_order_asymmetrical) { type 413 lib/pacemaker/pcmk_sched_graph.c if ((first->flags & pe_action_runnable) && (type & pe_order_implies_then_printed) type 420 lib/pacemaker/pcmk_sched_graph.c if (pcmk_is_set(type, pe_order_implies_first_printed) type 428 lib/pacemaker/pcmk_sched_graph.c if ((type & pe_order_implies_then type 429 lib/pacemaker/pcmk_sched_graph.c || type & pe_order_implies_first type 430 lib/pacemaker/pcmk_sched_graph.c || type & pe_order_restart) type 449 lib/pacemaker/pcmk_sched_graph.c crm_trace("Constraint 0x%.6x not applicable", type); type 581 lib/pacemaker/pcmk_sched_graph.c if (pcmk_is_set(other->type, pe_order_same_node) type 588 lib/pacemaker/pcmk_sched_graph.c other->type = pe_order_none; type 594 lib/pacemaker/pcmk_sched_graph.c if (first->rsc && pcmk_is_set(other->type, pe_order_then_cancels_first) type 629 lib/pacemaker/pcmk_sched_graph.c first_flags, other->type); type 652 lib/pacemaker/pcmk_sched_graph.c } else if (order_actions(first, then, other->type)) { type 664 lib/pacemaker/pcmk_sched_graph.c other->type = pe_order_none; type 1486 lib/pacemaker/pcmk_sched_graph.c int type = input->type; type 1492 lib/pacemaker/pcmk_sched_graph.c pe__clear_order_flags(type, pe_order_implies_first_printed type 1496 lib/pacemaker/pcmk_sched_graph.c if (input->type == pe_order_none) { type 1504 lib/pacemaker/pcmk_sched_graph.c && (type == pe_order_none) type 1513 lib/pacemaker/pcmk_sched_graph.c && pcmk_is_set(input->type, pe_order_one_or_more)) { type 1521 lib/pacemaker/pcmk_sched_graph.c && pcmk_is_set(input->type, pe_order_stonith_stop)) { type 1528 lib/pacemaker/pcmk_sched_graph.c } else if (pcmk_is_set(input->type, pe_order_implies_first_migratable) type 1536 lib/pacemaker/pcmk_sched_graph.c } else if (pcmk_is_set(input->type, pe_order_apply_first_non_migratable) type 1544 lib/pacemaker/pcmk_sched_graph.c } else if ((input->type == pe_order_optional) type 1553 lib/pacemaker/pcmk_sched_graph.c } else if (input->type == pe_order_load) { type 1572 lib/pacemaker/pcmk_sched_graph.c input->type = pe_order_none; type 1584 lib/pacemaker/pcmk_sched_graph.c input->type = pe_order_none; type 1592 lib/pacemaker/pcmk_sched_graph.c input->type = pe_order_none; type 1596 lib/pacemaker/pcmk_sched_graph.c } else if (input->type == pe_order_anti_colocation) { type 1605 lib/pacemaker/pcmk_sched_graph.c input->type = pe_order_none; type 1613 lib/pacemaker/pcmk_sched_graph.c input->type = pe_order_none; type 1646 lib/pacemaker/pcmk_sched_graph.c input->type); type 1662 lib/pacemaker/pcmk_sched_graph.c input->type); type 1688 lib/pacemaker/pcmk_sched_graph.c input->type, type 1713 lib/pacemaker/pcmk_sched_graph.c input->type); type 1724 lib/pacemaker/pcmk_sched_graph.c if (!pcmk_is_set(input->type, pe_order_preserve) type 1741 lib/pacemaker/pcmk_sched_graph.c if ((input->type == pe_order_load) && action->rsc type 1773 lib/pacemaker/pcmk_sched_graph.c last_input->type |= input->type; type 428 lib/pacemaker/pcmk_sched_group.c enum pe_ordering type, pe_working_set_t *data_set) type 434 lib/pacemaker/pcmk_sched_group.c changed |= native_update_actions(first, then, node, flags, filter, type, type 443 lib/pacemaker/pcmk_sched_group.c flags, filter, type, type 2138 lib/pacemaker/pcmk_sched_native.c enum pe_ordering type, pe_working_set_t *data_set) type 2149 lib/pacemaker/pcmk_sched_native.c if (type & pe_order_asymmetrical) { type 2181 lib/pacemaker/pcmk_sched_native.c if (type & pe_order_implies_first) { type 2199 lib/pacemaker/pcmk_sched_native.c if (type & pe_order_implies_first_master) { type 2215 lib/pacemaker/pcmk_sched_native.c if ((type & pe_order_implies_first_migratable) type 2231 lib/pacemaker/pcmk_sched_native.c if ((type & pe_order_pseudo_left) type 2242 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(type, pe_order_runnable_left) type 2251 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(type, pe_order_implies_then) type 2263 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(type, pe_order_restart)) { type 21 lib/pacemaker/pcmk_sched_promotable.c child_promoting_constraints(clone_variant_data_t * clone_data, enum pe_ordering type, type 29 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(last, RSC_PROMOTE, rsc, RSC_PROMOTED, type, data_set); type 35 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(child, RSC_PROMOTE, rsc, RSC_PROMOTED, type, data_set); type 38 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(rsc, RSC_PROMOTE, child, RSC_PROMOTE, type, data_set); type 48 lib/pacemaker/pcmk_sched_promotable.c order_start_start(last, child, type); type 49 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(last, RSC_PROMOTE, child, RSC_PROMOTE, type, data_set); type 57 lib/pacemaker/pcmk_sched_promotable.c child_demoting_constraints(clone_variant_data_t * clone_data, enum pe_ordering type, type 80 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(child, RSC_DEMOTE, last, RSC_DEMOTE, type, data_set); type 85 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(child, RSC_DEMOTE, rsc, RSC_DEMOTED, type, data_set); type 148 lib/pacemaker/pcmk_trans_graph.c if (a->type == action_type_pseudo) { type 176 lib/pacemaker/pcmk_trans_graph.c if (action->type == action_type_pseudo) { type 180 lib/pacemaker/pcmk_trans_graph.c } else if (action->type == action_type_rsc) { type 184 lib/pacemaker/pcmk_trans_graph.c } else if (action->type == action_type_crm) { type 41 lib/pacemaker/pcmk_trans_unpack.c action->type = action_type_rsc; type 46 lib/pacemaker/pcmk_trans_unpack.c action->type = action_type_rsc; type 49 lib/pacemaker/pcmk_trans_unpack.c action->type = action_type_pseudo; type 52 lib/pacemaker/pcmk_trans_unpack.c action->type = action_type_crm; type 304 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(action->type == action_type_rsc, return NULL); type 94 lib/pacemaker/pcmk_trans_utils.c actiontype2text(action_type_e type) type 96 lib/pacemaker/pcmk_trans_utils.c switch (type) { type 189 lib/pacemaker/pcmk_trans_utils.c input->id, actiontype2text(input->type), key, type 203 lib/pacemaker/pcmk_trans_utils.c actiontype2text(action->type), key); type 260 lib/pengine/clone.c short_print(char *list, const char *prefix, const char *type, const char *suffix, long options, void *print_data) type 270 lib/pengine/clone.c status_print("%s%s: [ %s ]%s", prefix, type, list, suffix); type 1341 lib/pengine/native.c char *type = NULL; type 1347 lib/pengine/native.c while (g_hash_table_iter_next(&hash_iter, (gpointer *)&type, (gpointer *)&rsc_counter)) { type 1355 lib/pengine/native.c int *active_counter = g_hash_table_lookup(node_table, type); type 1375 lib/pengine/native.c rsc_counter ? *rsc_counter : 0, type, type 1379 lib/pengine/native.c active_counter ? *active_counter : 0, type, type 1395 lib/pengine/native.c rsc_counter ? *rsc_counter : 0, type); type 1431 lib/pengine/native.c char *type = (char *) gIter->data; type 1432 lib/pengine/native.c int *rsc_counter = g_hash_table_lookup(rsc_table, type); type 1441 lib/pengine/native.c int *active_counter = g_hash_table_lookup(node_table, type); type 1457 lib/pengine/native.c rsc_counter ? *rsc_counter : 0, type, type 1461 lib/pengine/native.c *active_counter, type, type 1471 lib/pengine/native.c rsc_counter ? *rsc_counter : 0, type); type 1178 lib/pengine/pe_output.c switch (node->details->type) { type 27 lib/pengine/remote.c return (node != NULL) && (node->details->type == node_remote) type 35 lib/pengine/remote.c return (node != NULL) && (node->details->type == node_remote) type 43 lib/pengine/remote.c return (node != NULL) && (node->details->type == node_remote); type 968 lib/pengine/rules.c compare_attr_expr_vals(const char *l_val, const char *r_val, const char *type, type 974 lib/pengine/rules.c if (type == NULL) { type 977 lib/pengine/rules.c type = "number"; type 979 lib/pengine/rules.c type = "integer"; type 983 lib/pengine/rules.c type = "string"; type 985 lib/pengine/rules.c crm_trace("Defaulting to %s based comparison for '%s' op", type, op); type 988 lib/pengine/rules.c if (pcmk__str_eq(type, "string", pcmk__str_casei)) { type 991 lib/pengine/rules.c } else if (pcmk__str_eq(type, "integer", pcmk__str_casei)) { type 1013 lib/pengine/rules.c } else if (pcmk__str_eq(type, "number", pcmk__str_casei)) { type 1035 lib/pengine/rules.c } else if (pcmk__str_eq(type, "version", pcmk__str_casei)) { type 1066 lib/pengine/rules.c accept_attr_expr(const char *l_val, const char *r_val, const char *type, type 1079 lib/pengine/rules.c cmp = compare_attr_expr_vals(l_val, r_val, type, op); type 1115 lib/pengine/rules.c const char *type = NULL; type 1123 lib/pengine/rules.c type = crm_element_value(expr, XML_EXPR_ATTR_TYPE); type 1169 lib/pengine/rules.c return accept_attr_expr(h_val, value, type, op); type 1334 lib/pengine/rules.c const char *type = crm_element_value(expr, XML_EXPR_ATTR_TYPE); type 1356 lib/pengine/rules.c if (type != NULL && type 1357 lib/pengine/rules.c !pcmk__str_eq(type, rule_data->rsc_data->agent, pcmk__str_none)) { type 1358 lib/pengine/rules.c crm_trace("Agent doesn't match: %s != %s", type, rule_data->rsc_data->agent); type 396 lib/pengine/unpack.c pe_create_node(const char *id, const char *uname, const char *type, type 426 lib/pengine/unpack.c new_node->details->type = node_ping; type 428 lib/pengine/unpack.c if (pcmk__str_eq(type, "remote", pcmk__str_casei)) { type 429 lib/pengine/unpack.c new_node->details->type = node_remote; type 431 lib/pengine/unpack.c } else if (pcmk__str_eq(type, "member", pcmk__str_null_matches | pcmk__str_casei)) { type 432 lib/pengine/unpack.c new_node->details->type = node_member; type 515 lib/pengine/unpack.c if ((new_node->details->type == node_remote) && (new_node->details->remote_rsc == NULL)) { type 544 lib/pengine/unpack.c const char *type = NULL; type 564 lib/pengine/unpack.c type = crm_element_value(xml_obj, XML_ATTR_TYPE); type 573 lib/pengine/unpack.c new_node = pe_create_node(id, uname, type, score, data_set); type 1480 lib/pengine/unpack.c if (this_node->details->type == node_ping) { type 1509 lib/pengine/unpack.c if (this_node->details->type == node_ping) { type 1907 lib/pengine/utils.c if (after->action == rh_action && (after->type & order)) { type 1914 lib/pengine/utils.c wrapper->type = order; type 1921 lib/pengine/utils.c wrapper->type = order; type 2391 lib/pengine/utils.c if (node->details->type != node_member) { type 2403 lib/pengine/utils.c if (n->details->type != node_member) { type 102 lib/services/services_lsb.c services__get_lsb_metadata(const char *type, char **output) type 120 lib/services/services_lsb.c if (type[0] == '/') { type 121 lib/services/services_lsb.c snprintf(ra_pathname, sizeof(ra_pathname), "%s", type); type 124 lib/services/services_lsb.c LSB_ROOT_DIR, type); type 218 lib/services/services_lsb.c *output = crm_strdup_printf(lsb_metadata_template, type, type 219 lib/services/services_lsb.c (xml_l_dscrpt? xml_l_dscrpt : type), type 220 lib/services/services_lsb.c (s_dscrpt? s_dscrpt : type), type 11 lib/services/services_lsb.h G_GNUC_INTERNAL int services__get_lsb_metadata(const char *type, char **output); type 84 lib/services/services_nagios.c services__get_nagios_metadata(const char *type, char **output) type 89 lib/services/services_nagios.c char *metadata_file = nagios_metadata_name(type); type 20 lib/services/services_nagios.h int services__get_nagios_metadata(const char *type, char **output); type 47 maint/mocked/based-notifyfenced.c const char *type = NULL; type 64 maint/mocked/based-notifyfenced.c type = crm_element_value(update.msg, F_SUBTYPE); type 65 maint/mocked/based-notifyfenced.c CRM_LOG_ASSERT(type != NULL); type 67 maint/mocked/based-notifyfenced.c && pcmk__str_eq(type, T_CIB_DIFF_NOTIFY, pcmk__str_casei)) { type 149 maint/mocked/based.c const char *type = crm_element_value(op_request, F_CIB_NOTIFY_TYPE); type 153 maint/mocked/based.c type, cib_client->name, cib_client->id, on_off ? "on" : "off"); type 155 maint/mocked/based.c if (!strcmp(type, T_CIB_DIFF_NOTIFY) && on_off) { type 358 tools/cibadmin.c } else if (xml->type != XML_ELEMENT_NODE) { type 44 tools/crm_attribute.c const char *type = NULL; type 307 tools/crm_attribute.c type = optarg; type 310 tools/crm_attribute.c type = XML_CIB_TAG_NODES; type 364 tools/crm_attribute.c if (type == NULL && dest_uname != NULL) { type 365 tools/crm_attribute.c type = "forever"; type 368 tools/crm_attribute.c if (pcmk__str_eq(type, "reboot", pcmk__str_casei)) { type 369 tools/crm_attribute.c type = XML_CIB_TAG_STATUS; type 371 tools/crm_attribute.c } else if (pcmk__str_eq(type, "forever", pcmk__str_casei)) { type 372 tools/crm_attribute.c type = XML_CIB_TAG_NODES; type 375 tools/crm_attribute.c if (type == NULL && dest_uname == NULL) { type 377 tools/crm_attribute.c type = XML_CIB_TAG_CRMCONFIG; type 379 tools/crm_attribute.c } else if (pcmk__str_eq(type, XML_CIB_TAG_CRMCONFIG, pcmk__str_casei)) { type 380 tools/crm_attribute.c } else if (!pcmk__str_eq(type, XML_CIB_TAG_TICKETS, pcmk__str_casei)) { type 406 tools/crm_attribute.c || !pcmk__str_eq(type, XML_CIB_TAG_STATUS, pcmk__str_casei)) { type 417 tools/crm_attribute.c try_attrd = pcmk__str_eq(type, XML_CIB_TAG_STATUS, pcmk__str_casei); type 429 tools/crm_attribute.c attr_value, type, set_name, NULL, NULL, type 435 tools/crm_attribute.c rc = delete_attr_delegate(the_cib, cib_opts, type, dest_node, set_type, set_name, type 447 tools/crm_attribute.c CRM_LOG_ASSERT(type != NULL); type 451 tools/crm_attribute.c rc = update_attr_delegate(the_cib, cib_opts, type, dest_node, set_type, set_name, type 458 tools/crm_attribute.c rc = read_attr_delegate(the_cib, type, dest_node, set_type, set_name, type 475 tools/crm_attribute.c type ? "scope=" : "", type ? type : "", type 339 tools/crm_mon_print.c const char *type = g_hash_table_lookup(rsc->meta, "type"); type 348 tools/crm_mon_print.c if (!pcmk__strcase_any_of(type, "ping", "pingd", NULL)) { type 1356 tools/crm_resource.c char *type = NULL; type 1360 tools/crm_resource.c rc = crm_parse_agent_spec(agent_spec, &standard, &provider, &type); type 1365 tools/crm_resource.c provider, type, type 672 tools/crm_simulate.c && (before->type & pe_order_stonith_stop)) { type 674 tools/crm_simulate.c } else if (before->type == pe_order_none) { type 678 tools/crm_simulate.c && before->type != pe_order_load) { type 305 tools/ipmiservicelogd.c sl_event.type = SL_TYPE_BMC; /* one of SL_TYPE_* */