xml 55 daemons/attrd/attrd_commands.c void attrd_peer_update(crm_node_t *peer, xmlNode *xml, const char *host, bool filter); xml 56 daemons/attrd/attrd_commands.c void attrd_peer_sync(crm_node_t *peer, xmlNode *xml); xml 59 daemons/attrd/attrd_commands.c static void broadcast_unseen_local_values(crm_node_t *peer, xmlNode *xml); xml 144 daemons/attrd/attrd_commands.c xmlNode *xml = create_xml_node(parent, __func__); xml 146 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NAME, a->id); xml 147 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_SET, a->set); xml 148 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_UUID, a->uuid); xml 149 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_USER, a->user); xml 150 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NODE_NAME, v->nodename); xml 152 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_NODE_ID, v->nodeid); xml 155 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_IS_REMOTE, 1); xml 157 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_VALUE, v->current); xml 158 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_DAMPENING, a->timeout_ms / 1000); xml 159 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_IS_PRIVATE, a->is_private); xml 160 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_FORCE, force_write); xml 162 daemons/attrd/attrd_commands.c return xml; xml 184 daemons/attrd/attrd_commands.c create_attribute(xmlNode *xml) xml 187 daemons/attrd/attrd_commands.c const char *value = crm_element_value(xml, PCMK__XA_ATTR_DAMPENING); xml 190 daemons/attrd/attrd_commands.c a->id = crm_element_value_copy(xml, PCMK__XA_ATTR_NAME); xml 191 daemons/attrd/attrd_commands.c a->set = crm_element_value_copy(xml, PCMK__XA_ATTR_SET); xml 192 daemons/attrd/attrd_commands.c a->uuid = crm_element_value_copy(xml, PCMK__XA_ATTR_UUID); xml 195 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_IS_PRIVATE, &a->is_private); xml 197 daemons/attrd/attrd_commands.c a->user = crm_element_value_copy(xml, PCMK__XA_ATTR_USER); xml 228 daemons/attrd/attrd_commands.c attrd_client_peer_remove(pcmk__client_t *client, xmlNode *xml) xml 231 daemons/attrd/attrd_commands.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); xml 237 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_NODE_ID, &nodeid); xml 250 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NODE_NAME, host); xml 257 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); /* ends up at attrd_peer_message() */ xml 274 daemons/attrd/attrd_commands.c attrd_client_update(xmlNode *xml) xml 277 daemons/attrd/attrd_commands.c char *host = crm_element_value_copy(xml, PCMK__XA_ATTR_NODE_NAME); xml 278 daemons/attrd/attrd_commands.c const char *attr = crm_element_value(xml, PCMK__XA_ATTR_NAME); xml 279 daemons/attrd/attrd_commands.c const char *value = crm_element_value(xml, PCMK__XA_ATTR_VALUE); xml 280 daemons/attrd/attrd_commands.c const char *regex = crm_element_value(xml, PCMK__XA_ATTR_PATTERN); xml 298 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NAME, attr); xml 299 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); xml 318 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NODE_NAME, host); xml 319 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_NODE_ID, attrd_cluster->nodeid); xml 336 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_VALUE, int_value); xml 339 daemons/attrd/attrd_commands.c value = crm_element_value(xml, PCMK__XA_ATTR_VALUE); xml 348 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); /* ends up at attrd_peer_message() */ xml 358 daemons/attrd/attrd_commands.c attrd_client_clear_failure(xmlNode *xml) xml 368 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); xml 373 daemons/attrd/attrd_commands.c const char *rsc = crm_element_value(xml, PCMK__XA_ATTR_RESOURCE); xml 374 daemons/attrd/attrd_commands.c const char *op = crm_element_value(xml, PCMK__XA_ATTR_OPERATION); xml 375 daemons/attrd/attrd_commands.c const char *interval_spec = crm_element_value(xml, PCMK__XA_ATTR_INTERVAL); xml 378 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_TASK, PCMK__ATTRD_CMD_UPDATE); xml 395 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_PATTERN, pattern); xml 399 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_PATTERN, ATTRD_RE_CLEAR_ALL); xml 403 daemons/attrd/attrd_commands.c if (crm_element_value(xml, PCMK__XA_ATTR_NAME)) { xml 404 daemons/attrd/attrd_commands.c crm_xml_replace(xml, PCMK__XA_ATTR_NAME, NULL); xml 406 daemons/attrd/attrd_commands.c if (crm_element_value(xml, PCMK__XA_ATTR_VALUE)) { xml 407 daemons/attrd/attrd_commands.c crm_xml_replace(xml, PCMK__XA_ATTR_VALUE, NULL); xml 410 daemons/attrd/attrd_commands.c attrd_client_update(xml); xml 553 daemons/attrd/attrd_commands.c attrd_peer_clear_failure(crm_node_t *peer, xmlNode *xml) xml 555 daemons/attrd/attrd_commands.c const char *rsc = crm_element_value(xml, PCMK__XA_ATTR_RESOURCE); xml 556 daemons/attrd/attrd_commands.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); xml 557 daemons/attrd/attrd_commands.c const char *op = crm_element_value(xml, PCMK__XA_ATTR_OPERATION); xml 558 daemons/attrd/attrd_commands.c const char *interval_spec = crm_element_value(xml, PCMK__XA_ATTR_INTERVAL); xml 570 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_TASK, PCMK__ATTRD_CMD_UPDATE); xml 573 daemons/attrd/attrd_commands.c if (crm_element_value(xml, PCMK__XA_ATTR_VALUE)) { xml 574 daemons/attrd/attrd_commands.c crm_xml_replace(xml, PCMK__XA_ATTR_VALUE, NULL); xml 582 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NAME, attr); xml 583 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, FALSE); xml 598 daemons/attrd/attrd_commands.c process_peer_sync_response(crm_node_t *peer, bool peer_won, xmlNode *xml) xml 611 daemons/attrd/attrd_commands.c for (xmlNode *child = pcmk__xml_first_child(xml); child != NULL; xml 622 daemons/attrd/attrd_commands.c broadcast_unseen_local_values(peer, xml); xml 646 daemons/attrd/attrd_commands.c attrd_peer_message(crm_node_t *peer, xmlNode *xml) xml 648 daemons/attrd/attrd_commands.c const char *op = crm_element_value(xml, PCMK__XA_TASK); xml 649 daemons/attrd/attrd_commands.c const char *election_op = crm_element_value(xml, F_CRM_TASK); xml 650 daemons/attrd/attrd_commands.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); xml 654 daemons/attrd/attrd_commands.c attrd_handle_election_op(peer, xml); xml 666 daemons/attrd/attrd_commands.c peer_won = attrd_check_for_new_writer(peer, xml); xml 670 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, FALSE); xml 673 daemons/attrd/attrd_commands.c attrd_peer_sync(peer, xml); xml 682 daemons/attrd/attrd_commands.c attrd_peer_clear_failure(peer, xml); xml 686 daemons/attrd/attrd_commands.c process_peer_sync_response(peer, peer_won, xml); xml 696 daemons/attrd/attrd_commands.c attrd_peer_sync(crm_node_t *peer, xmlNode *xml) xml 762 daemons/attrd/attrd_commands.c attrd_lookup_or_create_value(GHashTable *values, const char *host, xmlNode *xml) xml 767 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_IS_REMOTE, &is_remote); xml 786 daemons/attrd/attrd_commands.c broadcast_unseen_local_values(crm_node_t *peer, xmlNode *xml) xml 843 daemons/attrd/attrd_commands.c attrd_peer_update(crm_node_t *peer, xmlNode *xml, const char *host, bool filter) xml 850 daemons/attrd/attrd_commands.c const char *op = crm_element_value(xml, PCMK__XA_TASK); xml 851 daemons/attrd/attrd_commands.c const char *attr = crm_element_value(xml, PCMK__XA_ATTR_NAME); xml 852 daemons/attrd/attrd_commands.c const char *value = crm_element_value(xml, PCMK__XA_ATTR_VALUE); xml 853 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_FORCE, &is_force_write); xml 868 daemons/attrd/attrd_commands.c a = create_attribute(xml); xml 877 daemons/attrd/attrd_commands.c const char *dvalue = crm_element_value(xml, PCMK__XA_ATTR_DAMPENING); xml 922 daemons/attrd/attrd_commands.c xml_remove_prop(xml, PCMK__XA_ATTR_NODE_ID); xml 925 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, filter); xml 932 daemons/attrd/attrd_commands.c v = attrd_lookup_or_create_value(a->values, host, xml); xml 983 daemons/attrd/attrd_commands.c && (crm_element_value_int(xml, PCMK__XA_ATTR_NODE_ID, xml 52 daemons/attrd/attrd_elections.c attrd_handle_election_op(const crm_node_t *peer, xmlNode *xml) xml 57 daemons/attrd/attrd_elections.c crm_xml_add(xml, F_CRM_HOST_FROM, peer->uname); xml 60 daemons/attrd/attrd_elections.c rc = election_count_vote(writer, xml, !attrd_shutting_down()); xml 102 daemons/attrd/attrd_elections.c attrd_check_for_new_writer(const crm_node_t *peer, const xmlNode *xml) xml 106 daemons/attrd/attrd_elections.c crm_element_value_int(xml, PCMK__XA_ATTR_WRITER, &peer_state); xml 158 daemons/attrd/attrd_elections.c attrd_xml_add_writer(xmlNode *xml) xml 160 daemons/attrd/attrd_elections.c crm_xml_add_int(xml, PCMK__XA_ATTR_WRITER, election_state(writer)); xml 46 daemons/attrd/pacemaker-attrd.c xmlNode *xml = NULL; xml 55 daemons/attrd/pacemaker-attrd.c xml = string2xml(data); xml 58 daemons/attrd/pacemaker-attrd.c if (xml == NULL) { xml 63 daemons/attrd/pacemaker-attrd.c attrd_peer_message(peer, xml); xml 66 daemons/attrd/pacemaker-attrd.c free_xml(xml); xml 228 daemons/attrd/pacemaker-attrd.c xmlNode *xml = NULL; xml 237 daemons/attrd/pacemaker-attrd.c xml = pcmk__client_data2xml(client, data, &id, &flags); xml 238 daemons/attrd/pacemaker-attrd.c if (xml == NULL) { xml 244 daemons/attrd/pacemaker-attrd.c pcmk__update_acl_user(xml, PCMK__XA_ATTR_USER, client->user); xml 246 daemons/attrd/pacemaker-attrd.c op = crm_element_value(xml, PCMK__XA_TASK); xml 249 daemons/attrd/pacemaker-attrd.c const char *value = crm_element_value(xml, F_ORIG); xml 255 daemons/attrd/pacemaker-attrd.c attrd_client_peer_remove(client, xml); xml 259 daemons/attrd/pacemaker-attrd.c attrd_client_clear_failure(xml); xml 263 daemons/attrd/pacemaker-attrd.c attrd_client_update(xml); xml 267 daemons/attrd/pacemaker-attrd.c attrd_client_update(xml); xml 271 daemons/attrd/pacemaker-attrd.c attrd_client_update(xml); xml 279 daemons/attrd/pacemaker-attrd.c attrd_client_query(client, id, flags, xml); xml 286 daemons/attrd/pacemaker-attrd.c free_xml(xml); xml 79 daemons/attrd/pacemaker-attrd.h void attrd_handle_election_op(const crm_node_t *peer, xmlNode *xml); xml 80 daemons/attrd/pacemaker-attrd.h bool attrd_check_for_new_writer(const crm_node_t *peer, const xmlNode *xml); xml 83 daemons/attrd/pacemaker-attrd.h void attrd_xml_add_writer(xmlNode *xml); xml 126 daemons/attrd/pacemaker-attrd.h void attrd_client_peer_remove(pcmk__client_t *client, xmlNode *xml); xml 127 daemons/attrd/pacemaker-attrd.h void attrd_client_clear_failure(xmlNode *xml); xml 128 daemons/attrd/pacemaker-attrd.h void attrd_client_update(xmlNode *xml); xml 115 daemons/based/based_notify.c cib_notify_send(xmlNode * xml) xml 121 daemons/based/based_notify.c int rc = pcmk__ipc_prepare_iov(0, xml, 0, &iov, &bytes); xml 124 daemons/based/based_notify.c update.msg = xml; xml 242 daemons/based/pacemaker-based.c xmlNode *xml = NULL; xml 250 daemons/based/pacemaker-based.c xml = string2xml(data); xml 251 daemons/based/pacemaker-based.c if (xml == NULL) { xml 256 daemons/based/pacemaker-based.c crm_xml_add(xml, F_ORIG, from); xml 258 daemons/based/pacemaker-based.c cib_peer_callback(xml, NULL); xml 261 daemons/based/pacemaker-based.c free_xml(xml); xml 257 daemons/controld/controld_callbacks.c const char *task = crm_element_value(down->xml, XML_LRM_ATTR_TASK); xml 41 daemons/controld/controld_corosync.c xmlNode *xml = string2xml(data); xml 43 daemons/controld/controld_corosync.c if (xml == NULL) { xml 49 daemons/controld/controld_corosync.c crm_xml_add(xml, F_ORIG, from); xml 62 daemons/controld/controld_corosync.c crmd_ha_msg_filter(xml); xml 63 daemons/controld/controld_corosync.c free_xml(xml); xml 274 daemons/controld/controld_execd.c lrmd_event_data_t *op = construct_op(lrm_state, input->xml, rsc_id, task); xml 912 daemons/controld/controld_execd.c op = construct_op(lrm_state, input->xml, rsc_id, CRMD_ACTION_DELETE); xml 1484 daemons/controld/controld_execd.c lrm_op_target(xmlNode *xml) xml 1488 daemons/controld/controld_execd.c if (xml) { xml 1489 daemons/controld/controld_execd.c target = crm_element_value(xml, XML_LRM_ATTR_TARGET); xml 1498 daemons/controld/controld_execd.c fail_lrm_resource(xmlNode *xml, lrm_state_t *lrm_state, const char *user_name, xml 1503 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(xml, XML_CIB_TAG_RESOURCE, TRUE); xml 1515 daemons/controld/controld_execd.c op = construct_op(lrm_state, xml, ID(xml_rsc), "asyncmon"); xml 1532 daemons/controld/controld_execd.c process_lrm_event(lrm_state, op, NULL, xml); xml 1539 daemons/controld/controld_execd.c crm_log_xml_warn(xml, "bad input"); xml 1619 daemons/controld/controld_execd.c xmlNode *params = find_xml_node(input->xml, XML_TAG_ATTRS, TRUE); xml 1703 daemons/controld/controld_execd.c op = construct_op(lrm_state, input->xml, rsc->id, CRMD_ACTION_DELETE); xml 1742 daemons/controld/controld_execd.c target_node = lrm_op_target(input->xml); xml 1750 daemons/controld/controld_execd.c synthesize_lrmd_failure(NULL, input->xml, PCMK_LRM_OP_NOT_CONNECTED, xml 1772 daemons/controld/controld_execd.c fail_lrm_resource(input->xml, lrm_state, user_name, from_host, xml 1776 daemons/controld/controld_execd.c } else if (input->xml != NULL) { xml 1777 daemons/controld/controld_execd.c operation = crm_element_value(input->xml, XML_LRM_ATTR_TASK); xml 1797 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(input->xml, XML_CIB_TAG_RESOURCE, TRUE); xml 1807 daemons/controld/controld_execd.c synthesize_lrmd_failure(lrm_state, input->xml, xml 1819 daemons/controld/controld_execd.c rc, pcmk_strerror(rc), ID(input->xml)); xml 1828 daemons/controld/controld_execd.c synthesize_lrmd_failure(lrm_state, input->xml, PCMK_LRM_OP_ERROR, xml 1838 daemons/controld/controld_execd.c synthesize_lrmd_failure(lrm_state, input->xml, PCMK_LRM_OP_ERROR, xml 1845 daemons/controld/controld_execd.c crm_log_xml_warn(input->xml, "Bad command"); xml 1868 daemons/controld/controld_execd.c do_lrm_rsc_op(lrm_state, rsc, reload_name, input->xml); xml 1871 daemons/controld/controld_execd.c do_lrm_rsc_op(lrm_state, rsc, operation, input->xml); xml 2644 daemons/controld/controld_execd.c xmlNode *xml = find_xml_node(action_xml, XML_CIB_TAG_RESOURCE, TRUE); xml 2646 daemons/controld/controld_execd.c const char *standard = crm_element_value(xml, XML_AGENT_ATTR_CLASS); xml 2647 daemons/controld/controld_execd.c const char *provider = crm_element_value(xml, XML_AGENT_ATTR_PROVIDER); xml 2648 daemons/controld/controld_execd.c const char *type = crm_element_value(xml, XML_ATTR_TYPE); xml 386 daemons/controld/controld_fencing.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 389 daemons/controld/controld_fencing.c last_action = action->xml; xml 392 daemons/controld/controld_fencing.c action->id, ID(action->xml)); xml 750 daemons/controld/controld_fencing.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 751 daemons/controld/controld_fencing.c const char *uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 793 daemons/controld/controld_fencing.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 852 daemons/controld/controld_fencing.c id = ID(action->xml); xml 853 daemons/controld/controld_fencing.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 854 daemons/controld/controld_fencing.c uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 863 daemons/controld/controld_fencing.c crm_log_xml_warn(action->xml, "BadAction"); xml 464 daemons/controld/controld_fsa.c crm_log_xml_trace(ha_input->xml, "FSA message data"); xml 324 daemons/controld/controld_join_dc.c generation = join_ack->xml; xml 380 daemons/controld/controld_join_dc.c max_generation_xml = copy_xml(join_ack->xml); xml 604 daemons/controld/controld_join_dc.c fsa_cib_update(XML_CIB_TAG_STATUS, join_ack->xml, xml 610 daemons/controld/controld_join_dc.c fsa_cib_update(XML_CIB_TAG_STATUS, join_ack->xml, xml 179 daemons/controld/controld_lrm.h void remote_ra_process_pseudo(xmlNode *xml); xml 181 daemons/controld/controld_lrm.h void remote_ra_process_maintenance_nodes(xmlNode *xml); xml 197 daemons/controld/controld_messages.c copy->xml = get_message_xml(copy->msg, F_CRM_DATA); xml 796 daemons/controld/controld_messages.c xmlNode *xml = create_xml_node(reply_data, XML_CIB_TAG_NODE); xml 798 daemons/controld/controld_messages.c crm_xml_add_ll(xml, XML_ATTR_ID, (long long) node->id); // uint32_t xml 799 daemons/controld/controld_messages.c crm_xml_add(xml, XML_ATTR_UNAME, node->uname); xml 800 daemons/controld/controld_messages.c crm_xml_add(xml, XML_NODE_IN_CLUSTER, node->state); xml 1109 daemons/controld/controld_messages.c xmlNode *xml = get_message_xml(stored_msg, F_CRM_DATA); xml 1111 daemons/controld/controld_messages.c remote_ra_process_maintenance_nodes(xml); xml 1223 daemons/controld/controld_messages.c fsa_input.xml = get_message_xml(msg, F_CRM_DATA); xml 21 daemons/controld/controld_messages.h xmlNode *xml; xml 1196 daemons/controld/controld_remote_ra.c remote_ra_process_pseudo(xmlNode *xml) xml 1198 daemons/controld/controld_remote_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_FENCE); xml 1265 daemons/controld/controld_remote_ra.c remote_ra_process_maintenance_nodes(xmlNode *xml) xml 1267 daemons/controld/controld_remote_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_MAINTENANCE); xml 361 daemons/controld/controld_schedulerd.c force_local_option(xmlNode *xml, const char *attr_name, const char *attr_value) xml 371 daemons/controld/controld_schedulerd.c xpathObj = xpath_search(xml, xpath_string); xml 389 daemons/controld/controld_schedulerd.c configuration = pcmk__xe_match(xml, XML_CIB_TAG_CONFIGURATION, NULL, xml 392 daemons/controld/controld_schedulerd.c configuration = create_xml_node(xml, XML_CIB_TAG_CONFIGURATION); xml 408 daemons/controld/controld_schedulerd.c xml = create_xml_node(cluster_property_set, XML_CIB_TAG_NVPAIR); xml 410 daemons/controld/controld_schedulerd.c crm_xml_set_id(xml, "%s-%s", CIB_OPTIONS_FIRST, attr_name); xml 411 daemons/controld/controld_schedulerd.c crm_xml_add(xml, XML_NVPAIR_ATTR_NAME, attr_name); xml 412 daemons/controld/controld_schedulerd.c crm_xml_add(xml, XML_NVPAIR_ATTR_VALUE, attr_value); xml 43 daemons/controld/controld_te_actions.c const char *task = crm_element_value(pseudo->xml, XML_LRM_ATTR_TASK); xml 58 daemons/controld/controld_te_actions.c cmd = create_request(task, pseudo->xml, node->uname, xml 64 daemons/controld/controld_te_actions.c remote_ra_process_maintenance_nodes(pseudo->xml); xml 67 daemons/controld/controld_te_actions.c remote_ra_process_pseudo(pseudo->xml); xml 71 daemons/controld/controld_te_actions.c crm_element_value(pseudo->xml, XML_LRM_ATTR_TASK_KEY)); xml 102 daemons/controld/controld_te_actions.c id = ID(action->xml); xml 103 daemons/controld/controld_te_actions.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 104 daemons/controld/controld_te_actions.c on_node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 105 daemons/controld/controld_te_actions.c router_node = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 110 daemons/controld/controld_te_actions.c const char *mode = crm_element_value(action->xml, PCMK__XA_MODE); xml 149 daemons/controld/controld_te_actions.c cmd = create_request(task, action->xml, router_node, CRM_SYSTEM_CRMD, CRM_SYSTEM_TENGINE, NULL); xml 190 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 191 daemons/controld/controld_te_actions.c const char *task_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 192 daemons/controld/controld_te_actions.c const char *target_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 198 daemons/controld/controld_te_actions.c crm_element_name(action->xml), action->id, task_uuid, target); xml 200 daemons/controld/controld_te_actions.c action_rsc = find_xml_node(action->xml, XML_CIB_TAG_RESOURCE, TRUE); xml 207 daemons/controld/controld_te_actions.c crm_log_xml_err(action->xml, "Bad:action"); return); xml 289 daemons/controld/controld_te_actions.c CRM_ASSERT(action->xml != NULL); xml 292 daemons/controld/controld_te_actions.c on_node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 295 daemons/controld/controld_te_actions.c crm_err("Corrupted command(id=%s) %s: no node", ID(action->xml), crm_str(task)); xml 298 daemons/controld/controld_te_actions.c rsc_op = action->xml; xml 300 daemons/controld/controld_te_actions.c task_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 331 daemons/controld/controld_te_actions.c .xml = rsc_op, xml 440 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 441 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 452 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 464 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 475 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 476 daemons/controld/controld_te_actions.c const char *id = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 517 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 528 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 540 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 557 daemons/controld/controld_te_actions.c && (crm_element_value(action->xml, XML_LRM_ATTR_TARGET) != NULL)) { xml 237 daemons/controld/controld_te_callbacks.c process_resource_updates(const char *node, xmlNode *xml, xmlNode *change, xml 242 daemons/controld/controld_te_callbacks.c if (xml == NULL) { xml 245 daemons/controld/controld_te_callbacks.c } else if (strcmp((const char*)xml->name, XML_CIB_TAG_LRM) == 0) { xml 246 daemons/controld/controld_te_callbacks.c xml = first_named_child(xml, XML_LRM_TAG_RESOURCES); xml 247 daemons/controld/controld_te_callbacks.c crm_trace("Got %p in %s", xml, XML_CIB_TAG_LRM); xml 250 daemons/controld/controld_te_callbacks.c CRM_ASSERT(strcmp((const char*)xml->name, XML_LRM_TAG_RESOURCES) == 0); xml 265 daemons/controld/controld_te_callbacks.c && xml->children && xml->children->next) { xml 272 daemons/controld/controld_te_callbacks.c for (rsc = pcmk__xml_first_child(xml); rsc != NULL; xml 669 daemons/controld/controld_te_callbacks.c task = crm_element_value(timer->action->xml, XML_LRM_ATTR_TASK); xml 670 daemons/controld/controld_te_callbacks.c on_node = crm_element_value(timer->action->xml, XML_LRM_ATTR_TARGET); xml 671 daemons/controld/controld_te_callbacks.c via_node = crm_element_value(timer->action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 54 daemons/controld/controld_te_events.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 61 daemons/controld/controld_te_events.c target_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 62 daemons/controld/controld_te_events.c router = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 73 daemons/controld/controld_te_events.c last_action = action->xml; xml 79 daemons/controld/controld_te_events.c action->id, crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY), down_node); xml 82 daemons/controld/controld_te_events.c action->id, crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY), down_node); xml 232 daemons/controld/controld_te_events.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 237 daemons/controld/controld_te_events.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 243 daemons/controld/controld_te_events.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 267 daemons/controld/controld_te_events.c op_key = crm_element_value(cancel->xml, XML_LRM_ATTR_TASK_KEY); xml 268 daemons/controld/controld_te_events.c node_name = crm_element_value(cancel->xml, XML_LRM_ATTR_TARGET); xml 308 daemons/controld/controld_te_events.c xpath_ret = xpath_search(match->xml, xpath); xml 324 daemons/controld/controld_te_events.c crm_element_value(match->xml, XML_LRM_ATTR_TASK_KEY), target); xml 361 daemons/controld/controld_throttle.c xmlNode *xml = NULL; xml 369 daemons/controld/controld_throttle.c xml = create_request(CRM_OP_THROTTLE, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); xml 370 daemons/controld/controld_throttle.c crm_xml_add_int(xml, F_CRM_THROTTLE_MODE, mode); xml 371 daemons/controld/controld_throttle.c crm_xml_add_int(xml, F_CRM_THROTTLE_MAX, throttle_job_max); xml 373 daemons/controld/controld_throttle.c send_cluster_message(NULL, crm_msg_crmd, xml, TRUE); xml 374 daemons/controld/controld_throttle.c free_xml(xml); xml 530 daemons/controld/controld_throttle.c throttle_update(xmlNode *xml) xml 535 daemons/controld/controld_throttle.c const char *from = crm_element_value(xml, F_CRM_HOST_FROM); xml 537 daemons/controld/controld_throttle.c crm_element_value_int(xml, F_CRM_THROTTLE_MODE, &mode); xml 538 daemons/controld/controld_throttle.c crm_element_value_int(xml, F_CRM_THROTTLE_MAX, &max); xml 14 daemons/controld/controld_throttle.h void throttle_update(xmlNode *xml); xml 149 daemons/controld/controld_transition.c if (graph_file == NULL && input->xml == NULL) { xml 166 daemons/controld/controld_transition.c graph_data = input->xml; xml 213 daemons/controld/controld_transition.c if (graph_data != input->xml) { xml 93 daemons/execd/pacemaker-execd.h void ipc_proxy_forward_client(pcmk__client_t *client, xmlNode *xml); xml 148 daemons/execd/remoted_proxy.c ipc_proxy_forward_client(pcmk__client_t *ipc_proxy, xmlNode *xml) xml 150 daemons/execd/remoted_proxy.c const char *session = crm_element_value(xml, F_LRMD_IPC_SESSION); xml 151 daemons/execd/remoted_proxy.c const char *msg_type = crm_element_value(xml, F_LRMD_IPC_OP); xml 152 daemons/execd/remoted_proxy.c xmlNode *msg = get_message_xml(xml, F_LRMD_IPC_MSG); xml 201 daemons/execd/remoted_proxy.c crm_element_value_int(xml, F_LRMD_IPC_MSG_ID, &msg_id); xml 748 daemons/fenced/fenced_commands.c is_nodeid_required(xmlNode * xml) xml 756 daemons/fenced/fenced_commands.c if (!xml) { xml 760 daemons/fenced/fenced_commands.c xpath = xpath_search(xml, "//parameter[@name='nodeid']"); xml 1893 daemons/fenced/fenced_commands.c add_action_specific_attributes(xmlNode *xml, const char *action, xml 1900 daemons/fenced/fenced_commands.c CRM_CHECK(xml && action && device, return); xml 1904 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_DEVICE_REQUIRED, 1); xml 1911 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_ACTION_TIMEOUT, action_specific_timeout); xml 1918 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_DELAY_MAX, delay_max / 1000); xml 1923 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_DELAY_BASE, delay_base / 1000); xml 1950 daemons/fenced/fenced_commands.c add_disallowed(xmlNode *xml, const char *action, stonith_device_t *device, xml 1956 daemons/fenced/fenced_commands.c crm_xml_add(xml, F_STONITH_ACTION_DISALLOWED, XML_BOOLEAN_TRUE); xml 1971 daemons/fenced/fenced_commands.c add_action_reply(xmlNode *xml, const char *action, stonith_device_t *device, xml 1974 daemons/fenced/fenced_commands.c xmlNode *child = create_xml_node(xml, F_STONITH_ACTION); xml 1761 daemons/fenced/fenced_remote.c parse_action_specific(xmlNode *xml, const char *peer, const char *device, xml 1766 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_ACTION_TIMEOUT, xml 1774 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DELAY_MAX, &props->delay_max[phase]); xml 1781 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DELAY_BASE, &props->delay_base[phase]); xml 1791 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DEVICE_REQUIRED, &required); xml 1802 daemons/fenced/fenced_remote.c if (crm_is_true(crm_element_value(xml, F_STONITH_ACTION_DISALLOWED))) { xml 1819 daemons/fenced/fenced_remote.c add_device_properties(xmlNode *xml, remote_fencing_op_t *op, xml 1831 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DEVICE_VERIFIED, &verified); xml 1839 daemons/fenced/fenced_remote.c parse_action_specific(xml, result->host, device, op_requested_action(op), xml 1841 daemons/fenced/fenced_remote.c for (child = pcmk__xml_first_child(xml); child != NULL; xml 1869 daemons/fenced/fenced_remote.c add_result(remote_fencing_op_t *op, const char *host, int ndevices, xmlNode *xml) xml 1881 daemons/fenced/fenced_remote.c for (child = pcmk__xml_first_child(xml); child != NULL; xml 195 daemons/fenced/pacemaker-fenced.c xmlNode *xml = NULL; xml 203 daemons/fenced/pacemaker-fenced.c xml = string2xml(data); xml 204 daemons/fenced/pacemaker-fenced.c if (xml == NULL) { xml 209 daemons/fenced/pacemaker-fenced.c crm_xml_add(xml, F_ORIG, from); xml 211 daemons/fenced/pacemaker-fenced.c stonith_peer_callback(xml, NULL); xml 214 daemons/fenced/pacemaker-fenced.c free_xml(xml); xml 617 daemons/fenced/pacemaker-fenced.c xmlNode *xml; xml 623 daemons/fenced/pacemaker-fenced.c xml = create_device_registration_xml("watchdog", st_namespace_internal, xml 627 daemons/fenced/pacemaker-fenced.c rc = stonith_device_register(xml, NULL, FALSE); xml 628 daemons/fenced/pacemaker-fenced.c free_xml(xml); xml 669 daemons/fenced/pacemaker-fenced.c rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 716 daemons/fenced/pacemaker-fenced.c const char *agent = crm_element_value(rsc->xml, XML_EXPR_ATTR_TYPE); xml 164 include/crm/cluster.h void set_uuid(xmlNode *xml, const char *attr, crm_node_t *node); xml 25 include/crm/common/acl.h bool xml_acl_enabled(xmlNode *xml); xml 26 include/crm/common/acl.h void xml_acl_disable(xmlNode *xml); xml 27 include/crm/common/acl.h bool xml_acl_denied(xmlNode *xml); xml 28 include/crm/common/acl.h bool xml_acl_filtered_copy(const char *user, xmlNode* acl_source, xmlNode *xml, xml 242 include/crm/common/logging.h # define do_crm_log_xml(level, text, xml) do { \ xml 254 include/crm/common/logging.h __LINE__, text, xml, 1, xml_log_option_formatted); \ xml 358 include/crm/common/logging.h # define crm_log_xml_crit(xml, text) do_crm_log_xml(LOG_CRIT, text, xml) xml 359 include/crm/common/logging.h # define crm_log_xml_err(xml, text) do_crm_log_xml(LOG_ERR, text, xml) xml 360 include/crm/common/logging.h # define crm_log_xml_warn(xml, text) do_crm_log_xml(LOG_WARNING, text, xml) xml 361 include/crm/common/logging.h # define crm_log_xml_notice(xml, text) do_crm_log_xml(LOG_NOTICE, text, xml) xml 362 include/crm/common/logging.h # define crm_log_xml_info(xml, text) do_crm_log_xml(LOG_INFO, text, xml) xml 363 include/crm/common/logging.h # define crm_log_xml_debug(xml, text) do_crm_log_xml(LOG_DEBUG, text, xml) xml 364 include/crm/common/logging.h # define crm_log_xml_trace(xml, text) do_crm_log_xml(LOG_TRACE, text, xml) xml 366 include/crm/common/logging.h # define crm_log_xml_explicit(xml, text) do { \ xml 372 include/crm/common/logging.h do_crm_log_xml(LOG_TRACE, text, xml); \ xml 36 include/crm/common/nvpair.h GSList *pcmk_xml_attrs2nvpairs(xmlNode *xml); xml 37 include/crm/common/nvpair.h void pcmk_nvpairs2xml_attrs(GSList *list, xmlNode *xml); xml 52 include/crm/common/nvpair.h const char *crm_xml_add_timeval(xmlNode *xml, const char *name_sec, xml 60 include/crm/common/nvpair.h int crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest); xml 53 include/crm/common/xml.h gboolean add_message_xml(xmlNode * msg, const char *field, xmlNode * xml); xml 167 include/crm/common/xml.h crm_element_name(const xmlNode *xml) xml 169 include/crm/common/xml.h return xml? (const char *)(xml->name) : NULL; xml 173 include/crm/common/xml.h crm_map_element_name(const xmlNode *xml) xml 175 include/crm/common/xml.h const char *name = crm_element_name(xml); xml 238 include/crm/common/xml.h gboolean cli_config_update(xmlNode ** xml, int *best_version, gboolean to_logs); xml 243 include/crm/common/xml.h void pcmk_free_xml_subtree(xmlNode *xml); xml 251 include/crm/common/xml.h void crm_foreach_xpath_result(xmlNode *xml, const char *xpath, xml 267 include/crm/common/xml.h bool xml_tracking_changes(xmlNode * xml); xml 268 include/crm/common/xml.h bool xml_document_dirty(xmlNode *xml); xml 269 include/crm/common/xml.h void xml_track_changes(xmlNode * xml, const char *user, xmlNode *acl_source, bool enforce_acls); xml 272 include/crm/common/xml.h void xml_accept_changes(xmlNode * xml); xml 273 include/crm/common/xml.h void xml_log_changes(uint8_t level, const char *function, xmlNode *xml); xml 274 include/crm/common/xml.h void xml_log_patchset(uint8_t level, const char *function, xmlNode *xml); xml 279 include/crm/common/xml.h int xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version); xml 283 include/crm/common/xml.h void save_xml_to_file(xmlNode * xml, const char *desc, const char *filename); xml 284 include/crm/common/xml.h char *xml_get_path(xmlNode *xml); xml 288 include/crm/common/xml.h void crm_xml_set_id(xmlNode *xml, const char *format, ...) G_GNUC_PRINTF(2, 3); xml 156 include/crm/common/xml_internal.h void pcmk__strip_xml_text(xmlNode *xml); xml 534 include/crm/pengine/internal.h xmlNode *xml, const char *field); xml 324 include/crm/pengine/pe_types.h xmlNode *xml; xml 21 include/crm/pengine/remote_internal.h bool xml_contains_remote_node(xmlNode *xml); xml 38 include/pacemaker.h int pcmk_controller_status(xmlNodePtr *xml, char *dest_node, unsigned int message_timeout_ms); xml 48 include/pacemaker.h int pcmk_designated_controller(xmlNodePtr *xml, unsigned int message_timeout_ms); xml 59 include/pacemaker.h int pcmk_pacemakerd_status(xmlNodePtr *xml, char *ipc_name, unsigned int message_timeout_ms); xml 72 include/pacemaker.h int pcmk_resource_digests(xmlNodePtr *xml, pe_resource_t *rsc, xml 84 include/pacemaker.h int pcmk_list_nodes(xmlNodePtr *xml, char *node_types); xml 125 include/pacemaker.h int pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, xml 141 include/pacemaker.h int pcmk_fence_installed(xmlNodePtr *xml, stonith_t *st, unsigned int timeout); xml 155 include/pacemaker.h int pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid); xml 170 include/pacemaker.h int pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st, xml 186 include/pacemaker.h int pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, char *agent, xml 203 include/pacemaker.h int pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, xml 255 include/pacemaker.h int pcmk_fence_validate(xmlNodePtr *xml, stonith_t *st, const char *agent, xml 21 include/pcmki/pcmki_output.h int pcmk__out_prologue(pcmk__output_t **out, xmlNodePtr *xml); xml 22 include/pcmki/pcmki_output.h void pcmk__out_epilogue(pcmk__output_t *out, xmlNodePtr *xml, int retval); xml 43 include/pcmki/pcmki_sched_allocate.h void (*append_meta) (pe_resource_t * rsc, xmlNode * xml); xml 72 include/pcmki/pcmki_sched_allocate.h extern void native_append_meta(pe_resource_t * rsc, xmlNode * xml); xml 87 include/pcmki/pcmki_sched_allocate.h extern void group_append_meta(pe_resource_t * rsc, xmlNode * xml); xml 110 include/pcmki/pcmki_sched_allocate.h void pcmk__bundle_append_meta(pe_resource_t *rsc, xmlNode *xml); xml 127 include/pcmki/pcmki_sched_allocate.h extern void clone_append_meta(pe_resource_t * rsc, xmlNode * xml); xml 61 include/pcmki/pcmki_transition.h xmlNode *xml; xml 203 lib/cib/cib_utils.c cib_acl_enabled(xmlNode *xml, const char *user) xml 211 lib/cib/cib_utils.c cib_read_config(options, xml); xml 277 lib/cluster/cluster.c set_uuid(xmlNode *xml, const char *attr, crm_node_t *node) xml 279 lib/cluster/cluster.c crm_xml_add(xml, attr, crm_peer_uuid(node)); xml 52 lib/common/acl.c create_acl(xmlNode *xml, GList *acls, enum xml_private_flags mode) xml 56 lib/common/acl.c const char *tag = crm_element_value(xml, XML_ACL_ATTR_TAG); xml 57 lib/common/acl.c const char *ref = crm_element_value(xml, XML_ACL_ATTR_REF); xml 58 lib/common/acl.c const char *xpath = crm_element_value(xml, XML_ACL_ATTR_XPATH); xml 59 lib/common/acl.c const char *attr = crm_element_value(xml, XML_ACL_ATTR_ATTRIBUTE); xml 63 lib/common/acl.c tag = crm_element_value(xml, XML_ACL_ATTR_TAGv1); xml 67 lib/common/acl.c ref = crm_element_value(xml, XML_ACL_ATTR_REFv1); xml 73 lib/common/acl.c crm_element_name(xml)); xml 85 lib/common/acl.c crm_element_name(xml), acl->xpath); xml 130 lib/common/acl.c crm_element_name(xml), acl->xpath); xml 243 lib/common/acl.c pcmk__apply_acl(xmlNode *xml) xml 246 lib/common/acl.c xml_private_t *p = xml->doc->_private; xml 249 lib/common/acl.c if (!xml_acl_enabled(xml)) { xml 259 lib/common/acl.c xpathObj = xpath_search(xml, acl->xpath); xml 351 lib/common/acl.c purge_xml_attributes(xmlNode *xml) xml 356 lib/common/acl.c xml_private_t *p = xml->_private; xml 359 lib/common/acl.c crm_trace("%s[@id=%s] is readable", crm_element_name(xml), ID(xml)); xml 363 lib/common/acl.c xIter = xml->properties; xml 373 lib/common/acl.c xmlUnsetProp(xml, tmp->name); xml 376 lib/common/acl.c child = pcmk__xml_first_child(xml); xml 385 lib/common/acl.c free_xml(xml); /* Nothing readable under here, purge completely */ xml 403 lib/common/acl.c xml_acl_filtered_copy(const char *user, xmlNode *acl_source, xmlNode *xml, xml 411 lib/common/acl.c if ((xml == NULL) || !pcmk_acl_required(user)) { xml 418 lib/common/acl.c target = copy_xml(xml); xml 493 lib/common/acl.c implicitly_allowed(xmlNode *xml) xml 497 lib/common/acl.c for (xmlAttr *prop = xml->properties; prop != NULL; prop = prop->next) { xml 503 lib/common/acl.c path = xml_get_path(xml); xml 513 lib/common/acl.c #define display_id(xml) (ID(xml)? ID(xml) : "<unset>") xml 529 lib/common/acl.c pcmk__apply_creation_acl(xmlNode *xml, bool check_top) xml 531 lib/common/acl.c xml_private_t *p = xml->_private; xml 534 lib/common/acl.c if (implicitly_allowed(xml)) { xml 537 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 539 lib/common/acl.c } else if (pcmk__check_acl(xml, NULL, xpf_acl_write)) { xml 541 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 545 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 546 lib/common/acl.c pcmk_free_xml_subtree(xml); xml 551 lib/common/acl.c ((xml == xmlDocGetRootElement(xml->doc))? "root element " : ""), xml 552 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 556 lib/common/acl.c for (xmlNode *cIter = pcmk__xml_first_child(xml); cIter != NULL; ) { xml 564 lib/common/acl.c xml_acl_denied(xmlNode *xml) xml 566 lib/common/acl.c if (xml && xml->doc && xml->doc->_private){ xml 567 lib/common/acl.c xml_private_t *p = xml->doc->_private; xml 575 lib/common/acl.c xml_acl_disable(xmlNode *xml) xml 577 lib/common/acl.c if (xml_acl_enabled(xml)) { xml 578 lib/common/acl.c xml_private_t *p = xml->doc->_private; xml 581 lib/common/acl.c pcmk__apply_acl(xml); xml 582 lib/common/acl.c pcmk__apply_creation_acl(xml, false); xml 588 lib/common/acl.c xml_acl_enabled(xmlNode *xml) xml 590 lib/common/acl.c if (xml && xml->doc && xml->doc->_private){ xml 591 lib/common/acl.c xml_private_t *p = xml->doc->_private; xml 599 lib/common/acl.c pcmk__check_acl(xmlNode *xml, const char *name, enum xml_private_flags mode) xml 601 lib/common/acl.c CRM_ASSERT(xml); xml 602 lib/common/acl.c CRM_ASSERT(xml->doc); xml 603 lib/common/acl.c CRM_ASSERT(xml->doc->_private); xml 605 lib/common/acl.c if (pcmk__tracking_xml_changes(xml, false) && xml_acl_enabled(xml)) { xml 607 lib/common/acl.c xmlNode *parent = xml; xml 609 lib/common/acl.c xml_private_t *docp = xml->doc->_private; xml 611 lib/common/acl.c offset = pcmk__element_xpath(NULL, xml, buffer, offset, xml 622 lib/common/acl.c pcmk__set_xml_doc_flag(xml, xpf_acl_denied); xml 632 lib/common/acl.c xmlAttr *attr = xmlHasProp(xml, (pcmkXmlStr) name); xml 646 lib/common/acl.c (parent != xml) ? "Parent " : "", docp->user, xml 648 lib/common/acl.c pcmk__set_xml_doc_flag(xml, xpf_acl_denied); xml 656 lib/common/acl.c pcmk__set_xml_doc_flag(xml, xpf_acl_denied); xml 89 lib/common/crmcommon_private.h void pcmk__set_xml_doc_flag(xmlNode *xml, enum xml_private_flags flag); xml 92 lib/common/crmcommon_private.h bool pcmk__tracking_xml_changes(xmlNode *xml, bool lazy); xml 95 lib/common/crmcommon_private.h int pcmk__element_xpath(const char *prefix, xmlNode *xml, char *buffer, xml 99 lib/common/crmcommon_private.h void pcmk__mark_xml_created(xmlNode *xml); xml 102 lib/common/crmcommon_private.h int pcmk__xml_position(xmlNode *xml, enum xml_private_flags ignore_if_set); xml 129 lib/common/crmcommon_private.h bool pcmk__check_acl(xmlNode *xml, const char *name, xml 133 lib/common/crmcommon_private.h void pcmk__apply_acl(xmlNode *xml); xml 136 lib/common/crmcommon_private.h void pcmk__apply_creation_acl(xmlNode *xml, bool check_top); xml 92 lib/common/ipc_controld.c #define xml_true(xml, field) crm_is_true(crm_element_value(xml, field)) xml 395 lib/common/ipc_server.c xmlNode *xml = NULL; xml 440 lib/common/ipc_server.c xml = string2xml(text); xml 441 lib/common/ipc_server.c crm_log_xml_trace(xml, "[IPC received]"); xml 444 lib/common/ipc_server.c return xml; xml 162 lib/common/messages.c add_message_xml(xmlNode *msg, const char *field, xmlNode *xml) xml 166 lib/common/messages.c add_node_copy(holder, xml); xml 162 lib/common/nvpair.c pcmk_xml_attrs2nvpairs(xmlNode *xml) xml 166 lib/common/nvpair.c for (xmlAttrPtr iter = pcmk__xe_first_attr(xml); iter != NULL; xml 202 lib/common/nvpair.c pcmk_nvpairs2xml_attrs(GSList *list, xmlNode *xml) xml 204 lib/common/nvpair.c g_slist_foreach(list, pcmk__nvpair_add_xml_attr, xml); xml 482 lib/common/nvpair.c crm_xml_add_ll(xmlNode *xml, const char *name, long long value) xml 489 lib/common/nvpair.c return crm_xml_add(xml, name, s); xml 506 lib/common/nvpair.c crm_xml_add_timeval(xmlNode *xml, const char *name_sec, const char *name_usec, xml 511 lib/common/nvpair.c if (xml && name_sec && value) { xml 512 lib/common/nvpair.c added = crm_xml_add_ll(xml, name_sec, (long long) value->tv_sec); xml 515 lib/common/nvpair.c crm_xml_add_ll(xml, name_usec, (long long) value->tv_usec); xml 651 lib/common/nvpair.c crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest) xml 655 lib/common/nvpair.c if (crm_element_value_ll(xml, name, &value_ll) < 0) { xml 680 lib/common/nvpair.c crm_element_value_timeval(const xmlNode *xml, const char *name_sec, xml 689 lib/common/nvpair.c if (xml == NULL) { xml 701 lib/common/nvpair.c if (crm_element_value_ll(xml, name_sec, &value_i) < 0) { xml 707 lib/common/nvpair.c if (crm_element_value_ll(xml, name_usec, &value_i) < 0) { xml 86 lib/common/patchset.c add_xml_changes_to_patchset(xmlNode *xml, xmlNode *patchset) xml 91 lib/common/patchset.c xml_private_t *p = xml->_private; xml 99 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml->parent, buffer, offset, xml 101 lib/common/patchset.c int position = pcmk__xml_position(xml, xpf_deleted); xml 108 lib/common/patchset.c add_node_copy(change, xml); xml 115 lib/common/patchset.c for (pIter = pcmk__xe_first_attr(xml); pIter != NULL; xml 128 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml, buffer, offset, xml 148 lib/common/patchset.c value = crm_element_value(xml, (const char *) pIter->name); xml 157 lib/common/patchset.c result = create_xml_node(change, (const char *)xml->name); xml 159 lib/common/patchset.c for (pIter = pcmk__xe_first_attr(xml); pIter != NULL; xml 163 lib/common/patchset.c value = crm_element_value(xml, (const char *) pIter->name); xml 170 lib/common/patchset.c for (cIter = pcmk__xml_first_child(xml); cIter != NULL; xml 175 lib/common/patchset.c p = xml->_private; xml 181 lib/common/patchset.c xml->name, ID(xml), pcmk__xml_position(xml, xpf_skip)); xml 182 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml, buffer, offset, xml 189 lib/common/patchset.c pcmk__xml_position(xml, xpf_deleted)); xml 195 lib/common/patchset.c is_config_change(xmlNode *xml) xml 199 lib/common/patchset.c xmlNode *config = first_named_child(xml, XML_CIB_TAG_CONFIGURATION); xml 208 lib/common/patchset.c if ((xml->doc != NULL) && (xml->doc->_private != NULL)) { xml 209 lib/common/patchset.c p = xml->doc->_private; xml 852 lib/common/patchset.c xml_patch_version_check(xmlNode *xml, xmlNode *patchset, int format) xml 868 lib/common/patchset.c crm_element_value_int(xml, vfields[lpc], &(this[lpc])); xml 928 lib/common/patchset.c apply_v1_patchset(xmlNode *xml, xmlNode *patchset) xml 936 lib/common/patchset.c xmlNode *old = copy_xml(xml); xml 943 lib/common/patchset.c process_v1_removals(xml, child_diff); xml 963 lib/common/patchset.c process_v1_additions(NULL, xml, child_diff); xml 975 lib/common/patchset.c purge_diff_markers(xml); // Purge prior to checking digest xml 1143 lib/common/patchset.c apply_v2_patchset(xmlNode *xml, xmlNode *patchset) xml 1167 lib/common/patchset.c match = search_v2_xpath(xml, xpath, position); xml 1171 lib/common/patchset.c crm_debug("No %s match for %s in %p", op, xpath, xml->doc); xml 1175 lib/common/patchset.c crm_err("No %s match for %s in %p", op, xpath, xml->doc); xml 1326 lib/common/patchset.c xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version) xml 1341 lib/common/patchset.c rc = pcmk_rc2legacy(xml_patch_version_check(xml, patchset, format)); xml 1349 lib/common/patchset.c old = copy_xml(xml); xml 1355 lib/common/patchset.c rc = pcmk_rc2legacy(apply_v1_patchset(xml, patchset)); xml 1358 lib/common/patchset.c rc = pcmk_rc2legacy(apply_v2_patchset(xml, patchset)); xml 1370 lib/common/patchset.c char *version = crm_element_value_copy(xml, XML_ATTR_CRM_VERSION); xml 1378 lib/common/patchset.c new_digest = calculate_xml_versioned_digest(xml, FALSE, TRUE, version); xml 1386 lib/common/patchset.c save_xml_to_file(xml, "PatchDigest:result", NULL); xml 542 lib/common/remote.c xmlNode *xml = NULL; xml 590 lib/common/remote.c xml = string2xml(remote->buffer + header->payload_offset); xml 591 lib/common/remote.c if (xml == NULL && header->version > REMOTE_MSG_VERSION) { xml 595 lib/common/remote.c } else if (xml == NULL) { xml 599 lib/common/remote.c return xml; xml 593 lib/common/schemas.c validate_with(xmlNode *xml, int method, gboolean to_logs) xml 607 lib/common/schemas.c CRM_CHECK(xml != NULL, return FALSE); xml 608 lib/common/schemas.c doc = getDocPtr(xml); xml 631 lib/common/schemas.c validate_with_silent(xmlNode *xml, int method) xml 635 lib/common/schemas.c rc = validate_with(xml, method, TRUE); xml 676 lib/common/schemas.c xmlNode *xml = NULL; xml 689 lib/common/schemas.c xml = xmlDocGetRootElement(doc); xml 690 lib/common/schemas.c rc = validate_xml(xml, NULL, FALSE); xml 691 lib/common/schemas.c free_xml(xml); xml 902 lib/common/schemas.c apply_transformation(xmlNode *xml, const char *transform, gboolean to_logs) xml 915 lib/common/schemas.c CRM_CHECK(xml != NULL, return FALSE); xml 916 lib/common/schemas.c doc = getDocPtr(xml); xml 967 lib/common/schemas.c apply_upgrade(xmlNode *xml, const struct schema_s *schema, gboolean to_logs) xml 977 lib/common/schemas.c upgrade = apply_transformation(xml, schema->transform_enter, to_logs); xml 985 lib/common/schemas.c upgrade = xml; xml 991 lib/common/schemas.c if (upgrade != xml) { xml 1050 lib/common/schemas.c xmlNode *xml = NULL; xml 1062 lib/common/schemas.c xml = *xml_blob; xml 1063 lib/common/schemas.c value = crm_element_value_copy(xml, XML_ATTR_VALIDATION); xml 1090 lib/common/schemas.c if (validate_with(xml, lpc, to_logs) == FALSE) { xml 1138 lib/common/schemas.c || validate_with_silent(xml, next)) { xml 1150 lib/common/schemas.c upgrade = apply_upgrade(xml, &known_schemas[lpc], to_logs); xml 1162 lib/common/schemas.c free_xml(xml); xml 1163 lib/common/schemas.c xml = upgrade; xml 1187 lib/common/schemas.c crm_xml_add(xml, XML_ATTR_VALIDATION, known_schemas[*best].name); xml 1190 lib/common/schemas.c *xml_blob = xml; xml 1196 lib/common/schemas.c cli_config_update(xmlNode **xml, int *best_version, gboolean to_logs) xml 1199 lib/common/schemas.c const char *value = crm_element_value(*xml, XML_ATTR_VALIDATION); xml 1210 lib/common/schemas.c converted = copy_xml(*xml); xml 1263 lib/common/schemas.c free_xml(*xml); xml 1264 lib/common/schemas.c *xml = converted; xml 52 lib/common/xml.c pcmk__tracking_xml_changes(xmlNode *xml, bool lazy) xml 54 lib/common/xml.c if(xml == NULL || xml->doc == NULL || xml->doc->_private == NULL) { xml 56 lib/common/xml.c } else if (!pcmk_is_set(((xml_private_t *)xml->doc->_private)->flags, xml 59 lib/common/xml.c } else if (lazy && !pcmk_is_set(((xml_private_t *)xml->doc->_private)->flags, xml 103 lib/common/xml.c set_parent_flag(xmlNode *xml, long flag) xml 106 lib/common/xml.c for(; xml; xml = xml->parent) { xml 107 lib/common/xml.c xml_private_t *p = xml->_private; xml 118 lib/common/xml.c pcmk__set_xml_doc_flag(xmlNode *xml, enum xml_private_flags flag) xml 121 lib/common/xml.c if(xml && xml->doc && xml->doc->_private){ xml 123 lib/common/xml.c xml_private_t *p = xml->doc->_private; xml 131 lib/common/xml.c mark_xml_node_dirty(xmlNode *xml) xml 133 lib/common/xml.c pcmk__set_xml_doc_flag(xml, xpf_dirty); xml 134 lib/common/xml.c set_parent_flag(xml, xpf_dirty); xml 139 lib/common/xml.c reset_xml_node_flags(xmlNode *xml) xml 142 lib/common/xml.c xml_private_t *p = xml->_private; xml 148 lib/common/xml.c for (cIter = pcmk__xml_first_child(xml); cIter != NULL; xml 156 lib/common/xml.c pcmk__mark_xml_created(xmlNode *xml) xml 159 lib/common/xml.c xml_private_t *p = xml->_private; xml 161 lib/common/xml.c if (p && pcmk__tracking_xml_changes(xml, FALSE)) { xml 164 lib/common/xml.c mark_xml_node_dirty(xml); xml 166 lib/common/xml.c for (cIter = pcmk__xml_first_child(xml); cIter != NULL; xml 276 lib/common/xml.c xml_track_changes(xmlNode * xml, const char *user, xmlNode *acl_source, bool enforce_acls) xml 278 lib/common/xml.c xml_accept_changes(xml); xml 279 lib/common/xml.c crm_trace("Tracking changes%s to %p", enforce_acls?" with ACLs":"", xml); xml 280 lib/common/xml.c pcmk__set_xml_doc_flag(xml, xpf_tracking); xml 283 lib/common/xml.c acl_source = xml; xml 285 lib/common/xml.c pcmk__set_xml_doc_flag(xml, xpf_acl_enabled); xml 286 lib/common/xml.c pcmk__unpack_acl(acl_source, xml, user); xml 287 lib/common/xml.c pcmk__apply_acl(xml); xml 291 lib/common/xml.c bool xml_tracking_changes(xmlNode * xml) xml 293 lib/common/xml.c return (xml != NULL) && (xml->doc != NULL) && (xml->doc->_private != NULL) xml 294 lib/common/xml.c && pcmk_is_set(((xml_private_t *)(xml->doc->_private))->flags, xml 298 lib/common/xml.c bool xml_document_dirty(xmlNode *xml) xml 300 lib/common/xml.c return (xml != NULL) && (xml->doc != NULL) && (xml->doc->_private != NULL) xml 301 lib/common/xml.c && pcmk_is_set(((xml_private_t *)(xml->doc->_private))->flags, xml 315 lib/common/xml.c pcmk__xml_position(xmlNode *xml, enum xml_private_flags ignore_if_set) xml 320 lib/common/xml.c for(cIter = xml; cIter->prev; cIter = cIter->prev) { xml 346 lib/common/xml.c accept_attr_deletions(xmlNode *xml) xml 349 lib/common/xml.c ((xml_private_t *) xml->_private)->flags = xpf_none; xml 352 lib/common/xml.c pcmk__xe_remove_matching_attrs(xml, marked_as_deleted, NULL); xml 355 lib/common/xml.c for (xmlNodePtr cIter = pcmk__xml_first_child(xml); cIter != NULL; xml 386 lib/common/xml.c xml_log_changes(uint8_t log_level, const char *function, xmlNode * xml) xml 395 lib/common/xml.c CRM_ASSERT(xml); xml 396 lib/common/xml.c CRM_ASSERT(xml->doc); xml 398 lib/common/xml.c doc = xml->doc->_private; xml 416 lib/common/xml.c log_data_element(log_level, __FILE__, function, __LINE__, "+ ", xml, 0, xml 421 lib/common/xml.c xml_accept_changes(xmlNode * xml) xml 426 lib/common/xml.c if(xml == NULL) { xml 430 lib/common/xml.c crm_trace("Accepting changes to %p", xml); xml 431 lib/common/xml.c doc = xml->doc->_private; xml 432 lib/common/xml.c top = xmlDocGetRootElement(xml->doc); xml 434 lib/common/xml.c reset_xml_private_data(xml->doc->_private); xml 755 lib/common/xml.c pcmk_free_xml_subtree(xmlNode *xml) xml 757 lib/common/xml.c xmlUnlinkNode(xml); // Detaches from parent and siblings xml 758 lib/common/xml.c xmlFreeNode(xml); // Frees xml 870 lib/common/xml.c xmlNode *xml = NULL; xml 889 lib/common/xml.c xml = xmlDocGetRootElement(output); xml 905 lib/common/xml.c crm_err("Couldn't%s parse %d chars: %s", xml ? " fully" : "", (int)strlen(input), xml 907 lib/common/xml.c if (xml != NULL) { xml 908 lib/common/xml.c crm_log_xml_err(xml, "Partial"); xml 925 lib/common/xml.c return xml; xml 1015 lib/common/xml.c pcmk__strip_xml_text(xmlNode *xml) xml 1017 lib/common/xml.c xmlNode *iter = xml->children; xml 1045 lib/common/xml.c xmlNode *xml = NULL; xml 1078 lib/common/xml.c if (output && (xml = xmlDocGetRootElement(output))) { xml 1079 lib/common/xml.c pcmk__strip_xml_text(xml); xml 1093 lib/common/xml.c crm_err("Couldn't%s parse %s", xml ? " fully" : "", filename); xml 1094 lib/common/xml.c if (xml != NULL) { xml 1095 lib/common/xml.c crm_log_xml_err(xml, "Partial"); xml 1101 lib/common/xml.c return xml; xml 1149 lib/common/xml.c crm_xml_set_id(xmlNode *xml, const char *format, ...) xml 1162 lib/common/xml.c crm_xml_add(xml, XML_ATTR_ID, id); xml 2055 lib/common/xml.c save_xml_to_file(xmlNode * xml, const char *desc, const char *filename) xml 2068 lib/common/xml.c write_xml_file(xml, filename, FALSE); xml 2080 lib/common/xml.c set_attrs_flag(xmlNode *xml, enum xml_private_flags flag) xml 2082 lib/common/xml.c for (xmlAttr *attr = pcmk__xe_first_attr(xml); attr; attr = attr->next) { xml 110 lib/common/xpath.c xmlNode *xml = NULL; xml 117 lib/common/xpath.c xml = xpathObj->nodesetval->nodeTab[lpc]->parent; xml 119 lib/common/xpath.c for (; xml; xml = xml->parent) { xml 123 lib/common/xpath.c if (xpathObj->nodesetval->nodeTab[lpc2] == xml) { xml 173 lib/common/xpath.c crm_foreach_xpath_result(xmlNode *xml, const char *xpath, xml 176 lib/common/xpath.c xmlXPathObjectPtr xpathObj = xpath_search(xml, xpath); xml 269 lib/common/xpath.c pcmk__element_xpath(const char *prefix, xmlNode *xml, char *buffer, xml 272 lib/common/xpath.c const char *id = ID(xml); xml 274 lib/common/xpath.c if(offset == 0 && prefix == NULL && xml->parent) { xml 275 lib/common/xpath.c offset = pcmk__element_xpath(NULL, xml->parent, buffer, offset, xml 281 lib/common/xpath.c "/%s[@id='%s']", (const char *) xml->name, id); xml 282 lib/common/xpath.c } else if(xml->name) { xml 284 lib/common/xpath.c "/%s", (const char *) xml->name); xml 291 lib/common/xpath.c xml_get_path(xmlNode *xml) xml 296 lib/common/xpath.c if (pcmk__element_xpath(NULL, xml, buffer, offset, sizeof(buffer)) > 0) { xml 98 lib/fencing/st_client.c xmlNode *xml; xml 259 lib/fencing/st_client.c blob.xml = create_xml_node(NULL, "notify"); xml 267 lib/fencing/st_client.c crm_xml_add(blob.xml, F_TYPE, T_STONITH_NOTIFY); xml 268 lib/fencing/st_client.c crm_xml_add(blob.xml, F_SUBTYPE, T_STONITH_NOTIFY_DISCONNECT); xml 271 lib/fencing/st_client.c free_xml(blob.xml); xml 1421 lib/fencing/st_client.c blob.xml = string2xml(buffer); xml 1422 lib/fencing/st_client.c if (blob.xml == NULL) { xml 1428 lib/fencing/st_client.c type = crm_element_value(blob.xml, F_TYPE); xml 1432 lib/fencing/st_client.c stonith_perform_callback(st, blob.xml, 0, 0); xml 1440 lib/fencing/st_client.c crm_element_value_int(blob.xml, F_STONITH_TIMEOUT, &timeout); xml 1441 lib/fencing/st_client.c crm_element_value_int(blob.xml, F_STONITH_CALLID, &call_id); xml 1446 lib/fencing/st_client.c crm_log_xml_warn(blob.xml, "BadReply"); xml 1449 lib/fencing/st_client.c free_xml(blob.xml); xml 1789 lib/fencing/st_client.c if (blob->xml == NULL) { xml 1794 lib/fencing/st_client.c event = crm_element_value(blob->xml, F_SUBTYPE); xml 1813 lib/fencing/st_client.c st_event = xml_to_event(blob->xml); xml 125 lib/fencing/st_rhcs.c xmlNode *xml = NULL; xml 153 lib/fencing/st_rhcs.c xml = string2xml(buffer); xml 156 lib/fencing/st_rhcs.c if (xml == NULL) { xml 161 lib/fencing/st_rhcs.c xpathObj = xpath_search(xml, "//actions"); xml 168 lib/fencing/st_rhcs.c xpathObj = xpath_search(xml, "//action[@name='stop']"); xml 183 lib/fencing/st_rhcs.c stonith_rhcs_parameter_not_required(xml, "action"); xml 184 lib/fencing/st_rhcs.c stonith_rhcs_parameter_not_required(xml, "plug"); xml 185 lib/fencing/st_rhcs.c stonith_rhcs_parameter_not_required(xml, "port"); xml 188 lib/fencing/st_rhcs.c *metadata = xml; xml 191 lib/fencing/st_rhcs.c free_xml(xml); xml 210 lib/fencing/st_rhcs.c xmlNode *xml = NULL; xml 212 lib/fencing/st_rhcs.c int rc = stonith__rhcs_get_metadata(agent, timeout, &xml); xml 215 lib/fencing/st_rhcs.c free_xml(xml); xml 219 lib/fencing/st_rhcs.c buffer = dump_xml_formatted_with_text(xml); xml 220 lib/fencing/st_rhcs.c free_xml(xml); xml 374 lib/lrmd/lrmd_client.c xmlNode *xml = NULL; xml 401 lib/lrmd/lrmd_client.c xml = pcmk__remote_message_xml(native->remote); xml 405 lib/lrmd/lrmd_client.c xml = pcmk__remote_message_xml(native->remote); xml 411 lib/lrmd/lrmd_client.c while (xml) { xml 412 lib/lrmd/lrmd_client.c const char *msg_type = crm_element_value(xml, F_LRMD_REMOTE_MSG_TYPE); xml 414 lib/lrmd/lrmd_client.c lrmd_dispatch_internal(lrmd, xml); xml 420 lib/lrmd/lrmd_client.c crm_element_value_int(xml, F_LRMD_CALLID, &reply_id); xml 425 lib/lrmd/lrmd_client.c free_xml(xml); xml 426 lib/lrmd/lrmd_client.c xml = pcmk__remote_message_xml(native->remote); xml 719 lib/lrmd/lrmd_client.c xmlNode *xml = NULL; xml 730 lib/lrmd/lrmd_client.c rc = read_remote_reply(lrmd, timeout, global_remote_msg_id, &xml); xml 739 lib/lrmd/lrmd_client.c *reply = xml; xml 741 lib/lrmd/lrmd_client.c free_xml(xml); xml 122 lib/lrmd/proxy_common.c xmlNode *xml = NULL; xml 126 lib/lrmd/proxy_common.c xml = string2xml(buffer); xml 127 lib/lrmd/proxy_common.c if (xml == NULL) { xml 135 lib/lrmd/proxy_common.c remote_proxy_relay_response(proxy, xml, proxy->last_request_id); xml 140 lib/lrmd/proxy_common.c remote_proxy_relay_event(proxy, xml); xml 142 lib/lrmd/proxy_common.c free_xml(xml); xml 298 lib/pacemaker/pcmk_cluster_queries.c pcmk_controller_status(xmlNodePtr *xml, char *dest_node, unsigned int message_timeout_ms) xml 303 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__out_prologue(&out, xml); xml 311 lib/pacemaker/pcmk_cluster_queries.c pcmk__out_epilogue(out, xml, rc); xml 343 lib/pacemaker/pcmk_cluster_queries.c pcmk_designated_controller(xmlNodePtr *xml, unsigned int message_timeout_ms) xml 348 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__out_prologue(&out, xml); xml 356 lib/pacemaker/pcmk_cluster_queries.c pcmk__out_epilogue(out, xml, rc); xml 388 lib/pacemaker/pcmk_cluster_queries.c pcmk_pacemakerd_status(xmlNodePtr *xml, char *ipc_name, unsigned int message_timeout_ms) xml 393 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__out_prologue(&out, xml); xml 401 lib/pacemaker/pcmk_cluster_queries.c pcmk__out_epilogue(out, xml, rc); xml 497 lib/pacemaker/pcmk_cluster_queries.c pcmk_list_nodes(xmlNodePtr *xml, char *node_types) xml 502 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__out_prologue(&out, xml); xml 510 lib/pacemaker/pcmk_cluster_queries.c pcmk__out_epilogue(out, xml, rc); xml 238 lib/pacemaker/pcmk_fence.c pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, unsigned int timeout, xml 243 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 253 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 281 lib/pacemaker/pcmk_fence.c pcmk_fence_installed(xmlNodePtr *xml, stonith_t *st, unsigned int timeout) { xml 285 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 293 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 317 lib/pacemaker/pcmk_fence.c pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid) { xml 321 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 329 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 361 lib/pacemaker/pcmk_fence.c pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st, const char *device_id, xml 366 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 374 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 397 lib/pacemaker/pcmk_fence.c pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, char *agent, xml 402 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 410 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 443 lib/pacemaker/pcmk_fence.c pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, xml 448 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 456 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 503 lib/pacemaker/pcmk_fence.c pcmk_fence_validate(xmlNodePtr *xml, stonith_t *st, const char *agent, xml 509 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 517 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 237 lib/pacemaker/pcmk_output.c xmlNode *xml = NULL; xml 260 lib/pacemaker/pcmk_output.c xml = pcmk__output_create_xml_node(out, "rsc_action", xml 268 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 276 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "node", destination->details->uname); xml 280 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 287 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "node", origin->details->uname); xml 291 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 298 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "source", origin->details->uname); xml 302 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 310 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 317 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 325 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 334 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 340 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "reason", source->reason); xml 343 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "blocked", "true"); xml 807 lib/pacemaker/pcmk_output.c xmlNode *xml = NULL; xml 809 lib/pacemaker/pcmk_output.c xml = pcmk__output_create_xml_node(out, "digests", xml 817 lib/pacemaker/pcmk_output.c add_digest_xml(xml, "all", digests->digest_all_calc, xml 819 lib/pacemaker/pcmk_output.c add_digest_xml(xml, "nonprivate", digests->digest_secure_calc, xml 821 lib/pacemaker/pcmk_output.c add_digest_xml(xml, "nonreloadable", digests->digest_restart_calc, xml 22 lib/pacemaker/pcmk_output_utils.c pcmk__out_prologue(pcmk__output_t **out, xmlNodePtr *xml) { xml 25 lib/pacemaker/pcmk_output_utils.c if (*xml != NULL) { xml 26 lib/pacemaker/pcmk_output_utils.c xmlFreeNode(*xml); xml 39 lib/pacemaker/pcmk_output_utils.c pcmk__out_epilogue(pcmk__output_t *out, xmlNodePtr *xml, int retval) { xml 41 lib/pacemaker/pcmk_output_utils.c out->finish(out, 0, FALSE, (void **) xml); xml 125 lib/pacemaker/pcmk_resource.c pcmk_resource_digests(xmlNodePtr *xml, pe_resource_t *rsc, xml 132 lib/pacemaker/pcmk_resource.c rc = pcmk__out_prologue(&out, xml); xml 138 lib/pacemaker/pcmk_resource.c pcmk__out_epilogue(out, xml, rc); xml 140 lib/pacemaker/pcmk_sched_allocate.c value = crm_element_value(rsc->xml, attr_list[attr_lpc]); xml 983 lib/pacemaker/pcmk_sched_allocate.c class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1290 lib/pacemaker/pcmk_sched_allocate.c crm_element_name(rsc->xml), rsc->id); xml 933 lib/pacemaker/pcmk_sched_bundle.c replica->remote->xml, LOG_ERR); xml 1073 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_append_meta(pe_resource_t *rsc, xmlNode *xml) xml 1524 lib/pacemaker/pcmk_sched_clone.c clone_append_meta(pe_resource_t * rsc, xmlNode * xml) xml 1532 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pe__rsc_bool_str(rsc, pe_rsc_unique)); xml 1536 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pe__rsc_bool_str(rsc, pe_rsc_notify)); xml 1540 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_max); xml 1544 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_node_max); xml 1549 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); xml 1553 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); xml 1560 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); xml 1564 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); xml 889 lib/pacemaker/pcmk_sched_graph.c add_node_to_xml_by_id(const char *id, xmlNode *xml) xml 893 lib/pacemaker/pcmk_sched_graph.c node_xml = create_xml_node(xml, XML_CIB_TAG_NODE); xml 907 lib/pacemaker/pcmk_sched_graph.c add_node_to_xml(const pe_node_t *node, void *xml) xml 909 lib/pacemaker/pcmk_sched_graph.c add_node_to_xml_by_id(node->details->id, (xmlNode *) xml); xml 920 lib/pacemaker/pcmk_sched_graph.c add_maintenance_nodes(xmlNode *xml, const pe_working_set_t *data_set) xml 924 lib/pacemaker/pcmk_sched_graph.c xml?create_xml_node(xml, XML_GRAPH_TAG_MAINTENANCE):NULL; xml 981 lib/pacemaker/pcmk_sched_graph.c add_downed_nodes(xmlNode *xml, const pe_action_t *action, xml 984 lib/pacemaker/pcmk_sched_graph.c CRM_CHECK(xml && action && action->node && data_set, return); xml 989 lib/pacemaker/pcmk_sched_graph.c xmlNode *downed = create_xml_node(xml, XML_GRAPH_TAG_DOWNED); xml 998 lib/pacemaker/pcmk_sched_graph.c xmlNode *downed = create_xml_node(xml, XML_GRAPH_TAG_DOWNED); xml 1022 lib/pacemaker/pcmk_sched_graph.c xmlNode *downed = create_xml_node(xml, XML_GRAPH_TAG_DOWNED); xml 1179 lib/pacemaker/pcmk_sched_graph.c crm_element_name(action->rsc->xml)); xml 1199 lib/pacemaker/pcmk_sched_graph.c const char *xml_id = ID(action->rsc->xml); xml 574 lib/pacemaker/pcmk_sched_group.c group_append_meta(pe_resource_t * rsc, xmlNode * xml) xml 46 lib/pacemaker/pcmk_sched_messages.c out->message(out, crm_map_element_name(rsc->xml), 0, rsc, all, all); xml 1290 lib/pacemaker/pcmk_sched_native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 2661 lib/pacemaker/pcmk_sched_native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 3188 lib/pacemaker/pcmk_sched_native.c native_append_meta(pe_resource_t * rsc, xmlNode * xml) xml 3197 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, name, value); xml 3206 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, name, value); xml 3212 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, CRM_META"_"XML_RSC_ATTR_CONTAINER, parent->container->id); xml 562 lib/pacemaker/pcmk_sched_transition.c rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 563 lib/pacemaker/pcmk_sched_transition.c rtype = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 564 lib/pacemaker/pcmk_sched_transition.c rprovider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 599 lib/pacemaker/pcmk_sched_transition.c const char *node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 600 lib/pacemaker/pcmk_sched_transition.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 622 lib/pacemaker/pcmk_sched_transition.c const char *operation = crm_element_value(action->xml, "operation"); xml 627 lib/pacemaker/pcmk_sched_transition.c xmlNode *action_rsc = first_named_child(action->xml, XML_CIB_TAG_RESOURCE); xml 629 lib/pacemaker/pcmk_sched_transition.c char *node = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET); xml 630 lib/pacemaker/pcmk_sched_transition.c char *uuid = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 631 lib/pacemaker/pcmk_sched_transition.c const char *router_node = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 639 lib/pacemaker/pcmk_sched_transition.c crm_log_xml_err(action->xml, "Bad"); xml 749 lib/pacemaker/pcmk_sched_transition.c const char *node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 750 lib/pacemaker/pcmk_sched_transition.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 751 lib/pacemaker/pcmk_sched_transition.c xmlNode *rsc = first_named_child(action->xml, XML_CIB_TAG_RESOURCE); xml 763 lib/pacemaker/pcmk_sched_transition.c char *target = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET); xml 244 lib/pacemaker/pcmk_sched_utilization.c orig_rsc->id, ID(first_child->xml)); xml 172 lib/pacemaker/pcmk_trans_graph.c id = ID(action->xml); xml 187 lib/pacemaker/pcmk_trans_graph.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 199 lib/pacemaker/pcmk_trans_graph.c crm_err("Failed on unsupported command type: %s (id=%s)", crm_element_name(action->xml), id); xml 224 lib/pacemaker/pcmk_trans_graph.c crm_element_name(action->xml), action->id, synapse->id); xml 42 lib/pacemaker/pcmk_trans_unpack.c action->xml = copy_xml(xml_action); xml 45 lib/pacemaker/pcmk_trans_unpack.c if (pcmk__str_eq(crm_element_name(action->xml), XML_GRAPH_TAG_RSC_OP, pcmk__str_casei)) { xml 48 lib/pacemaker/pcmk_trans_unpack.c } else if (pcmk__str_eq(crm_element_name(action->xml), XML_GRAPH_TAG_PSEUDO_EVENT, pcmk__str_casei)) { xml 51 lib/pacemaker/pcmk_trans_unpack.c } else if (pcmk__str_eq(crm_element_name(action->xml), XML_GRAPH_TAG_CRM_EVENT, pcmk__str_casei)) { xml 55 lib/pacemaker/pcmk_trans_unpack.c action->params = xml2list(action->xml); xml 262 lib/pacemaker/pcmk_trans_unpack.c free_xml(action->xml); xml 316 lib/pacemaker/pcmk_trans_unpack.c action_resource = first_named_child(action->xml, XML_CIB_TAG_RESOURCE); xml 317 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(action_resource != NULL, crm_log_xml_warn(action->xml, "Bad"); xml 321 lib/pacemaker/pcmk_trans_unpack.c crm_element_value(action->xml, XML_LRM_ATTR_TASK), xml 161 lib/pacemaker/pcmk_trans_utils.c pcmk__add_word(&pending, &pending_len, ID(input->xml)); xml 168 lib/pacemaker/pcmk_trans_utils.c pcmk__add_word(&pending, &pending_len, ID(input->xml)); xml 184 lib/pacemaker/pcmk_trans_utils.c const char *key = crm_element_value(input->xml, XML_LRM_ATTR_TASK_KEY); xml 185 lib/pacemaker/pcmk_trans_utils.c const char *host = crm_element_value(input->xml, XML_LRM_ATTR_TARGET); xml 200 lib/pacemaker/pcmk_trans_utils.c const char *key = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 201 lib/pacemaker/pcmk_trans_utils.c const char *host = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 964 lib/pengine/bundle.c && xml_contains_remote_node(rsc->xml); xml 969 lib/pengine/bundle.c xmlNode *xml, const char *field) xml 1000 lib/pengine/bundle.c if(xml != NULL && field != NULL) { xml 1001 lib/pengine/bundle.c crm_xml_add(xml, field, node->details->uname); xml 1029 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, PE__CONTAINER_AGENT_DOCKER_S); xml 1033 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, PE__CONTAINER_AGENT_RKT_S); xml 1037 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, PE__CONTAINER_AGENT_PODMAN_S); xml 1078 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, "network"); xml 1115 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, "storage"); xml 1140 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, "primitive"); xml 1203 lib/pengine/bundle.c pe_err("Failed unpacking resource %s", ID(rsc->xml)); xml 1540 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), show_opts, xml 1545 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), show_opts, xml 1550 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), show_opts, xml 1555 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), show_opts, xml 1657 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), xml 1662 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), xml 1667 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), xml 1672 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), xml 1787 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), xml 1792 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), xml 1797 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), xml 1802 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), xml 1936 lib/pengine/bundle.c free_xml(replica->ip->xml); xml 1937 lib/pengine/bundle.c replica->ip->xml = NULL; xml 1942 lib/pengine/bundle.c free_xml(replica->container->xml); xml 1943 lib/pengine/bundle.c replica->container->xml = NULL; xml 1948 lib/pengine/bundle.c free_xml(replica->remote->xml); xml 1949 lib/pengine/bundle.c replica->remote->xml = NULL; xml 1984 lib/pengine/bundle.c free_xml(bundle_data->child->xml); xml 1985 lib/pengine/bundle.c bundle_data->child->xml = NULL; xml 158 lib/pengine/clone.c xmlNode *xml_obj = rsc->xml; xml 692 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, xml 818 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, xml 965 lib/pengine/clone.c free_xml(child_rsc->xml); xml 966 lib/pengine/clone.c child_rsc->xml = NULL; xml 113 lib/pengine/complex.c pe__unpack_dataset_nvpairs(p->xml, XML_TAG_META_SETS, xml 144 lib/pengine/complex.c .standard = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS), xml 145 lib/pengine/complex.c .provider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER), xml 146 lib/pengine/complex.c .agent = crm_element_value(rsc->xml, XML_EXPR_ATTR_TYPE) xml 162 lib/pengine/complex.c for (xmlAttrPtr a = pcmk__xe_first_attr(rsc->xml); a != NULL; a = a->next) { xml 164 lib/pengine/complex.c const char *prop_value = crm_element_value(rsc->xml, prop_name); xml 169 lib/pengine/complex.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_META_SETS, &rule_data, xml 206 lib/pengine/complex.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_ATTR_SETS, &rule_data, xml 234 lib/pengine/complex.c pe_eval_versioned_attributes(data_set->input, rsc->xml, XML_TAG_ATTR_SETS, xml 426 lib/pengine/complex.c if (pcmk__str_eq(crm_element_name(rsc->xml), PCMK_XE_PROMOTABLE_LEGACY, xml 536 lib/pengine/complex.c (*rsc)->xml = expanded_xml; xml 540 lib/pengine/complex.c (*rsc)->xml = xml_obj; xml 545 lib/pengine/complex.c rclass = crm_element_value((*rsc)->xml, XML_AGENT_ATTR_CLASS); xml 548 lib/pengine/complex.c ops = find_xml_node((*rsc)->xml, "operations", FALSE); xml 551 lib/pengine/complex.c (*rsc)->variant = get_resource_type(crm_element_name((*rsc)->xml)); xml 553 lib/pengine/complex.c pe_err("Unknown resource type: %s", crm_element_name((*rsc)->xml)); xml 566 lib/pengine/complex.c value = crm_element_value((*rsc)->xml, XML_RSC_ATTR_INCARNATION); xml 615 lib/pengine/complex.c if (xml_contains_remote_node((*rsc)->xml)) { xml 772 lib/pengine/complex.c && pcmk__str_eq(crm_element_value((*rsc)->xml, XML_AGENT_ATTR_CLASS), PCMK_RESOURCE_CLASS_OCF, pcmk__str_casei) xml 773 lib/pengine/complex.c && pcmk__str_eq(crm_element_value((*rsc)->xml, XML_AGENT_ATTR_PROVIDER), "pacemaker", pcmk__str_casei) xml 774 lib/pengine/complex.c && pcmk__str_eq(crm_element_value((*rsc)->xml, XML_ATTR_TYPE), "remote", pcmk__str_casei) xml 850 lib/pengine/complex.c pe__unpack_dataset_nvpairs((*rsc)->xml, XML_TAG_UTILIZATION, &rule_data, xml 946 lib/pengine/complex.c free_xml(rsc->xml); xml 947 lib/pengine/complex.c rsc->xml = NULL; xml 953 lib/pengine/complex.c free_xml(rsc->xml); xml 954 lib/pengine/complex.c rsc->xml = NULL; xml 98 lib/pengine/failcounts.c xmlXPathObject *xpathObj = xpath_search(rsc->xml, xpath); xml 99 lib/pengine/group.c xmlNode *xml_obj = rsc->xml; xml 124 lib/pengine/group.c clone_id = crm_element_value(rsc->xml, XML_RSC_ATTR_INCARNATION); xml 296 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc, xml 350 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, xml 202 lib/pengine/native.c const char *standard = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 277 lib/pengine/native.c const char *rid = ID(rsc->xml); xml 454 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 455 lib/pengine/native.c const char *prov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 465 lib/pengine/native.c crm_element_value(rsc->xml, XML_ATTR_TYPE)); xml 548 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 550 lib/pengine/native.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 564 lib/pengine/native.c provider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 650 lib/pengine/native.c const char *desc = crm_element_value(rsc->xml, XML_ATTR_DESC); xml 680 lib/pengine/native.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 909 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 910 lib/pengine/native.c const char *prov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 932 lib/pengine/native.c crm_element_value(rsc->xml, XML_ATTR_TYPE)); xml 1108 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1109 lib/pengine/native.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 1123 lib/pengine/native.c const char *prov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 216 lib/pengine/pe_digest.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1350 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), show_opts | pcmk_show_rsc_only, xml 1425 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), show_opts | pcmk_show_rsc_only, xml 1498 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), show_opts | pcmk_show_rsc_only, xml 1663 lib/pengine/pe_output.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1664 lib/pengine/pe_output.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 1668 lib/pengine/pe_output.c pcmk_is_set(pcmk_get_ra_caps(class), pcmk_ra_cap_provider) ? crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER) : "", xml 2273 lib/pengine/pe_output.c rsc_xml = dump_xml_formatted(rsc->orig_xml ? rsc->orig_xml : rsc->xml); xml 2275 lib/pengine/pe_output.c rsc_xml = dump_xml_formatted(rsc->xml); xml 2441 lib/pengine/pe_output.c x = out->message(out, crm_map_element_name(rsc->xml), show_opts, rsc, xml 2765 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), xml 84 lib/pengine/remote.c xml_contains_remote_node(xmlNode *xml) xml 88 lib/pengine/remote.c if (xml == NULL) { xml 92 lib/pengine/remote.c value = crm_element_value(xml, XML_ATTR_TYPE); xml 97 lib/pengine/remote.c value = crm_element_value(xml, XML_AGENT_ATTR_CLASS); xml 102 lib/pengine/remote.c value = crm_element_value(xml, XML_AGENT_ATTR_PROVIDER); xml 277 lib/pengine/rules.c update_field(crm_time_t *t, xmlNode *xml, const char *attr, xml 282 lib/pengine/rules.c if ((pcmk__scan_ll(crm_element_value(xml, attr), &value, 0LL) == pcmk_rc_ok) xml 18 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c xmlNodePtr xml = string2xml(x); xml 20 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c g_assert_cmpint(pe_cron_range_satisfied(tm, xml), ==, expected); xml 23 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c free_xml(xml); xml 63 lib/pengine/unpack.c static void unpack_node_lrm(pe_node_t *node, xmlNode *xml, xml 2488 lib/pengine/unpack.c unpack_node_lrm(pe_node_t *node, xmlNode *xml, pe_working_set_t *data_set) xml 2493 lib/pengine/unpack.c xml = find_xml_node(xml, XML_CIB_TAG_LRM, FALSE); xml 2494 lib/pengine/unpack.c if (xml == NULL) { xml 2497 lib/pengine/unpack.c xml = find_xml_node(xml, XML_LRM_TAG_RESOURCES, FALSE); xml 2498 lib/pengine/unpack.c if (xml == NULL) { xml 2503 lib/pengine/unpack.c for (xmlNode *rsc_entry = first_named_child(xml, XML_LRM_TAG_RESOURCE); xml 2518 lib/pengine/unpack.c handle_orphaned_container_fillers(xml, data_set); xml 2550 lib/pengine/unpack.c xmlNode *xml = NULL; xml 2575 lib/pengine/unpack.c xml = get_xpath_object(xpath, data_set->input, LOG_DEBUG); xml 2577 lib/pengine/unpack.c if (xml && success_only) { xml 2581 lib/pengine/unpack.c crm_element_value_int(xml, XML_LRM_ATTR_RC, &rc); xml 2582 lib/pengine/unpack.c crm_element_value_int(xml, XML_LRM_ATTR_OPSTATUS, &status); xml 2587 lib/pengine/unpack.c return xml; xml 965 lib/pengine/utils.c .standard = crm_element_value(action->rsc->xml, XML_AGENT_ATTR_CLASS), xml 966 lib/pengine/utils.c .provider = crm_element_value(action->rsc->xml, XML_AGENT_ATTR_PROVIDER), xml 967 lib/pengine/utils.c .agent = crm_element_value(action->rsc->xml, XML_EXPR_ATTR_TYPE) xml 1920 lib/pengine/utils.c return ID(rsc->xml); xml 45 maint/mocked/based-notifyfenced.c mock_based_cib_notify_send_one(pcmk__client_t *client, xmlNode *xml) xml 52 maint/mocked/based-notifyfenced.c .msg = xml, xml 56 maint/mocked/based-notifyfenced.c pcmk__ipc_prepare_iov(0, xml, 0, &iov, &bytes); xml 352 tools/cibadmin.c print_xml_output(xmlNode * xml) xml 356 tools/cibadmin.c if (!xml) { xml 358 tools/cibadmin.c } else if (xml->type != XML_ELEMENT_NODE) { xml 363 tools/cibadmin.c const char *id = crm_element_value(xml, XML_ATTR_ID); xml 365 tools/cibadmin.c if (pcmk__str_eq((const char *)xml->name, "xpath-query", pcmk__str_casei)) { xml 368 tools/cibadmin.c for (child = xml->children; child; child = child->next) { xml 377 tools/cibadmin.c buffer = dump_xml_formatted(xml); xml 1809 tools/crm_mon.c handle_rsc_op(xmlNode * xml, const char *node_id) xml 1823 tools/crm_mon.c xmlNode *n = xml; xml 1824 tools/crm_mon.c xmlNode * rsc_op = xml; xml 1826 tools/crm_mon.c if(strcmp((const char*)xml->name, XML_LRM_TAG_RSC_OP) != 0) { xml 1829 tools/crm_mon.c for(cIter = xml->children; cIter; cIter = cIter->next) { xml 2005 tools/crm_resource.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_UTILIZATION, NULL, params, xml 109 tools/crm_resource.h int update_working_set_xml(pe_working_set_t *data_set, xmlNode **xml); xml 60 tools/crm_resource_print.c const char *rtype = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 61 tools/crm_resource_print.c const char *rprov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 62 tools/crm_resource_print.c const char *rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 76 tools/crm_resource_print.c crm_element_name(rsc->xml), rsc->id, xml 124 tools/crm_resource_print.c out->message(out, crm_map_element_name(rsc->xml), show_opts, rsc, all, all); xml 270 tools/crm_resource_print.c const char *value = crm_element_value(rsc->xml, attr); xml 287 tools/crm_resource_print.c const char *value = crm_element_value(rsc->xml, attr); xml 356 tools/crm_resource_runtime.c const char *tag = crm_element_name(rsc->xml); xml 525 tools/crm_resource_runtime.c rsc_class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 526 tools/crm_resource_runtime.c rsc_provider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER), xml 527 tools/crm_resource_runtime.c rsc_type = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 1072 tools/crm_resource_runtime.c update_working_set_xml(pe_working_set_t *data_set, xmlNode **xml) xml 1074 tools/crm_resource_runtime.c if (cli_config_update(xml, NULL, FALSE) == FALSE) { xml 1077 tools/crm_resource_runtime.c data_set->input = *xml; xml 1865 tools/crm_resource_runtime.c rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1866 tools/crm_resource_runtime.c rprov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 1867 tools/crm_resource_runtime.c rtype = crm_element_value(rsc->xml, XML_ATTR_TYPE);