type 27 daemons/attrd/attrd_alerts.c switch (op->type) { type 136 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, (on_off? "on" : "off"), pcmk__client_name(cib_client)); 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 49 daemons/based/based_notify.c const char *type = NULL; type 61 daemons/based/based_notify.c type = crm_element_value(update->msg, F_SUBTYPE); type 62 daemons/based/based_notify.c CRM_LOG_ASSERT(type != NULL); type 65 daemons/based/based_notify.c && pcmk__str_eq(type, T_CIB_DIFF_NOTIFY, pcmk__str_casei)) { type 70 daemons/based/based_notify.c && pcmk__str_eq(type, T_CIB_REPLACE_NOTIFY, pcmk__str_casei)) { type 74 daemons/based/based_notify.c && pcmk__str_eq(type, T_CIB_UPDATE_CONFIRM, pcmk__str_casei)) { type 78 daemons/based/based_notify.c && pcmk__str_eq(type, T_CIB_PRE_NOTIFY, pcmk__str_casei)) { type 82 daemons/based/based_notify.c && pcmk__str_eq(type, T_CIB_POST_NOTIFY, pcmk__str_casei)) { type 103 daemons/based/based_notify.c type, pcmk__client_name(client), 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 21 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 292 daemons/controld/controld_execd.c switch (op->type) { type 733 daemons/controld/controld_execd.c rsc->standard, rsc->provider, rsc->type); type 785 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_ATTR_TYPE, entry->rsc.type); type 1279 daemons/controld/controld_execd.c const char *type = crm_element_value(rsc_xml, XML_ATTR_TYPE); type 1283 daemons/controld/controld_execd.c rc = lrm_state_register_rsc(lrm_state, id, class, provider, type, type 1955 daemons/controld/controld_execd.c op->type = lrmd_event_exec_complete; type 2483 daemons/controld/controld_execd.c crm_xml_add(iter, XML_ATTR_TYPE, rsc->type); type 2648 daemons/controld/controld_execd.c const char *type = crm_element_value(xml, XML_ATTR_TYPE); type 2650 daemons/controld/controld_execd.c if (standard && type) { type 2653 daemons/controld/controld_execd.c (provider? ":" : ""), (provider? provider : ""), type); type 2654 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 382 daemons/controld/controld_fencing.c if (action->type != action_type_crm || action->confirmed) { type 811 daemons/controld/controld_fencing.c fence_with_delay(const char *target, const char *type, const char *delay) type 822 daemons/controld/controld_fencing.c type, timeout_sec, 0, delay_i); 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 566 daemons/controld/controld_messages.c const char *type = NULL; type 570 daemons/controld/controld_messages.c type = crm_element_value(msg, F_CRM_MSG_TYPE); type 571 daemons/controld/controld_messages.c if (pcmk__str_eq(type, XML_ATTR_REQUEST, pcmk__str_none)) { type 574 daemons/controld/controld_messages.c } else if (pcmk__str_eq(type, XML_ATTR_RESPONSE, pcmk__str_none)) { type 579 daemons/controld/controld_messages.c crm_err("Unknown message type: %s", type); type 700 daemons/controld/controld_messages.c op->type = lrmd_event_exec_complete; type 128 daemons/controld/controld_metadata.c rsc->standard, rsc->provider, rsc->type); type 133 daemons/controld/controld_metadata.c rsc->standard, rsc->provider, rsc->type); type 138 daemons/controld/controld_metadata.c rsc->standard, rsc->provider, rsc->type, version); type 215 daemons/controld/controld_metadata.c key = crm_generate_ra_key(rsc->standard, rsc->provider, rsc->type); type 224 daemons/controld/controld_metadata.c rsc->standard, rsc->provider, rsc->type); type 283 daemons/controld/controld_metadata.c rsc->standard, rsc->provider, rsc->type); type 347 daemons/controld/controld_metadata.c key = crm_generate_ra_key(rsc->standard, rsc->provider, rsc->type); type 374 daemons/controld/controld_metadata.c rsc->type, &metadata_str, 0); type 377 daemons/controld/controld_metadata.c rsc->id, rsc->standard, rsc->provider, rsc->type, type 387 daemons/controld/controld_metadata.c rsc->id, 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 917 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 461 daemons/controld/controld_te_callbacks.c if (match->type == XML_COMMENT_NODE) { type 591 daemons/controld/controld_te_callbacks.c const char *type = crm_element_value(msg, F_CRM_MSG_TYPE); type 631 daemons/controld/controld_te_callbacks.c crm_err("Unknown command: %s::%s from %s", type, op, sys_from); type 693 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 588 daemons/execd/cts-exec-helper.c options.type = optarg; type 266 daemons/execd/execd_commands.c rsc->type = crm_element_value_copy(rsc_xml, F_LRMD_TYPE); type 945 daemons/execd/execd_commands.c rclass = resources_find_service_class(rsc->type); type 1259 daemons/execd/execd_commands.c rsc->type, device_params); type 1364 daemons/execd/execd_commands.c rsc->rsc_id, cmd->action, rsc->class, rsc->provider, rsc->type); type 1379 daemons/execd/execd_commands.c rsc->type, type 1536 daemons/execd/execd_commands.c free(rsc->type); type 1586 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 1622 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_TYPE, rsc->type); type 29 daemons/execd/pacemaker-execd.h char *type; type 301 daemons/fenced/pacemaker-fenced.c const char *type = NULL; type 306 daemons/fenced/pacemaker-fenced.c type = crm_element_value(update_msg, F_SUBTYPE); type 307 daemons/fenced/pacemaker-fenced.c CRM_CHECK(type != NULL, crm_log_xml_err(update_msg, "notify"); return); type 314 daemons/fenced/pacemaker-fenced.c if (pcmk_is_set(client->flags, get_stonith_flag(type))) { type 320 daemons/fenced/pacemaker-fenced.c CRM_XS " id=%.8s rc=%d", type, pcmk__client_name(client), type 324 daemons/fenced/pacemaker-fenced.c type, pcmk__client_name(client)); type 359 daemons/fenced/pacemaker-fenced.c do_stonith_notify(int options, const char *type, int result, xmlNode * data) type 364 daemons/fenced/pacemaker-fenced.c CRM_CHECK(type != NULL,;); type 367 daemons/fenced/pacemaker-fenced.c crm_xml_add(update_msg, F_SUBTYPE, type); type 368 daemons/fenced/pacemaker-fenced.c crm_xml_add(update_msg, F_STONITH_OPERATION, type); type 1303 daemons/fenced/pacemaker-fenced.c st_peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *data) type 1305 daemons/fenced/pacemaker-fenced.c if ((type != crm_status_processes) type 240 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 186 include/crm/cluster.h const char *name_for_cluster_type(enum cluster_type_e type); type 58 include/crm/common/agents.h const char *type); type 60 include/crm/common/agents.h char **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 93 include/crm/common/mainloop.h qb_ipcs_service_t *mainloop_add_ipc_server(const char *name, enum qb_ipc_type type, type 116 include/crm/common/mainloop.h enum qb_ipc_type type, type 85 include/crm/common/options_internal.h const char *type; type 202 include/crm/common/xml_internal.h while (child && (child->type == XML_TEXT_NODE)) { type 221 include/crm/common/xml_internal.h while (next && (next->type == XML_TEXT_NODE)) { type 240 include/crm/common/xml_internal.h while (child && (child->type != XML_ELEMENT_NODE)) { type 259 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 516 include/crm/lrmd.h lrmd_event_type2str(enum lrmd_callback_event type) type 518 include/crm/lrmd.h switch (type) { type 147 include/crm/pengine/common.h recovery2text(enum rsc_recovery_type type) type 149 include/crm/pengine/common.h switch (type) { type 178 include/crm/pengine/internal.h enum pe_ordering type; type 541 include/crm/pengine/internal.h pe_node_t *pe_create_node(const char *id, const char *uname, const char *type, type 210 include/crm/pengine/pe_types.h enum node_type type; type 531 include/crm/pengine/pe_types.h enum pe_ordering type; type 114 include/crm/stonith-ng.h char *type; type 157 include/pcmki/pcmki_sched_allocate.h enum pe_ordering type, type 163 include/pcmki/pcmki_sched_allocate.h enum pe_ordering type, type 170 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 363 lib/cib/cib_client.c new_cib->type = cib_no_connection; type 67 lib/cib/cib_file.c int cib_file_signon(cib_t * cib, const char *name, enum cib_conn_type type); type 582 lib/cib/cib_file.c cib_file_signon(cib_t * cib, const char *name, enum cib_conn_type type) type 597 lib/cib/cib_file.c cib->type = cib_command; type 704 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 272 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 69 lib/cib/cib_remote.c int cib_remote_signon(cib_t * cib, const char *name, enum cib_conn_type type); type 349 lib/cib/cib_remote.c const char *type = crm_element_value(msg, F_TYPE); type 351 lib/cib/cib_remote.c crm_trace("Activating %s callbacks...", type); type 353 lib/cib/cib_remote.c if (pcmk__str_eq(type, T_CIB, pcmk__str_casei)) { type 356 lib/cib/cib_remote.c } else if (pcmk__str_eq(type, T_CIB_NOTIFY, pcmk__str_casei)) { type 360 lib/cib/cib_remote.c crm_err("Unknown message type: %s", type); type 375 lib/cib/cib_remote.c cib_remote_signon(cib_t * cib, const char *name, enum cib_conn_type type) type 415 lib/cib/cib_remote.c cib->type = cib_command; type 438 lib/cib/cib_remote.c cib->type = cib_no_connection; type 77 lib/cluster/cluster.c enum cluster_type_e type = get_cluster_type(); type 80 lib/cluster/cluster.c name_for_cluster_type(type)); type 81 lib/cluster/cluster.c switch (type) { type 104 lib/cluster/cluster.c enum cluster_type_e type = get_cluster_type(); type 107 lib/cluster/cluster.c name_for_cluster_type(type)); type 108 lib/cluster/cluster.c switch (type) { type 290 lib/cluster/cluster.c name_for_cluster_type(enum cluster_type_e type) type 292 lib/cluster/cluster.c switch (type) { type 300 lib/cluster/cluster.c crm_err("Invalid cluster type: %d", type); type 50 lib/cluster/cpg.c enum crm_ais_msg_types type; type 315 lib/cluster/cpg.c msg_type2text(enum crm_ais_msg_types type) type 319 lib/cluster/cpg.c switch (type) { type 374 lib/cluster/cpg.c msg_type2text(msg->sender.type), msg->sender.pid, type 375 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); type 386 lib/cluster/cpg.c msg_type2text(msg->sender.type), msg->sender.pid, type 387 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); type 398 lib/cluster/cpg.c msg_type2text(msg->sender.type), msg->sender.pid, type 399 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); type 414 lib/cluster/cpg.c msg_type2text(msg->sender.type), msg->sender.pid, type 415 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); type 421 lib/cluster/cpg.c msg->id, msg_type2text(msg->sender.type), msg->sender.pid, type 423 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); type 540 lib/cluster/cpg.c msg->id, ais_dest(&(msg->host)), msg_type2text(msg->host.type), type 541 lib/cluster/cpg.c ais_dest(&(msg->sender)), msg_type2text(msg->sender.type), type 950 lib/cluster/cpg.c msg->host.type = dest; type 968 lib/cluster/cpg.c msg->sender.type = sender; type 1040 lib/cluster/cpg.c int type = crm_msg_none; type 1042 lib/cluster/cpg.c CRM_CHECK(text != NULL, return type); type 1045 lib/cluster/cpg.c type = crm_msg_ais; type 1047 lib/cluster/cpg.c type = crm_msg_cib; type 1049 lib/cluster/cpg.c type = crm_msg_crmd; type 1051 lib/cluster/cpg.c type = crm_msg_te; type 1053 lib/cluster/cpg.c type = crm_msg_pe; type 1055 lib/cluster/cpg.c type = crm_msg_lrmd; type 1057 lib/cluster/cpg.c type = crm_msg_stonithd; type 1059 lib/cluster/cpg.c type = crm_msg_stonith_ng; type 1061 lib/cluster/cpg.c type = crm_msg_attrd; type 1067 lib/cluster/cpg.c int scan_rc = sscanf(text, "%d", &type); type 1069 lib/cluster/cpg.c if (scan_rc != 1 || type <= crm_msg_stonith_ng) { type 1071 lib/cluster/cpg.c type = crm_msg_none; type 1074 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 670 lib/common/mainloop.c mainloop_add_ipc_server(const char *name, enum qb_ipc_type type, type 673 lib/common/mainloop.c return mainloop_add_ipc_server_with_prio(name, type, callbacks, QB_LOOP_MED); type 677 lib/common/mainloop.c mainloop_add_ipc_server_with_prio(const char *name, enum qb_ipc_type type, type 688 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 658 lib/common/patchset.c if (target->type == XML_COMMENT_NODE) { type 731 lib/common/patchset.c if (target->type == XML_COMMENT_NODE) { type 1001 lib/common/patchset.c if ((cIter->type == XML_COMMENT_NODE) type 1452 lib/common/patchset.c CRM_CHECK(left->type == XML_COMMENT_NODE, return NULL); type 1491 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 374 lib/common/xml.c if (needle->type == XML_COMMENT_NODE) { type 802 lib/common/xml.c if (child->type == XML_COMMENT_NODE) { type 1022 lib/common/xml.c switch (iter->type) { type 1465 lib/common/xml.c if (data->type == XML_COMMENT_NODE) { type 1514 lib/common/xml.c if(data->type == XML_COMMENT_NODE) { type 1934 lib/common/xml.c switch(data->type) { type 1952 lib/common/xml.c crm_warn("Unhandled type: %d", data->type); type 2436 lib/common/xml.c CRM_CHECK(search_comment->type == XML_COMMENT_NODE, return NULL); type 2456 lib/common/xml.c if (a_child->type == XML_COMMENT_NODE type 2483 lib/common/xml.c CRM_CHECK(update->type == XML_COMMENT_NODE, return); type 2526 lib/common/xml.c if (update->type == XML_COMMENT_NODE) { type 48 lib/common/xpath.c if (xpathObj->nodesetval->nodeTab[lpc] && xpathObj->nodesetval->nodeTab[lpc]->type != XML_NAMESPACE_DECL) { type 78 lib/common/xpath.c if (xpathObj->nodesetval->nodeTab[index]->type != XML_NAMESPACE_DECL) { type 83 lib/common/xpath.c if (match->type == XML_DOCUMENT_NODE) { type 87 lib/common/xpath.c } else if (match->type != XML_ELEMENT_NODE type 88 lib/common/xpath.c && match->parent && match->parent->type == XML_ELEMENT_NODE) { type 92 lib/common/xpath.c } else if (match->type != XML_ELEMENT_NODE) { type 94 lib/common/xpath.c crm_err("We only support %d not %d", XML_ELEMENT_NODE, match->type); type 1411 lib/fencing/st_client.c const char *type = NULL; type 1428 lib/fencing/st_client.c type = crm_element_value(blob.xml, F_TYPE); type 1429 lib/fencing/st_client.c crm_trace("Activating %s callbacks...", type); type 1431 lib/fencing/st_client.c if (pcmk__str_eq(type, T_STONITH_NG, pcmk__str_casei)) { type 1434 lib/fencing/st_client.c } else if (pcmk__str_eq(type, T_STONITH_NOTIFY, pcmk__str_casei)) { type 1436 lib/fencing/st_client.c } else if (pcmk__str_eq(type, T_STONITH_TIMEOUT_VALUE, pcmk__str_casei)) { type 1445 lib/fencing/st_client.c crm_err("Unknown message type: %s", type); type 1769 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 261 lib/lrmd/lrmd_client.c const char *type; type 277 lib/lrmd/lrmd_client.c type = crm_element_value(msg, F_LRMD_OPERATION); type 281 lib/lrmd/lrmd_client.c if (pcmk__str_eq(type, LRMD_OP_RSC_REG, pcmk__str_none)) { type 282 lib/lrmd/lrmd_client.c event.type = lrmd_event_register; type 283 lib/lrmd/lrmd_client.c } else if (pcmk__str_eq(type, LRMD_OP_RSC_UNREG, pcmk__str_none)) { type 284 lib/lrmd/lrmd_client.c event.type = lrmd_event_unregister; type 285 lib/lrmd/lrmd_client.c } else if (pcmk__str_eq(type, LRMD_OP_RSC_EXEC, pcmk__str_none)) { type 308 lib/lrmd/lrmd_client.c event.type = lrmd_event_exec_complete; type 311 lib/lrmd/lrmd_client.c } else if (pcmk__str_eq(type, LRMD_OP_NEW_CLIENT, pcmk__str_none)) { type 312 lib/lrmd/lrmd_client.c event.type = lrmd_event_new_client; type 313 lib/lrmd/lrmd_client.c } else if (pcmk__str_eq(type, LRMD_OP_POKE, pcmk__str_none)) { type 314 lib/lrmd/lrmd_client.c event.type = lrmd_event_poke; type 319 lib/lrmd/lrmd_client.c crm_trace("op %s notify event received", type); type 445 lib/lrmd/lrmd_client.c switch (native->type) { type 468 lib/lrmd/lrmd_client.c native->type); type 482 lib/lrmd/lrmd_client.c switch (private->type) { type 499 lib/lrmd/lrmd_client.c private->type); type 549 lib/lrmd/lrmd_client.c event.type = lrmd_event_disconnect; type 595 lib/lrmd/lrmd_client.c event.type = lrmd_event_disconnect; type 754 lib/lrmd/lrmd_client.c switch (native->type) { type 765 lib/lrmd/lrmd_client.c native->type); type 778 lib/lrmd/lrmd_client.c switch (native->type) { type 796 lib/lrmd/lrmd_client.c native->type); type 808 lib/lrmd/lrmd_client.c switch (native->type) { type 817 lib/lrmd/lrmd_client.c native->type); type 919 lib/lrmd/lrmd_client.c (native->type == pcmk__client_ipc)); type 940 lib/lrmd/lrmd_client.c (native->type == pcmk__client_ipc)); type 1314 lib/lrmd/lrmd_client.c event.type = lrmd_event_connect; type 1521 lib/lrmd/lrmd_client.c switch (native->type) { type 1532 lib/lrmd/lrmd_client.c native->type); type 1551 lib/lrmd/lrmd_client.c switch (native->type) { type 1571 lib/lrmd/lrmd_client.c native->type); type 1641 lib/lrmd/lrmd_client.c pcmk__client_type_str(native->type), type 1643 lib/lrmd/lrmd_client.c switch (native->type) { type 1654 lib/lrmd/lrmd_client.c native->type); type 1670 lib/lrmd/lrmd_client.c const char *provider, const char *type, enum lrmd_call_options options) type 1675 lib/lrmd/lrmd_client.c if (!class || !type || !rsc_id) { type 1689 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_TYPE, type); type 1712 lib/lrmd/lrmd_client.c const char *provider, const char *type) type 1729 lib/lrmd/lrmd_client.c if (type) { type 1730 lib/lrmd/lrmd_client.c rsc_info->type = strdup(type); type 1731 lib/lrmd/lrmd_client.c CRM_ASSERT(rsc_info->type); type 1740 lib/lrmd/lrmd_client.c rsc_info->provider, rsc_info->type); type 1750 lib/lrmd/lrmd_client.c free(rsc_info->type); type 1764 lib/lrmd/lrmd_client.c const char *type = NULL; type 1777 lib/lrmd/lrmd_client.c type = crm_element_value(output, F_LRMD_TYPE); type 1779 lib/lrmd/lrmd_client.c if (!class || !type) { type 1788 lib/lrmd/lrmd_client.c rsc_info = lrmd_new_rsc_info(rsc_id, class, provider, type); type 1907 lib/lrmd/lrmd_client.c stonith_get_metadata(const char *provider, const char *type, char **output) type 1917 lib/lrmd/lrmd_client.c rc = stonith_api->cmds->metadata(stonith_api, st_opt_sync_call, type, type 1928 lib/lrmd/lrmd_client.c const char *type, char **output, type 1931 lib/lrmd/lrmd_client.c return lrmd->cmds->get_metadata_params(lrmd, standard, provider, type, type 1937 lib/lrmd/lrmd_client.c const char *provider, const char *type, type 1944 lib/lrmd/lrmd_client.c if (!standard || !type) { type 1951 lib/lrmd/lrmd_client.c return stonith_get_metadata(provider, type, output); type 1958 lib/lrmd/lrmd_client.c action = resources_action_create(type, standard, provider, type, type 1966 lib/lrmd/lrmd_client.c standard, provider, type); type 1972 lib/lrmd/lrmd_client.c standard, provider, type); type 1979 lib/lrmd/lrmd_client.c standard, provider, type); type 2204 lib/lrmd/lrmd_client.c pvt->type = pcmk__client_ipc; type 2241 lib/lrmd/lrmd_client.c native->type = pcmk__client_tls; type 255 lib/lrmd/proxy_common.c const char *type = crm_element_value(request, F_TYPE); type 258 lib/lrmd/proxy_common.c if (pcmk__str_eq(type, T_ATTRD, pcmk__str_casei) type 410 lib/pacemaker/pcmk_cluster_queries.c const char *type; type 423 lib/pacemaker/pcmk_cluster_queries.c out->message(out, "crmadmin-node", data->type, type 463 lib/pacemaker/pcmk_cluster_queries.c data.type = "cluster"; type 470 lib/pacemaker/pcmk_cluster_queries.c data.type = "guest"; type 477 lib/pacemaker/pcmk_cluster_queries.c data.type = "remote"; type 692 lib/pacemaker/pcmk_output.c const char *type = va_arg(args, const char *); type 703 lib/pacemaker/pcmk_output.c return out->info(out, "%s node: %s (%s)", type ? type : "cluster", type 712 lib/pacemaker/pcmk_output.c const char *type = va_arg(args, const char *); type 717 lib/pacemaker/pcmk_output.c "type", type ? type : "cluster", type 780 lib/pacemaker/pcmk_output.c add_digest_xml(xmlNode *parent, const char *type, const char *digest, type 786 lib/pacemaker/pcmk_output.c crm_xml_add(digest_xml, "type", ((type == NULL)? "unspecified" : type)); type 1100 lib/pacemaker/pcmk_sched_allocate.c && (node->details->type != node_ping)) { type 1808 lib/pacemaker/pcmk_sched_allocate.c enum pe_ordering type; type 1813 lib/pacemaker/pcmk_sched_allocate.c type = order->type; type 1838 lib/pacemaker/pcmk_sched_allocate.c pe__clear_order_flags(type, pe_order_implies_then); type 1846 lib/pacemaker/pcmk_sched_allocate.c order_actions(lh_action, rh_action_iter, type); type 1848 lib/pacemaker/pcmk_sched_allocate.c } else if (type & pe_order_implies_then) { type 1851 lib/pacemaker/pcmk_sched_allocate.c crm_warn("Unrunnable %s 0x%.6x", rh_action_iter->uuid, type); type 1853 lib/pacemaker/pcmk_sched_allocate.c crm_warn("neither %s 0x%.6x", rh_action_iter->uuid, type); type 1919 lib/pacemaker/pcmk_sched_allocate.c order_actions(lh_action_iter, order->rh_action, order->type); type 2432 lib/pacemaker/pcmk_sched_allocate.c if (order->type == pe_order_none) { type 2437 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(order->type, pe_order_apply_first_non_migratable)) { type 2442 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(order->type, pe_order_same_node)) { type 2447 lib/pacemaker/pcmk_sched_allocate.c if (order->type == pe_order_anti_colocation type 2448 lib/pacemaker/pcmk_sched_allocate.c || order->type == pe_order_load) { type 2449 lib/pacemaker/pcmk_sched_allocate.c order_type = order->type; type 2473 lib/pacemaker/pcmk_sched_allocate.c order->id, order->type); type 2587 lib/pacemaker/pcmk_sched_allocate.c if (!pcmk_is_set(after_wrapper->type, pe_order_implies_then)) { type 2620 lib/pacemaker/pcmk_sched_allocate.c after_wrapper->type); type 2846 lib/pacemaker/pcmk_sched_allocate.c order_actions(order->lh_action, order->rh_action, order->type); type 2876 lib/pacemaker/pcmk_sched_allocate.c input->type = pe_order_none; type 651 lib/pacemaker/pcmk_sched_bundle.c enum pe_ordering type, type 684 lib/pacemaker/pcmk_sched_bundle.c if (type & (pe_order_runnable_left | pe_order_implies_then) /* Mandatory */ ) { type 760 lib/pacemaker/pcmk_sched_bundle.c if (order_actions(first_action, then_action, type)) { type 766 lib/pacemaker/pcmk_sched_bundle.c type); type 774 lib/pacemaker/pcmk_sched_bundle.c filter, type, data_set); type 825 lib/pacemaker/pcmk_sched_bundle.c enum pe_action_flags filter, enum pe_ordering type, type 834 lib/pacemaker/pcmk_sched_bundle.c filter, type, data_set); type 842 lib/pacemaker/pcmk_sched_bundle.c type, data_set); type 856 lib/pacemaker/pcmk_sched_bundle.c then_child_action, node, flags, filter, type, data_set); type 1410 lib/pacemaker/pcmk_sched_constraints.c enum pe_ordering type, pe_working_set_t * data_set) type 1432 lib/pacemaker/pcmk_sched_constraints.c return custom_action_order(lh_rsc, lh_key, NULL, rh_rsc, rh_key, NULL, type, data_set); type 1588 lib/pacemaker/pcmk_sched_constraints.c enum pe_ordering type, pe_working_set_t * data_set) type 1616 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_promoted_implies_first) { 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 582 lib/pacemaker/pcmk_sched_graph.c if (pcmk_is_set(other->type, pe_order_same_node) type 589 lib/pacemaker/pcmk_sched_graph.c other->type = pe_order_none; type 595 lib/pacemaker/pcmk_sched_graph.c if (first->rsc && pcmk_is_set(other->type, pe_order_then_cancels_first) type 630 lib/pacemaker/pcmk_sched_graph.c first_flags, other->type); type 653 lib/pacemaker/pcmk_sched_graph.c } else if (order_actions(first, then, other->type)) { type 665 lib/pacemaker/pcmk_sched_graph.c other->type = pe_order_none; type 1530 lib/pacemaker/pcmk_sched_graph.c int type = input->type; type 1536 lib/pacemaker/pcmk_sched_graph.c pe__clear_order_flags(type, pe_order_implies_first_printed type 1540 lib/pacemaker/pcmk_sched_graph.c if (input->type == pe_order_none) { type 1548 lib/pacemaker/pcmk_sched_graph.c && (type == pe_order_none) type 1557 lib/pacemaker/pcmk_sched_graph.c && pcmk_is_set(input->type, pe_order_one_or_more)) { type 1565 lib/pacemaker/pcmk_sched_graph.c && pcmk_is_set(input->type, pe_order_stonith_stop)) { type 1572 lib/pacemaker/pcmk_sched_graph.c } else if (pcmk_is_set(input->type, pe_order_implies_first_migratable) type 1580 lib/pacemaker/pcmk_sched_graph.c } else if (pcmk_is_set(input->type, pe_order_apply_first_non_migratable) type 1588 lib/pacemaker/pcmk_sched_graph.c } else if ((input->type == pe_order_optional) type 1597 lib/pacemaker/pcmk_sched_graph.c } else if (input->type == pe_order_load) { type 1616 lib/pacemaker/pcmk_sched_graph.c input->type = pe_order_none; type 1628 lib/pacemaker/pcmk_sched_graph.c input->type = pe_order_none; type 1636 lib/pacemaker/pcmk_sched_graph.c input->type = pe_order_none; type 1640 lib/pacemaker/pcmk_sched_graph.c } else if (input->type == pe_order_anti_colocation) { type 1649 lib/pacemaker/pcmk_sched_graph.c input->type = pe_order_none; type 1657 lib/pacemaker/pcmk_sched_graph.c input->type = pe_order_none; type 1690 lib/pacemaker/pcmk_sched_graph.c input->type); type 1706 lib/pacemaker/pcmk_sched_graph.c input->type); type 1732 lib/pacemaker/pcmk_sched_graph.c input->type, type 1757 lib/pacemaker/pcmk_sched_graph.c input->type); type 1768 lib/pacemaker/pcmk_sched_graph.c if (!pcmk_is_set(input->type, pe_order_preserve) type 1785 lib/pacemaker/pcmk_sched_graph.c if ((input->type == pe_order_load) && action->rsc type 1817 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 2135 lib/pacemaker/pcmk_sched_native.c enum pe_ordering type, pe_working_set_t *data_set) type 2146 lib/pacemaker/pcmk_sched_native.c if (type & pe_order_asymmetrical) { type 2178 lib/pacemaker/pcmk_sched_native.c if (type & pe_order_implies_first) { type 2196 lib/pacemaker/pcmk_sched_native.c if (type & pe_order_promoted_implies_first) { type 2212 lib/pacemaker/pcmk_sched_native.c if ((type & pe_order_implies_first_migratable) type 2228 lib/pacemaker/pcmk_sched_native.c if ((type & pe_order_pseudo_left) type 2239 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(type, pe_order_runnable_left) type 2248 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(type, pe_order_implies_then) type 2260 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(type, pe_order_restart)) { type 23 lib/pacemaker/pcmk_sched_promotable.c child_promoting_constraints(clone_variant_data_t * clone_data, enum pe_ordering type, type 31 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(last, RSC_PROMOTE, rsc, RSC_PROMOTED, type, data_set); type 37 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(child, RSC_PROMOTE, rsc, RSC_PROMOTED, type, data_set); type 40 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(rsc, RSC_PROMOTE, child, RSC_PROMOTE, type, data_set); type 50 lib/pacemaker/pcmk_sched_promotable.c order_start_start(last, child, type); type 51 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(last, RSC_PROMOTE, child, RSC_PROMOTE, type, data_set); type 59 lib/pacemaker/pcmk_sched_promotable.c child_demoting_constraints(clone_variant_data_t * clone_data, enum pe_ordering type, type 82 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(child, RSC_DEMOTE, last, RSC_DEMOTE, type, data_set); type 87 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 314 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(action->type == action_type_rsc, return NULL); type 95 lib/pacemaker/pcmk_trans_utils.c actiontype2text(action_type_e type) type 97 lib/pacemaker/pcmk_trans_utils.c switch (type) { type 190 lib/pacemaker/pcmk_trans_utils.c input->id, actiontype2text(input->type), key, type 204 lib/pacemaker/pcmk_trans_utils.c actiontype2text(action->type), key); type 284 lib/pengine/clone.c short_print(char *list, const char *prefix, const char *type, const char *suffix, long options, void *print_data) type 294 lib/pengine/clone.c status_print("%s%s: [ %s ]%s", prefix, type, list, suffix); type 1189 lib/pengine/native.c char *type = NULL; type 1195 lib/pengine/native.c while (g_hash_table_iter_next(&hash_iter, (gpointer *)&type, (gpointer *)&rsc_counter)) { type 1203 lib/pengine/native.c int *active_counter = g_hash_table_lookup(node_table, type); type 1223 lib/pengine/native.c rsc_counter ? *rsc_counter : 0, type, type 1227 lib/pengine/native.c active_counter ? *active_counter : 0, type, type 1243 lib/pengine/native.c rsc_counter ? *rsc_counter : 0, type); type 1278 lib/pengine/native.c char *type = (char *) gIter->data; type 1279 lib/pengine/native.c int *rsc_counter = g_hash_table_lookup(rsc_table, type); type 1288 lib/pengine/native.c int *active_counter = g_hash_table_lookup(node_table, type); type 1304 lib/pengine/native.c rsc_counter ? *rsc_counter : 0, type, type 1308 lib/pengine/native.c *active_counter, type, type 1318 lib/pengine/native.c rsc_counter ? *rsc_counter : 0, type); type 54 lib/pengine/pe_output.c const char *type = g_hash_table_lookup(rsc->meta, "type"); type 65 lib/pengine/pe_output.c if (!pcmk__strcase_any_of(type, "ping", "pingd", NULL)) { type 1439 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 892 lib/pengine/rules.c compare_attr_expr_vals(const char *l_val, const char *r_val, const char *type, type 898 lib/pengine/rules.c if (type == NULL) { type 901 lib/pengine/rules.c type = "number"; type 903 lib/pengine/rules.c type = "integer"; type 907 lib/pengine/rules.c type = "string"; type 909 lib/pengine/rules.c crm_trace("Defaulting to %s based comparison for '%s' op", type, op); type 912 lib/pengine/rules.c if (pcmk__str_eq(type, "string", pcmk__str_casei)) { type 915 lib/pengine/rules.c } else if (pcmk__str_eq(type, "integer", pcmk__str_casei)) { type 937 lib/pengine/rules.c } else if (pcmk__str_eq(type, "number", pcmk__str_casei)) { type 959 lib/pengine/rules.c } else if (pcmk__str_eq(type, "version", pcmk__str_casei)) { type 990 lib/pengine/rules.c accept_attr_expr(const char *l_val, const char *r_val, const char *type, type 1003 lib/pengine/rules.c cmp = compare_attr_expr_vals(l_val, r_val, type, op); type 1081 lib/pengine/rules.c const char *type = NULL; type 1089 lib/pengine/rules.c type = crm_element_value(expr, XML_EXPR_ATTR_TYPE); type 1122 lib/pengine/rules.c return accept_attr_expr(h_val, value, type, op); type 1306 lib/pengine/rules.c const char *type = crm_element_value(expr, XML_EXPR_ATTR_TYPE); type 1328 lib/pengine/rules.c if (type != NULL && type 1329 lib/pengine/rules.c !pcmk__str_eq(type, rule_data->rsc_data->agent, pcmk__str_none)) { type 1330 lib/pengine/rules.c crm_trace("Agent doesn't match: %s != %s", type, rule_data->rsc_data->agent); type 390 lib/pengine/unpack.c pe_create_node(const char *id, const char *uname, const char *type, type 420 lib/pengine/unpack.c new_node->details->type = node_ping; type 422 lib/pengine/unpack.c if (pcmk__str_eq(type, "remote", pcmk__str_casei)) { type 423 lib/pengine/unpack.c new_node->details->type = node_remote; type 425 lib/pengine/unpack.c } else if (pcmk__str_eq(type, "member", pcmk__str_null_matches | pcmk__str_casei)) { type 426 lib/pengine/unpack.c new_node->details->type = node_member; type 507 lib/pengine/unpack.c if ((new_node->details->type == node_remote) && (new_node->details->remote_rsc == NULL)) { type 536 lib/pengine/unpack.c const char *type = NULL; type 556 lib/pengine/unpack.c type = crm_element_value(xml_obj, XML_ATTR_TYPE); type 565 lib/pengine/unpack.c new_node = pe_create_node(id, uname, type, score, data_set); type 1538 lib/pengine/unpack.c if (this_node->details->type == node_ping) { type 1567 lib/pengine/unpack.c if (this_node->details->type == node_ping) { type 1826 lib/pengine/utils.c if (after->action == rh_action && (after->type & order)) { type 1833 lib/pengine/utils.c wrapper->type = order; type 1840 lib/pengine/utils.c wrapper->type = order; type 1983 lib/pengine/utils.c if (node->details->type != node_member) { type 1995 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 13 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 54 tools/crm_attribute.c gchar *type; type 112 tools/crm_attribute.c if (options.type) { type 113 tools/crm_attribute.c g_free(options.type); type 116 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_NODES); type 198 tools/crm_attribute.c { "lifetime", 'l', 0, G_OPTION_ARG_STRING, &options.type, type 210 tools/crm_attribute.c { "type", 't', 0, G_OPTION_ARG_STRING, &options.type, type 360 tools/crm_attribute.c if (options.type == NULL) { type 363 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_STATUS); type 367 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_NODES); type 371 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_CRMCONFIG); type 373 tools/crm_attribute.c } else if (pcmk__str_eq(options.type, "reboot", pcmk__str_casei)) { type 374 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_STATUS); type 376 tools/crm_attribute.c } else if (pcmk__str_eq(options.type, "forever", pcmk__str_casei)) { type 377 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_NODES); type 381 tools/crm_attribute.c if (!pcmk__strcase_any_of(options.type, XML_CIB_TAG_CRMCONFIG, XML_CIB_TAG_TICKETS, type 414 tools/crm_attribute.c || !pcmk__str_eq(options.type, XML_CIB_TAG_STATUS, pcmk__str_casei)) { type 426 tools/crm_attribute.c try_attrd = pcmk__str_eq(options.type, XML_CIB_TAG_STATUS, pcmk__str_casei); type 438 tools/crm_attribute.c options.attr_value, options.type, options.set_name, NULL, NULL, type 444 tools/crm_attribute.c rc = delete_attr_delegate(the_cib, cib_opts, options.type, options.dest_node, options.set_type, options.set_name, type 456 tools/crm_attribute.c CRM_LOG_ASSERT(options.type != NULL); type 460 tools/crm_attribute.c rc = update_attr_delegate(the_cib, cib_opts, options.type, options.dest_node, options.set_type, options.set_name, type 467 tools/crm_attribute.c rc = read_attr_delegate(the_cib, options.type, options.dest_node, options.set_type, options.set_name, type 484 tools/crm_attribute.c options.type ? "scope=" : "", options.type ? options.type : "", type 516 tools/crm_attribute.c g_free(options.type); type 1363 tools/crm_resource.c char *type = NULL; type 1367 tools/crm_resource.c rc = crm_parse_agent_spec(agent_spec, &standard, &provider, &type); type 1372 tools/crm_resource.c provider, type, type 578 tools/crm_simulate.c && (before->type & pe_order_stonith_stop)) { type 580 tools/crm_simulate.c } else if (before->type == pe_order_none) { type 584 tools/crm_simulate.c && before->type != pe_order_load) { type 305 tools/ipmiservicelogd.c sl_event.type = SL_TYPE_BMC; /* one of SL_TYPE_* */