xml 54 daemons/attrd/attrd_commands.c void attrd_current_only_attribute_update(crm_node_t *peer, xmlNode *xml); 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 110 daemons/attrd/attrd_commands.c xmlNode *xml = create_xml_node(parent, __func__); xml 112 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NAME, name); xml 113 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_SET, set); xml 114 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_UUID, uuid); xml 115 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_USER, user); xml 116 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NODE_NAME, peer); xml 117 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_NODE_ID, peerid); xml 118 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_VALUE, value); xml 119 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_DAMPENING, timeout_ms/1000); xml 120 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_IS_PRIVATE, is_private); xml 121 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_FORCE, is_force_write); xml 123 daemons/attrd/attrd_commands.c return xml; xml 145 daemons/attrd/attrd_commands.c create_attribute(xmlNode *xml) xml 148 daemons/attrd/attrd_commands.c const char *value = crm_element_value(xml, PCMK__XA_ATTR_DAMPENING); xml 151 daemons/attrd/attrd_commands.c a->id = crm_element_value_copy(xml, PCMK__XA_ATTR_NAME); xml 152 daemons/attrd/attrd_commands.c a->set = crm_element_value_copy(xml, PCMK__XA_ATTR_SET); xml 153 daemons/attrd/attrd_commands.c a->uuid = crm_element_value_copy(xml, PCMK__XA_ATTR_UUID); xml 156 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_IS_PRIVATE, &a->is_private); xml 159 daemons/attrd/attrd_commands.c a->user = crm_element_value_copy(xml, PCMK__XA_ATTR_USER); xml 191 daemons/attrd/attrd_commands.c attrd_client_peer_remove(const char *client_name, xmlNode *xml) xml 194 daemons/attrd/attrd_commands.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); xml 200 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_NODE_ID, &nodeid); xml 213 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NODE_NAME, host); xml 220 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); /* ends up at attrd_peer_message() */ xml 237 daemons/attrd/attrd_commands.c attrd_client_update(xmlNode *xml) xml 240 daemons/attrd/attrd_commands.c char *host = crm_element_value_copy(xml, PCMK__XA_ATTR_NODE_NAME); xml 241 daemons/attrd/attrd_commands.c const char *attr = crm_element_value(xml, PCMK__XA_ATTR_NAME); xml 242 daemons/attrd/attrd_commands.c const char *value = crm_element_value(xml, PCMK__XA_ATTR_VALUE); xml 243 daemons/attrd/attrd_commands.c const char *regex = crm_element_value(xml, PCMK__XA_ATTR_PATTERN); xml 261 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NAME, attr); xml 262 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); xml 281 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NODE_NAME, host); xml 282 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_NODE_ID, attrd_cluster->nodeid); xml 299 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_VALUE, int_value); xml 302 daemons/attrd/attrd_commands.c value = crm_element_value(xml, PCMK__XA_ATTR_VALUE); xml 311 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); /* ends up at attrd_peer_message() */ xml 321 daemons/attrd/attrd_commands.c attrd_client_clear_failure(xmlNode *xml) xml 331 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); xml 336 daemons/attrd/attrd_commands.c const char *rsc = crm_element_value(xml, PCMK__XA_ATTR_RESOURCE); xml 337 daemons/attrd/attrd_commands.c const char *op = crm_element_value(xml, PCMK__XA_ATTR_OPERATION); xml 338 daemons/attrd/attrd_commands.c const char *interval_spec = crm_element_value(xml, PCMK__XA_ATTR_INTERVAL); xml 341 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_TASK, PCMK__ATTRD_CMD_UPDATE); xml 358 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_PATTERN, pattern); xml 362 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_PATTERN, ATTRD_RE_CLEAR_ALL); xml 366 daemons/attrd/attrd_commands.c if (crm_element_value(xml, PCMK__XA_ATTR_NAME)) { xml 367 daemons/attrd/attrd_commands.c crm_xml_replace(xml, PCMK__XA_ATTR_NAME, NULL); xml 369 daemons/attrd/attrd_commands.c if (crm_element_value(xml, PCMK__XA_ATTR_VALUE)) { xml 370 daemons/attrd/attrd_commands.c crm_xml_replace(xml, PCMK__XA_ATTR_VALUE, NULL); xml 373 daemons/attrd/attrd_commands.c attrd_client_update(xml); xml 516 daemons/attrd/attrd_commands.c attrd_peer_clear_failure(crm_node_t *peer, xmlNode *xml) xml 518 daemons/attrd/attrd_commands.c const char *rsc = crm_element_value(xml, PCMK__XA_ATTR_RESOURCE); xml 519 daemons/attrd/attrd_commands.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); xml 520 daemons/attrd/attrd_commands.c const char *op = crm_element_value(xml, PCMK__XA_ATTR_OPERATION); xml 521 daemons/attrd/attrd_commands.c const char *interval_spec = crm_element_value(xml, PCMK__XA_ATTR_INTERVAL); xml 533 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_TASK, PCMK__ATTRD_CMD_UPDATE); xml 536 daemons/attrd/attrd_commands.c if (crm_element_value(xml, PCMK__XA_ATTR_VALUE)) { xml 537 daemons/attrd/attrd_commands.c crm_xml_replace(xml, PCMK__XA_ATTR_VALUE, NULL); xml 545 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NAME, attr); xml 546 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, FALSE); xml 572 daemons/attrd/attrd_commands.c attrd_peer_message(crm_node_t *peer, xmlNode *xml) xml 574 daemons/attrd/attrd_commands.c const char *op = crm_element_value(xml, PCMK__XA_TASK); xml 575 daemons/attrd/attrd_commands.c const char *election_op = crm_element_value(xml, F_CRM_TASK); xml 576 daemons/attrd/attrd_commands.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); xml 580 daemons/attrd/attrd_commands.c attrd_handle_election_op(peer, xml); xml 592 daemons/attrd/attrd_commands.c peer_won = attrd_check_for_new_writer(peer, xml); xml 596 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, FALSE); xml 599 daemons/attrd/attrd_commands.c attrd_peer_sync(peer, xml); xml 608 daemons/attrd/attrd_commands.c attrd_peer_clear_failure(peer, xml); xml 621 daemons/attrd/attrd_commands.c for (child = pcmk__xml_first_child(xml); child != NULL; xml 629 daemons/attrd/attrd_commands.c attrd_current_only_attribute_update(peer, xml); xml 635 daemons/attrd/attrd_commands.c attrd_peer_sync(crm_node_t *peer, xmlNode *xml) xml 702 daemons/attrd/attrd_commands.c attrd_lookup_or_create_value(GHashTable *values, const char *host, xmlNode *xml) xml 707 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_IS_REMOTE, &is_remote); xml 736 daemons/attrd/attrd_commands.c attrd_current_only_attribute_update(crm_node_t *peer, xmlNode *xml) xml 772 daemons/attrd/attrd_commands.c attrd_peer_update(crm_node_t *peer, xmlNode *xml, const char *host, bool filter) xml 779 daemons/attrd/attrd_commands.c const char *op = crm_element_value(xml, PCMK__XA_TASK); xml 780 daemons/attrd/attrd_commands.c const char *attr = crm_element_value(xml, PCMK__XA_ATTR_NAME); xml 781 daemons/attrd/attrd_commands.c const char *value = crm_element_value(xml, PCMK__XA_ATTR_VALUE); xml 782 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_FORCE, &is_force_write); xml 797 daemons/attrd/attrd_commands.c a = create_attribute(xml); xml 806 daemons/attrd/attrd_commands.c const char *dvalue = crm_element_value(xml, PCMK__XA_ATTR_DAMPENING); xml 851 daemons/attrd/attrd_commands.c xml_remove_prop(xml, PCMK__XA_ATTR_NODE_ID); xml 854 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, filter); xml 861 daemons/attrd/attrd_commands.c v = attrd_lookup_or_create_value(a->values, host, xml); xml 913 daemons/attrd/attrd_commands.c && (crm_element_value_int(xml, PCMK__XA_ATTR_NODE_ID, xml 50 daemons/attrd/attrd_elections.c attrd_handle_election_op(const crm_node_t *peer, xmlNode *xml) xml 55 daemons/attrd/attrd_elections.c crm_xml_add(xml, F_CRM_HOST_FROM, peer->uname); xml 58 daemons/attrd/attrd_elections.c rc = election_count_vote(writer, xml, !attrd_shutting_down()); xml 100 daemons/attrd/attrd_elections.c attrd_check_for_new_writer(const crm_node_t *peer, const xmlNode *xml) xml 104 daemons/attrd/attrd_elections.c crm_element_value_int(xml, PCMK__XA_ATTR_WRITER, &peer_state); xml 156 daemons/attrd/attrd_elections.c attrd_xml_add_writer(xmlNode *xml) xml 158 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 245 daemons/attrd/pacemaker-attrd.c pcmk__update_acl_user(xml, PCMK__XA_ATTR_USER, client->user); xml 248 daemons/attrd/pacemaker-attrd.c op = crm_element_value(xml, PCMK__XA_TASK); xml 251 daemons/attrd/pacemaker-attrd.c const char *value = crm_element_value(xml, F_ORIG); xml 257 daemons/attrd/pacemaker-attrd.c attrd_client_peer_remove(client->name, xml); xml 261 daemons/attrd/pacemaker-attrd.c attrd_client_clear_failure(xml); xml 265 daemons/attrd/pacemaker-attrd.c attrd_client_update(xml); xml 269 daemons/attrd/pacemaker-attrd.c attrd_client_update(xml); xml 273 daemons/attrd/pacemaker-attrd.c attrd_client_update(xml); xml 281 daemons/attrd/pacemaker-attrd.c attrd_client_query(client, id, flags, xml); xml 288 daemons/attrd/pacemaker-attrd.c free_xml(xml); xml 76 daemons/attrd/pacemaker-attrd.h void attrd_handle_election_op(const crm_node_t *peer, xmlNode *xml); xml 77 daemons/attrd/pacemaker-attrd.h bool attrd_check_for_new_writer(const crm_node_t *peer, const xmlNode *xml); xml 80 daemons/attrd/pacemaker-attrd.h void attrd_xml_add_writer(xmlNode *xml); xml 123 daemons/attrd/pacemaker-attrd.h void attrd_client_peer_remove(const char *client_name, xmlNode *xml); xml 124 daemons/attrd/pacemaker-attrd.h void attrd_client_clear_failure(xmlNode *xml); xml 125 daemons/attrd/pacemaker-attrd.h void attrd_client_update(xmlNode *xml); xml 109 daemons/based/based_notify.c cib_notify_send(xmlNode * xml) xml 115 daemons/based/based_notify.c int rc = pcmk__ipc_prepare_iov(0, xml, 0, &iov, &bytes); xml 118 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 239 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 272 daemons/controld/controld_execd.c lrmd_event_data_t *op = construct_op(lrm_state, input->xml, rsc_id, task); xml 915 daemons/controld/controld_execd.c op = construct_op(lrm_state, input->xml, rsc_id, CRMD_ACTION_DELETE); xml 1487 daemons/controld/controld_execd.c lrm_op_target(xmlNode *xml) xml 1491 daemons/controld/controld_execd.c if (xml) { xml 1492 daemons/controld/controld_execd.c target = crm_element_value(xml, XML_LRM_ATTR_TARGET); xml 1501 daemons/controld/controld_execd.c fail_lrm_resource(xmlNode *xml, lrm_state_t *lrm_state, const char *user_name, xml 1506 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(xml, XML_CIB_TAG_RESOURCE, TRUE); xml 1518 daemons/controld/controld_execd.c op = construct_op(lrm_state, xml, ID(xml_rsc), "asyncmon"); xml 1537 daemons/controld/controld_execd.c process_lrm_event(lrm_state, op, NULL, xml); xml 1544 daemons/controld/controld_execd.c crm_log_xml_warn(xml, "bad input"); xml 1624 daemons/controld/controld_execd.c xmlNode *params = find_xml_node(input->xml, XML_TAG_ATTRS, TRUE); xml 1710 daemons/controld/controld_execd.c op = construct_op(lrm_state, input->xml, rsc->id, CRMD_ACTION_DELETE); xml 1750 daemons/controld/controld_execd.c target_node = lrm_op_target(input->xml); xml 1758 daemons/controld/controld_execd.c synthesize_lrmd_failure(NULL, input->xml, PCMK_LRM_OP_NOT_CONNECTED, xml 1788 daemons/controld/controld_execd.c fail_lrm_resource(input->xml, lrm_state, user_name, from_host, xml 1792 daemons/controld/controld_execd.c } else if (input->xml != NULL) { xml 1793 daemons/controld/controld_execd.c operation = crm_element_value(input->xml, XML_LRM_ATTR_TASK); xml 1813 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(input->xml, XML_CIB_TAG_RESOURCE, TRUE); xml 1823 daemons/controld/controld_execd.c synthesize_lrmd_failure(lrm_state, input->xml, xml 1835 daemons/controld/controld_execd.c rc, pcmk_strerror(rc), ID(input->xml)); xml 1844 daemons/controld/controld_execd.c synthesize_lrmd_failure(lrm_state, input->xml, PCMK_LRM_OP_ERROR, xml 1854 daemons/controld/controld_execd.c synthesize_lrmd_failure(lrm_state, input->xml, PCMK_LRM_OP_ERROR, xml 1861 daemons/controld/controld_execd.c crm_log_xml_warn(input->xml, "Bad command"); xml 1869 daemons/controld/controld_execd.c do_lrm_rsc_op(lrm_state, rsc, operation, input->xml); xml 2641 daemons/controld/controld_execd.c xmlNode *xml = find_xml_node(action_xml, XML_CIB_TAG_RESOURCE, TRUE); xml 2643 daemons/controld/controld_execd.c const char *standard = crm_element_value(xml, XML_AGENT_ATTR_CLASS); xml 2644 daemons/controld/controld_execd.c const char *provider = crm_element_value(xml, XML_AGENT_ATTR_PROVIDER); xml 2645 daemons/controld/controld_execd.c const char *type = crm_element_value(xml, XML_ATTR_TYPE); xml 388 daemons/controld/controld_fencing.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 391 daemons/controld/controld_fencing.c last_action = action->xml; xml 394 daemons/controld/controld_fencing.c action->id, ID(action->xml)); xml 751 daemons/controld/controld_fencing.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 752 daemons/controld/controld_fencing.c const char *uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 779 daemons/controld/controld_fencing.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 837 daemons/controld/controld_fencing.c id = ID(action->xml); xml 838 daemons/controld/controld_fencing.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 839 daemons/controld/controld_fencing.c uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 848 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 321 daemons/controld/controld_join_dc.c generation = join_ack->xml; xml 377 daemons/controld/controld_join_dc.c max_generation_xml = copy_xml(join_ack->xml); xml 601 daemons/controld/controld_join_dc.c fsa_cib_update(XML_CIB_TAG_STATUS, join_ack->xml, xml 607 daemons/controld/controld_join_dc.c fsa_cib_update(XML_CIB_TAG_STATUS, join_ack->xml, xml 180 daemons/controld/controld_lrm.h void remote_ra_process_pseudo(xmlNode *xml); xml 182 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 805 daemons/controld/controld_messages.c xmlNode *xml = create_xml_node(reply_data, XML_CIB_TAG_NODE); xml 807 daemons/controld/controld_messages.c crm_xml_add_ll(xml, XML_ATTR_ID, (long long) node->id); // uint32_t xml 808 daemons/controld/controld_messages.c crm_xml_add(xml, XML_ATTR_UNAME, node->uname); xml 809 daemons/controld/controld_messages.c crm_xml_add(xml, XML_NODE_IN_CLUSTER, node->state); xml 1119 daemons/controld/controld_messages.c xmlNode *xml = get_message_xml(stored_msg, F_CRM_DATA); xml 1121 daemons/controld/controld_messages.c remote_ra_process_maintenance_nodes(xml); xml 1234 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 1187 daemons/controld/controld_remote_ra.c remote_ra_process_pseudo(xmlNode *xml) xml 1189 daemons/controld/controld_remote_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_FENCE); xml 1256 daemons/controld/controld_remote_ra.c remote_ra_process_maintenance_nodes(xmlNode *xml) xml 1258 daemons/controld/controld_remote_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_MAINTENANCE); xml 351 daemons/controld/controld_schedulerd.c force_local_option(xmlNode *xml, const char *attr_name, const char *attr_value) xml 361 daemons/controld/controld_schedulerd.c xpathObj = xpath_search(xml, xpath_string); xml 379 daemons/controld/controld_schedulerd.c configuration = pcmk__xe_match(xml, XML_CIB_TAG_CONFIGURATION, NULL, xml 382 daemons/controld/controld_schedulerd.c configuration = create_xml_node(xml, XML_CIB_TAG_CONFIGURATION); xml 398 daemons/controld/controld_schedulerd.c xml = create_xml_node(cluster_property_set, XML_CIB_TAG_NVPAIR); xml 400 daemons/controld/controld_schedulerd.c crm_xml_set_id(xml, "%s-%s", CIB_OPTIONS_FIRST, attr_name); xml 401 daemons/controld/controld_schedulerd.c crm_xml_add(xml, XML_NVPAIR_ATTR_NAME, attr_name); xml 402 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 103 daemons/controld/controld_te_actions.c id = ID(action->xml); xml 104 daemons/controld/controld_te_actions.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 105 daemons/controld/controld_te_actions.c on_node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 106 daemons/controld/controld_te_actions.c router_node = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 111 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 687 daemons/controld/controld_te_callbacks.c task = crm_element_value(timer->action->xml, XML_LRM_ATTR_TASK); xml 688 daemons/controld/controld_te_callbacks.c on_node = crm_element_value(timer->action->xml, XML_LRM_ATTR_TARGET); xml 689 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 531 daemons/controld/controld_throttle.c throttle_update(xmlNode *xml) xml 536 daemons/controld/controld_throttle.c const char *from = crm_element_value(xml, F_CRM_HOST_FROM); xml 538 daemons/controld/controld_throttle.c crm_element_value_int(xml, F_CRM_THROTTLE_MODE, &mode); xml 539 daemons/controld/controld_throttle.c crm_element_value_int(xml, F_CRM_THROTTLE_MAX, &max); xml 24 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 141 daemons/execd/remoted_proxy.c ipc_proxy_forward_client(pcmk__client_t *ipc_proxy, xmlNode *xml) xml 143 daemons/execd/remoted_proxy.c const char *session = crm_element_value(xml, F_LRMD_IPC_SESSION); xml 144 daemons/execd/remoted_proxy.c const char *msg_type = crm_element_value(xml, F_LRMD_IPC_OP); xml 145 daemons/execd/remoted_proxy.c xmlNode *msg = get_message_xml(xml, F_LRMD_IPC_MSG); xml 194 daemons/execd/remoted_proxy.c crm_element_value_int(xml, F_LRMD_IPC_MSG_ID, &msg_id); xml 680 daemons/fenced/fenced_commands.c xmlNode *xml = NULL; xml 706 daemons/fenced/fenced_commands.c xml = string2xml(buffer); xml 708 daemons/fenced/fenced_commands.c return xml; xml 712 daemons/fenced/fenced_commands.c is_nodeid_required(xmlNode * xml) xml 720 daemons/fenced/fenced_commands.c if (!xml) { xml 724 daemons/fenced/fenced_commands.c xpath = xpath_search(xml, "//parameter[@name='nodeid']"); xml 1805 daemons/fenced/fenced_commands.c add_action_specific_attributes(xmlNode *xml, const char *action, xml 1812 daemons/fenced/fenced_commands.c CRM_CHECK(xml && action && device, return); xml 1816 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_DEVICE_REQUIRED, 1); xml 1823 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_ACTION_TIMEOUT, action_specific_timeout); xml 1830 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_DELAY_MAX, delay_max / 1000); xml 1835 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_DELAY_BASE, delay_base / 1000); xml 1862 daemons/fenced/fenced_commands.c add_disallowed(xmlNode *xml, const char *action, stonith_device_t *device, xml 1868 daemons/fenced/fenced_commands.c crm_xml_add(xml, F_STONITH_ACTION_DISALLOWED, XML_BOOLEAN_TRUE); xml 1883 daemons/fenced/fenced_commands.c add_action_reply(xmlNode *xml, const char *action, stonith_device_t *device, xml 1886 daemons/fenced/fenced_commands.c xmlNode *child = create_xml_node(xml, F_STONITH_ACTION); xml 1736 daemons/fenced/fenced_remote.c parse_action_specific(xmlNode *xml, const char *peer, const char *device, xml 1741 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_ACTION_TIMEOUT, xml 1749 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DELAY_MAX, &props->delay_max[phase]); xml 1756 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DELAY_BASE, &props->delay_base[phase]); xml 1766 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DEVICE_REQUIRED, &required); xml 1777 daemons/fenced/fenced_remote.c if (crm_is_true(crm_element_value(xml, F_STONITH_ACTION_DISALLOWED))) { xml 1794 daemons/fenced/fenced_remote.c add_device_properties(xmlNode *xml, remote_fencing_op_t *op, xml 1806 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DEVICE_VERIFIED, &verified); xml 1814 daemons/fenced/fenced_remote.c parse_action_specific(xml, result->host, device, op_requested_action(op), xml 1816 daemons/fenced/fenced_remote.c for (child = pcmk__xml_first_child(xml); child != NULL; xml 1844 daemons/fenced/fenced_remote.c add_result(remote_fencing_op_t *op, const char *host, int ndevices, xmlNode *xml) xml 1856 daemons/fenced/fenced_remote.c for (child = pcmk__xml_first_child(xml); child != NULL; xml 187 daemons/fenced/pacemaker-fenced.c xmlNode *xml = NULL; xml 195 daemons/fenced/pacemaker-fenced.c xml = string2xml(data); xml 196 daemons/fenced/pacemaker-fenced.c if (xml == NULL) { xml 201 daemons/fenced/pacemaker-fenced.c crm_xml_add(xml, F_ORIG, from); xml 203 daemons/fenced/pacemaker-fenced.c stonith_peer_callback(xml, NULL); xml 206 daemons/fenced/pacemaker-fenced.c free_xml(xml); xml 603 daemons/fenced/pacemaker-fenced.c rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 649 daemons/fenced/pacemaker-fenced.c const char *agent = crm_element_value(rsc->xml, XML_EXPR_ATTR_TYPE); xml 1507 daemons/fenced/pacemaker-fenced.c xmlNode *xml; xml 1512 daemons/fenced/pacemaker-fenced.c xml = create_device_registration_xml("watchdog", st_namespace_internal, xml 1516 daemons/fenced/pacemaker-fenced.c rc = stonith_device_register(xml, NULL, FALSE); xml 1517 daemons/fenced/pacemaker-fenced.c free_xml(xml); 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 239 include/crm/common/logging.h # define do_crm_log_xml(level, text, xml) do { \ xml 251 include/crm/common/logging.h __LINE__, text, xml, 1, xml_log_option_formatted); \ xml 355 include/crm/common/logging.h # define crm_log_xml_crit(xml, text) do_crm_log_xml(LOG_CRIT, text, xml) xml 356 include/crm/common/logging.h # define crm_log_xml_err(xml, text) do_crm_log_xml(LOG_ERR, text, xml) xml 357 include/crm/common/logging.h # define crm_log_xml_warn(xml, text) do_crm_log_xml(LOG_WARNING, text, xml) xml 358 include/crm/common/logging.h # define crm_log_xml_notice(xml, text) do_crm_log_xml(LOG_NOTICE, text, xml) xml 359 include/crm/common/logging.h # define crm_log_xml_info(xml, text) do_crm_log_xml(LOG_INFO, text, xml) xml 360 include/crm/common/logging.h # define crm_log_xml_debug(xml, text) do_crm_log_xml(LOG_DEBUG, text, xml) xml 361 include/crm/common/logging.h # define crm_log_xml_trace(xml, text) do_crm_log_xml(LOG_TRACE, text, xml) xml 363 include/crm/common/logging.h # define crm_log_xml_explicit(xml, text) do { \ xml 369 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, ...) xml 133 include/crm/common/xml_internal.h void pcmk__strip_xml_text(xmlNode *xml); xml 560 include/crm/pengine/internal.h const char *pe__add_bundle_remote_name(pe_resource_t *rsc, xmlNode *xml, xml 310 include/crm/pengine/pe_types.h xmlNode *xml; xml 21 include/crm/pengine/remote_internal.h bool xml_contains_remote_node(xmlNode *xml); xml 65 include/pacemaker.h int pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, xml 81 include/pacemaker.h int pcmk_fence_installed(xmlNodePtr *xml, stonith_t *st, unsigned int timeout); xml 95 include/pacemaker.h int pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid); xml 110 include/pacemaker.h int pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st, xml 126 include/pacemaker.h int pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, char *agent, xml 143 include/pacemaker.h int pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, xml 195 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 186 lib/cib/cib_utils.c cib_acl_enabled(xmlNode *xml, const char *user) xml 195 lib/cib/cib_utils.c cib_read_config(options, xml); xml 227 lib/cluster/cluster.c set_uuid(xmlNode *xml, const char *attr, crm_node_t *node) xml 231 lib/cluster/cluster.c crm_xml_add(xml, attr, uuid_calc); 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 367 lib/common/acl.c purge_xml_attributes(xmlNode *xml) xml 372 lib/common/acl.c xml_private_t *p = xml->_private; xml 375 lib/common/acl.c crm_trace("%s[@id=%s] is readable", crm_element_name(xml), ID(xml)); xml 379 lib/common/acl.c xIter = xml->properties; xml 389 lib/common/acl.c xmlUnsetProp(xml, tmp->name); xml 392 lib/common/acl.c child = pcmk__xml_first_child(xml); xml 401 lib/common/acl.c free_xml(xml); /* Nothing readable under here, purge completely */ xml 419 lib/common/acl.c xml_acl_filtered_copy(const char *user, xmlNode *acl_source, xmlNode *xml, xml 427 lib/common/acl.c if ((xml == NULL) || !pcmk_acl_required(user)) { xml 434 lib/common/acl.c target = copy_xml(xml); xml 509 lib/common/acl.c implicitly_allowed(xmlNode *xml) xml 513 lib/common/acl.c for (xmlAttr *prop = xml->properties; prop != NULL; prop = prop->next) { xml 519 lib/common/acl.c path = xml_get_path(xml); xml 529 lib/common/acl.c #define display_id(xml) (ID(xml)? ID(xml) : "<unset>") xml 545 lib/common/acl.c pcmk__apply_creation_acl(xmlNode *xml, bool check_top) xml 547 lib/common/acl.c xml_private_t *p = xml->_private; xml 550 lib/common/acl.c if (implicitly_allowed(xml)) { xml 553 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 555 lib/common/acl.c } else if (pcmk__check_acl(xml, NULL, xpf_acl_write)) { xml 557 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 561 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 562 lib/common/acl.c pcmk_free_xml_subtree(xml); xml 567 lib/common/acl.c ((xml == xmlDocGetRootElement(xml->doc))? "root element " : ""), xml 568 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 572 lib/common/acl.c for (xmlNode *cIter = pcmk__xml_first_child(xml); cIter != NULL; ) { xml 580 lib/common/acl.c xml_acl_denied(xmlNode *xml) xml 582 lib/common/acl.c if (xml && xml->doc && xml->doc->_private){ xml 583 lib/common/acl.c xml_private_t *p = xml->doc->_private; xml 591 lib/common/acl.c xml_acl_disable(xmlNode *xml) xml 593 lib/common/acl.c if (xml_acl_enabled(xml)) { xml 594 lib/common/acl.c xml_private_t *p = xml->doc->_private; xml 597 lib/common/acl.c pcmk__apply_acl(xml); xml 598 lib/common/acl.c pcmk__apply_creation_acl(xml, false); xml 604 lib/common/acl.c xml_acl_enabled(xmlNode *xml) xml 606 lib/common/acl.c if (xml && xml->doc && xml->doc->_private){ xml 607 lib/common/acl.c xml_private_t *p = xml->doc->_private; xml 615 lib/common/acl.c pcmk__check_acl(xmlNode *xml, const char *name, enum xml_private_flags mode) xml 617 lib/common/acl.c CRM_ASSERT(xml); xml 618 lib/common/acl.c CRM_ASSERT(xml->doc); xml 619 lib/common/acl.c CRM_ASSERT(xml->doc->_private); xml 622 lib/common/acl.c if (pcmk__tracking_xml_changes(xml, false) && xml_acl_enabled(xml)) { xml 624 lib/common/acl.c xmlNode *parent = xml; xml 626 lib/common/acl.c xml_private_t *docp = xml->doc->_private; xml 628 lib/common/acl.c offset = pcmk__element_xpath(NULL, xml, buffer, offset, xml 639 lib/common/acl.c pcmk__set_xml_doc_flag(xml, xpf_acl_denied); xml 649 lib/common/acl.c xmlAttr *attr = xmlHasProp(xml, (pcmkXmlStr) name); xml 663 lib/common/acl.c (parent != xml) ? "Parent " : "", docp->user, xml 665 lib/common/acl.c pcmk__set_xml_doc_flag(xml, xpf_acl_denied); xml 673 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 145 lib/common/crmcommon_private.h pcmk__first_xml_attr(const xmlNode *xml) xml 147 lib/common/crmcommon_private.h return xml? xml->properties : NULL; xml 92 lib/common/ipc_controld.c #define xml_true(xml, field) crm_is_true(crm_element_value(xml, field)) xml 386 lib/common/ipc_server.c xmlNode *xml = NULL; xml 431 lib/common/ipc_server.c xml = string2xml(text); xml 432 lib/common/ipc_server.c crm_log_xml_trace(xml, "[IPC received]"); xml 435 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__first_xml_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 475 lib/common/nvpair.c crm_xml_add_ll(xmlNode *xml, const char *name, long long value) xml 482 lib/common/nvpair.c return crm_xml_add(xml, name, s); xml 499 lib/common/nvpair.c crm_xml_add_timeval(xmlNode *xml, const char *name_sec, const char *name_usec, xml 504 lib/common/nvpair.c if (xml && name_sec && value) { xml 505 lib/common/nvpair.c added = crm_xml_add_ll(xml, name_sec, (long long) value->tv_sec); xml 508 lib/common/nvpair.c crm_xml_add_ll(xml, name_usec, (long long) value->tv_usec); xml 650 lib/common/nvpair.c crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest) xml 654 lib/common/nvpair.c if (crm_element_value_ll(xml, name, &value_ll) < 0) { xml 679 lib/common/nvpair.c crm_element_value_timeval(const xmlNode *xml, const char *name_sec, xml 688 lib/common/nvpair.c if (xml == NULL) { xml 700 lib/common/nvpair.c if (crm_element_value_ll(xml, name_sec, &value_i) < 0) { xml 706 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__first_xml_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__first_xml_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 858 lib/common/patchset.c xml_patch_version_check(xmlNode *xml, xmlNode *patchset, int format) xml 874 lib/common/patchset.c crm_element_value_int(xml, vfields[lpc], &(this[lpc])); xml 934 lib/common/patchset.c apply_v1_patchset(xmlNode *xml, xmlNode *patchset) xml 942 lib/common/patchset.c xmlNode *old = copy_xml(xml); xml 949 lib/common/patchset.c process_v1_removals(xml, child_diff); xml 969 lib/common/patchset.c process_v1_additions(NULL, xml, child_diff); xml 981 lib/common/patchset.c purge_diff_markers(xml); // Purge prior to checking digest xml 1149 lib/common/patchset.c apply_v2_patchset(xmlNode *xml, xmlNode *patchset) xml 1173 lib/common/patchset.c match = search_v2_xpath(xml, xpath, position); xml 1177 lib/common/patchset.c crm_debug("No %s match for %s in %p", op, xpath, xml->doc); xml 1181 lib/common/patchset.c crm_err("No %s match for %s in %p", op, xpath, xml->doc); xml 1338 lib/common/patchset.c xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version) xml 1353 lib/common/patchset.c rc = pcmk_rc2legacy(xml_patch_version_check(xml, patchset, format)); xml 1361 lib/common/patchset.c old = copy_xml(xml); xml 1367 lib/common/patchset.c rc = pcmk_rc2legacy(apply_v1_patchset(xml, patchset)); xml 1370 lib/common/patchset.c rc = pcmk_rc2legacy(apply_v2_patchset(xml, patchset)); xml 1382 lib/common/patchset.c char *version = crm_element_value_copy(xml, XML_ATTR_CRM_VERSION); xml 1390 lib/common/patchset.c new_digest = calculate_xml_versioned_digest(xml, FALSE, TRUE, version); xml 1398 lib/common/patchset.c save_xml_to_file(xml, "PatchDigest:result", NULL); xml 555 lib/common/remote.c xmlNode *xml = NULL; xml 603 lib/common/remote.c xml = string2xml(remote->buffer + header->payload_offset); xml 604 lib/common/remote.c if (xml == NULL && header->version > REMOTE_MSG_VERSION) { xml 608 lib/common/remote.c } else if (xml == NULL) { xml 612 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 333 lib/common/xml.c accept_attr_deletions(xmlNode *xml) xml 337 lib/common/xml.c xml_private_t *p = xml->_private; xml 340 lib/common/xml.c pIter = pcmk__first_xml_attr(xml); xml 349 lib/common/xml.c xml_remove_prop(xml, (const char *)name); xml 356 lib/common/xml.c for (cIter = pcmk__xml_first_child(xml); cIter != NULL; xml 387 lib/common/xml.c xml_log_changes(uint8_t log_level, const char *function, xmlNode * xml) xml 396 lib/common/xml.c CRM_ASSERT(xml); xml 397 lib/common/xml.c CRM_ASSERT(xml->doc); xml 399 lib/common/xml.c doc = xml->doc->_private; xml 417 lib/common/xml.c log_data_element(log_level, __FILE__, function, __LINE__, "+ ", xml, 0, xml 422 lib/common/xml.c xml_accept_changes(xmlNode * xml) xml 427 lib/common/xml.c if(xml == NULL) { xml 431 lib/common/xml.c crm_trace("Accepting changes to %p", xml); xml 432 lib/common/xml.c doc = xml->doc->_private; xml 433 lib/common/xml.c top = xmlDocGetRootElement(xml->doc); xml 435 lib/common/xml.c reset_xml_private_data(xml->doc->_private); xml 722 lib/common/xml.c pcmk_free_xml_subtree(xmlNode *xml) xml 724 lib/common/xml.c xmlUnlinkNode(xml); // Detaches from parent and siblings xml 725 lib/common/xml.c xmlFreeNode(xml); // Frees xml 837 lib/common/xml.c xmlNode *xml = NULL; xml 856 lib/common/xml.c xml = xmlDocGetRootElement(output); xml 872 lib/common/xml.c crm_err("Couldn't%s parse %d chars: %s", xml ? " fully" : "", (int)strlen(input), xml 874 lib/common/xml.c if (xml != NULL) { xml 875 lib/common/xml.c crm_log_xml_err(xml, "Partial"); xml 892 lib/common/xml.c return xml; xml 990 lib/common/xml.c pcmk__strip_xml_text(xmlNode *xml) xml 992 lib/common/xml.c xmlNode *iter = xml->children; xml 1020 lib/common/xml.c xmlNode *xml = NULL; xml 1053 lib/common/xml.c if (output && (xml = xmlDocGetRootElement(output))) { xml 1054 lib/common/xml.c pcmk__strip_xml_text(xml); xml 1068 lib/common/xml.c crm_err("Couldn't%s parse %s", xml ? " fully" : "", filename); xml 1069 lib/common/xml.c if (xml != NULL) { xml 1070 lib/common/xml.c crm_log_xml_err(xml, "Partial"); xml 1076 lib/common/xml.c return xml; xml 1124 lib/common/xml.c crm_xml_set_id(xmlNode *xml, const char *format, ...) xml 1137 lib/common/xml.c crm_xml_add(xml, XML_ATTR_ID, id); xml 2038 lib/common/xml.c save_xml_to_file(xmlNode * xml, const char *desc, const char *filename) xml 2051 lib/common/xml.c write_xml_file(xml, filename, FALSE); xml 2063 lib/common/xml.c set_attrs_flag(xmlNode *xml, enum xml_private_flags flag) xml 2065 lib/common/xml.c for (xmlAttr *attr = pcmk__first_xml_attr(xml); attr; attr = attr->next) { xml 109 lib/common/xpath.c xmlNode *xml = NULL; xml 116 lib/common/xpath.c xml = xpathObj->nodesetval->nodeTab[lpc]->parent; xml 118 lib/common/xpath.c for (; xml; xml = xml->parent) { xml 122 lib/common/xpath.c if (xpathObj->nodesetval->nodeTab[lpc2] == xml) { xml 172 lib/common/xpath.c crm_foreach_xpath_result(xmlNode *xml, const char *xpath, xml 175 lib/common/xpath.c xmlXPathObjectPtr xpathObj = xpath_search(xml, xpath); xml 268 lib/common/xpath.c pcmk__element_xpath(const char *prefix, xmlNode *xml, char *buffer, xml 271 lib/common/xpath.c const char *id = ID(xml); xml 273 lib/common/xpath.c if(offset == 0 && prefix == NULL && xml->parent) { xml 274 lib/common/xpath.c offset = pcmk__element_xpath(NULL, xml->parent, buffer, offset, xml 280 lib/common/xpath.c "/%s[@id='%s']", (const char *) xml->name, id); xml 281 lib/common/xpath.c } else if(xml->name) { xml 283 lib/common/xpath.c "/%s", (const char *) xml->name); xml 290 lib/common/xpath.c xml_get_path(xmlNode *xml) xml 295 lib/common/xpath.c if (pcmk__element_xpath(NULL, xml, buffer, offset, sizeof(buffer)) > 0) { xml 97 lib/fencing/st_client.c xmlNode *xml; xml 258 lib/fencing/st_client.c blob.xml = create_xml_node(NULL, "notify"); xml 266 lib/fencing/st_client.c crm_xml_add(blob.xml, F_TYPE, T_STONITH_NOTIFY); xml 267 lib/fencing/st_client.c crm_xml_add(blob.xml, F_SUBTYPE, T_STONITH_NOTIFY_DISCONNECT); xml 270 lib/fencing/st_client.c free_xml(blob.xml); xml 1429 lib/fencing/st_client.c blob.xml = string2xml(buffer); xml 1430 lib/fencing/st_client.c if (blob.xml == NULL) { xml 1436 lib/fencing/st_client.c type = crm_element_value(blob.xml, F_TYPE); xml 1440 lib/fencing/st_client.c stonith_perform_callback(st, blob.xml, 0, 0); xml 1448 lib/fencing/st_client.c crm_element_value_int(blob.xml, F_STONITH_TIMEOUT, &timeout); xml 1449 lib/fencing/st_client.c crm_element_value_int(blob.xml, F_STONITH_CALLID, &call_id); xml 1454 lib/fencing/st_client.c crm_log_xml_warn(blob.xml, "BadReply"); xml 1457 lib/fencing/st_client.c free_xml(blob.xml); xml 1796 lib/fencing/st_client.c if (blob->xml == NULL) { xml 1801 lib/fencing/st_client.c event = crm_element_value(blob->xml, F_SUBTYPE); xml 1820 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 367 lib/lrmd/lrmd_client.c xmlNode *xml = NULL; xml 394 lib/lrmd/lrmd_client.c xml = pcmk__remote_message_xml(native->remote); xml 398 lib/lrmd/lrmd_client.c xml = pcmk__remote_message_xml(native->remote); xml 404 lib/lrmd/lrmd_client.c while (xml) { xml 405 lib/lrmd/lrmd_client.c const char *msg_type = crm_element_value(xml, F_LRMD_REMOTE_MSG_TYPE); xml 407 lib/lrmd/lrmd_client.c lrmd_dispatch_internal(lrmd, xml); xml 413 lib/lrmd/lrmd_client.c crm_element_value_int(xml, F_LRMD_CALLID, &reply_id); xml 418 lib/lrmd/lrmd_client.c free_xml(xml); xml 419 lib/lrmd/lrmd_client.c xml = pcmk__remote_message_xml(native->remote); xml 607 lib/lrmd/lrmd_client.c xmlNode *xml = NULL; xml 619 lib/lrmd/lrmd_client.c while (!xml) { xml 621 lib/lrmd/lrmd_client.c xml = pcmk__remote_message_xml(native->remote); xml 622 lib/lrmd/lrmd_client.c if (!xml) { xml 641 lib/lrmd/lrmd_client.c xml = pcmk__remote_message_xml(native->remote); xml 642 lib/lrmd/lrmd_client.c if (!xml) { xml 651 lib/lrmd/lrmd_client.c CRM_ASSERT(xml != NULL); xml 653 lib/lrmd/lrmd_client.c crm_element_value_int(xml, F_LRMD_REMOTE_MSG_ID, &reply_id); xml 654 lib/lrmd/lrmd_client.c msg_type = crm_element_value(xml, F_LRMD_REMOTE_MSG_TYPE); xml 658 lib/lrmd/lrmd_client.c free_xml(xml); xml 659 lib/lrmd/lrmd_client.c xml = NULL; xml 663 lib/lrmd/lrmd_client.c native->pending_notify = g_list_append(native->pending_notify, xml); xml 668 lib/lrmd/lrmd_client.c xml = NULL; xml 672 lib/lrmd/lrmd_client.c free_xml(xml); xml 673 lib/lrmd/lrmd_client.c xml = NULL; xml 680 lib/lrmd/lrmd_client.c free_xml(xml); xml 681 lib/lrmd/lrmd_client.c xml = NULL; xml 689 lib/lrmd/lrmd_client.c return xml; xml 718 lib/lrmd/lrmd_client.c xmlNode *xml = NULL; xml 729 lib/lrmd/lrmd_client.c xml = lrmd_tls_recv_reply(lrmd, timeout, global_remote_msg_id, &disconnected); xml 736 lib/lrmd/lrmd_client.c } else if (!xml) { xml 743 lib/lrmd/lrmd_client.c *reply = xml; xml 745 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 240 lib/pacemaker/pcmk_fence.c pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, unsigned int timeout, xml 245 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 291 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 315 lib/pacemaker/pcmk_fence.c pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid) { xml 319 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 325 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 357 lib/pacemaker/pcmk_fence.c pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st, const char *device_id, xml 362 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 368 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 391 lib/pacemaker/pcmk_fence.c pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, char *agent, xml 396 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 402 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 435 lib/pacemaker/pcmk_fence.c pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, xml 440 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 446 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 493 lib/pacemaker/pcmk_fence.c pcmk_fence_validate(xmlNodePtr *xml, stonith_t *st, const char *agent, xml 499 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 505 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 24 lib/pacemaker/pcmk_output.c pcmk__out_prologue(pcmk__output_t **out, xmlNodePtr *xml) { xml 27 lib/pacemaker/pcmk_output.c if (*xml != NULL) { xml 28 lib/pacemaker/pcmk_output.c xmlFreeNode(*xml); xml 42 lib/pacemaker/pcmk_output.c pcmk__out_epilogue(pcmk__output_t *out, xmlNodePtr *xml, int retval) { xml 44 lib/pacemaker/pcmk_output.c out->finish(out, 0, FALSE, (void **) xml); xml 166 lib/pacemaker/pcmk_sched_allocate.c value = crm_element_value(rsc->xml, attr_list[attr_lpc]); xml 1006 lib/pacemaker/pcmk_sched_allocate.c class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1311 lib/pacemaker/pcmk_sched_allocate.c crm_element_name(rsc->xml), rsc->id); xml 923 lib/pacemaker/pcmk_sched_bundle.c replica->remote->xml, LOG_ERR); xml 1053 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_append_meta(pe_resource_t *rsc, xmlNode *xml) xml 1474 lib/pacemaker/pcmk_sched_clone.c clone_append_meta(pe_resource_t * rsc, xmlNode * xml) xml 1482 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pe__rsc_bool_str(rsc, pe_rsc_unique)); xml 1486 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pe__rsc_bool_str(rsc, pe_rsc_notify)); xml 1490 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_max); xml 1494 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_node_max); xml 1499 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); xml 1503 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); xml 1510 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); xml 1514 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); xml 860 lib/pacemaker/pcmk_sched_graph.c add_node_to_xml_by_id(const char *id, xmlNode *xml) xml 864 lib/pacemaker/pcmk_sched_graph.c node_xml = create_xml_node(xml, XML_CIB_TAG_NODE); xml 878 lib/pacemaker/pcmk_sched_graph.c add_node_to_xml(const pe_node_t *node, void *xml) xml 880 lib/pacemaker/pcmk_sched_graph.c add_node_to_xml_by_id(node->details->id, (xmlNode *) xml); xml 891 lib/pacemaker/pcmk_sched_graph.c add_maintenance_nodes(xmlNode *xml, const pe_working_set_t *data_set) xml 895 lib/pacemaker/pcmk_sched_graph.c xml?create_xml_node(xml, XML_GRAPH_TAG_MAINTENANCE):NULL; xml 952 lib/pacemaker/pcmk_sched_graph.c add_downed_nodes(xmlNode *xml, const pe_action_t *action, xml 955 lib/pacemaker/pcmk_sched_graph.c CRM_CHECK(xml && action && action->node && data_set, return); xml 960 lib/pacemaker/pcmk_sched_graph.c xmlNode *downed = create_xml_node(xml, XML_GRAPH_TAG_DOWNED); xml 969 lib/pacemaker/pcmk_sched_graph.c xmlNode *downed = create_xml_node(xml, XML_GRAPH_TAG_DOWNED); xml 993 lib/pacemaker/pcmk_sched_graph.c xmlNode *downed = create_xml_node(xml, XML_GRAPH_TAG_DOWNED); xml 1150 lib/pacemaker/pcmk_sched_graph.c crm_element_name(action->rsc->xml)); xml 1170 lib/pacemaker/pcmk_sched_graph.c const char *xml_id = ID(action->rsc->xml); xml 533 lib/pacemaker/pcmk_sched_group.c group_append_meta(pe_resource_t * rsc, xmlNode * xml) xml 62 lib/pacemaker/pcmk_sched_messages.c out->message(out, crm_map_element_name(rsc->xml), 0, rsc, all, all); xml 2939 lib/pacemaker/pcmk_sched_native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 3468 lib/pacemaker/pcmk_sched_native.c native_append_meta(pe_resource_t * rsc, xmlNode * xml) xml 3477 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, name, value); xml 3486 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, name, value); xml 3492 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, CRM_META"_"XML_RSC_ATTR_CONTAINER, parent->container->id); xml 566 lib/pacemaker/pcmk_sched_transition.c rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 567 lib/pacemaker/pcmk_sched_transition.c rtype = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 568 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 755 lib/pacemaker/pcmk_sched_transition.c const char *node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 756 lib/pacemaker/pcmk_sched_transition.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 757 lib/pacemaker/pcmk_sched_transition.c xmlNode *rsc = first_named_child(action->xml, XML_CIB_TAG_RESOURCE); xml 774 lib/pacemaker/pcmk_sched_transition.c char *target = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET); xml 229 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 252 lib/pacemaker/pcmk_trans_unpack.c free_xml(action->xml); xml 306 lib/pacemaker/pcmk_trans_unpack.c action_resource = first_named_child(action->xml, XML_CIB_TAG_RESOURCE); xml 307 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(action_resource != NULL, crm_log_xml_warn(action->xml, "Bad"); xml 311 lib/pacemaker/pcmk_trans_unpack.c crm_element_value(action->xml, XML_LRM_ATTR_TASK), xml 160 lib/pacemaker/pcmk_trans_utils.c pcmk__add_word(&pending, &pending_len, ID(input->xml)); xml 167 lib/pacemaker/pcmk_trans_utils.c pcmk__add_word(&pending, &pending_len, ID(input->xml)); xml 183 lib/pacemaker/pcmk_trans_utils.c const char *key = crm_element_value(input->xml, XML_LRM_ATTR_TASK_KEY); xml 184 lib/pacemaker/pcmk_trans_utils.c const char *host = crm_element_value(input->xml, XML_LRM_ATTR_TARGET); xml 199 lib/pacemaker/pcmk_trans_utils.c const char *key = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 200 lib/pacemaker/pcmk_trans_utils.c const char *host = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 977 lib/pengine/bundle.c value = crm_element_value(rsc->xml, match[m][0]); xml 987 lib/pengine/bundle.c pe__add_bundle_remote_name(pe_resource_t *rsc, xmlNode *xml, const char *field) xml 1018 lib/pengine/bundle.c if(xml != NULL && field != NULL) { xml 1019 lib/pengine/bundle.c crm_xml_add(xml, field, node->details->uname); xml 1047 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, PE__CONTAINER_AGENT_DOCKER_S); xml 1051 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, PE__CONTAINER_AGENT_RKT_S); xml 1055 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, PE__CONTAINER_AGENT_PODMAN_S); xml 1108 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, "network"); xml 1145 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, "storage"); xml 1170 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, "primitive"); xml 1233 lib/pengine/bundle.c pe_err("Failed unpacking resource %s", ID(rsc->xml)); xml 1569 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), options, xml 1574 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), options, xml 1579 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), options, xml 1584 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), options, xml 1700 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), xml 1705 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), xml 1710 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), xml 1715 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), xml 1833 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), xml 1838 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), xml 1843 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), xml 1848 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), xml 1982 lib/pengine/bundle.c free_xml(replica->ip->xml); xml 1983 lib/pengine/bundle.c replica->ip->xml = NULL; xml 1988 lib/pengine/bundle.c free_xml(replica->container->xml); xml 1989 lib/pengine/bundle.c replica->container->xml = NULL; xml 1994 lib/pengine/bundle.c free_xml(replica->remote->xml); xml 1995 lib/pengine/bundle.c replica->remote->xml = NULL; xml 2030 lib/pengine/bundle.c free_xml(bundle_data->child->xml); xml 2031 lib/pengine/bundle.c bundle_data->child->xml = NULL; xml 116 lib/pengine/clone.c xmlNode *xml_obj = rsc->xml; xml 627 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), options, xml 758 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), options, xml 995 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), options, xml 1123 lib/pengine/clone.c free_xml(child_rsc->xml); xml 1124 lib/pengine/clone.c child_rsc->xml = NULL; xml 104 lib/pengine/complex.c .standard = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS), xml 105 lib/pengine/complex.c .provider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER), xml 106 lib/pengine/complex.c .agent = crm_element_value(rsc->xml, XML_EXPR_ATTR_TYPE) xml 122 lib/pengine/complex.c if (rsc->xml) { xml 125 lib/pengine/complex.c for (xIter = rsc->xml->properties; xIter; xIter = xIter->next) { xml 127 lib/pengine/complex.c const char *prop_value = crm_element_value(rsc->xml, prop_name); xml 133 lib/pengine/complex.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_META_SETS, &rule_data, xml 163 lib/pengine/complex.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_ATTR_SETS, &rule_data, xml 191 lib/pengine/complex.c pe_eval_versioned_attributes(data_set->input, rsc->xml, XML_TAG_ATTR_SETS, xml 384 lib/pengine/complex.c if (pcmk__str_eq(crm_element_name(rsc->xml), XML_CIB_TAG_MASTER, pcmk__str_casei)) { xml 439 lib/pengine/complex.c (*rsc)->xml = expanded_xml; xml 443 lib/pengine/complex.c (*rsc)->xml = xml_obj; xml 448 lib/pengine/complex.c rclass = crm_element_value((*rsc)->xml, XML_AGENT_ATTR_CLASS); xml 451 lib/pengine/complex.c ops = find_xml_node((*rsc)->xml, "operations", FALSE); xml 454 lib/pengine/complex.c (*rsc)->variant = get_resource_type(crm_element_name((*rsc)->xml)); xml 456 lib/pengine/complex.c pe_err("Unknown resource type: %s", crm_element_name((*rsc)->xml)); xml 475 lib/pengine/complex.c value = crm_element_value((*rsc)->xml, XML_RSC_ATTR_INCARNATION); xml 519 lib/pengine/complex.c if (xml_contains_remote_node((*rsc)->xml)) { xml 676 lib/pengine/complex.c && pcmk__str_eq(crm_element_value((*rsc)->xml, XML_AGENT_ATTR_CLASS), PCMK_RESOURCE_CLASS_OCF, pcmk__str_casei) xml 677 lib/pengine/complex.c && pcmk__str_eq(crm_element_value((*rsc)->xml, XML_AGENT_ATTR_PROVIDER), "pacemaker", pcmk__str_casei) xml 678 lib/pengine/complex.c && pcmk__str_eq(crm_element_value((*rsc)->xml, XML_ATTR_TYPE), "remote", pcmk__str_casei) xml 746 lib/pengine/complex.c pe__unpack_dataset_nvpairs((*rsc)->xml, XML_TAG_UTILIZATION, &rule_data, xml 842 lib/pengine/complex.c free_xml(rsc->xml); xml 843 lib/pengine/complex.c rsc->xml = NULL; xml 849 lib/pengine/complex.c free_xml(rsc->xml); xml 850 lib/pengine/complex.c rsc->xml = NULL; xml 98 lib/pengine/failcounts.c xmlXPathObject *xpathObj = xpath_search(rsc->xml, xpath); xml 25 lib/pengine/group.c xmlNode *xml_obj = rsc->xml; xml 50 lib/pengine/group.c clone_id = crm_element_value(rsc->xml, XML_RSC_ATTR_INCARNATION); xml 223 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), options, child_rsc, xml 279 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), options, xml 334 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), options, xml 195 lib/pengine/native.c const char *standard = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 270 lib/pengine/native.c const char *rid = ID(rsc->xml); xml 476 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 477 lib/pengine/native.c const char *prov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 486 lib/pengine/native.c prov ? "::" : "", prov ? prov : "", crm_element_value(rsc->xml, XML_ATTR_TYPE)); xml 517 lib/pengine/native.c status_print("variant=\"%s\" ", crm_element_name(rsc->xml)); xml 577 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 579 lib/pengine/native.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 589 lib/pengine/native.c provider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 680 lib/pengine/native.c crm_element_name(rsc->xml), xml 690 lib/pengine/native.c const char *desc = crm_element_value(rsc->xml, XML_ATTR_DESC); xml 720 lib/pengine/native.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 1059 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1060 lib/pengine/native.c const char *prov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 1084 lib/pengine/native.c , crm_element_value(rsc->xml, XML_ATTR_TYPE)); xml 1105 lib/pengine/native.c "variant", (is_print_dev? crm_element_name(rsc->xml) : NULL)); xml 1263 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1264 lib/pengine/native.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 1278 lib/pengine/native.c const char *prov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 1076 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), print_opts | pe_print_rsconly, xml 1140 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), print_opts | pe_print_rsconly, xml 1215 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), print_opts | pe_print_rsconly, xml 1731 lib/pengine/pe_output.c x = out->message(out, crm_map_element_name(rsc->xml), print_opts, rsc, xml 1924 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 9 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c xmlNodePtr xml = string2xml(x); xml 11 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c g_assert_cmpint(pe_cron_range_satisfied(tm, xml), ==, expected); xml 14 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c xmlFreeNode(xml); xml 2467 lib/pengine/unpack.c xmlNode *xml = NULL; xml 2492 lib/pengine/unpack.c xml = get_xpath_object(xpath, data_set->input, LOG_DEBUG); xml 2494 lib/pengine/unpack.c if (xml && success_only) { xml 2498 lib/pengine/unpack.c crm_element_value_int(xml, XML_LRM_ATTR_RC, &rc); xml 2499 lib/pengine/unpack.c crm_element_value_int(xml, XML_LRM_ATTR_OPSTATUS, &status); xml 2504 lib/pengine/unpack.c return xml; xml 1002 lib/pengine/utils.c .standard = crm_element_value(action->rsc->xml, XML_AGENT_ATTR_CLASS), xml 1003 lib/pengine/utils.c .provider = crm_element_value(action->rsc->xml, XML_AGENT_ATTR_PROVIDER), xml 1004 lib/pengine/utils.c .agent = crm_element_value(action->rsc->xml, XML_EXPR_ATTR_TYPE) xml 2332 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 1624 tools/crm_mon.c handle_rsc_op(xmlNode * xml, const char *node_id) xml 1638 tools/crm_mon.c xmlNode *n = xml; xml 1639 tools/crm_mon.c xmlNode * rsc_op = xml; xml 1641 tools/crm_mon.c if(strcmp((const char*)xml->name, XML_LRM_TAG_RSC_OP) != 0) { xml 1644 tools/crm_mon.c for(cIter = xml->children; cIter; cIter = cIter->next) { xml 96 tools/crm_resource.h int update_working_set_xml(pe_working_set_t *data_set, xmlNode **xml); xml 57 tools/crm_resource_print.c const char *rtype = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 58 tools/crm_resource_print.c const char *rprov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 59 tools/crm_resource_print.c const char *rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 73 tools/crm_resource_print.c crm_element_name(rsc->xml), rsc->id, xml 274 tools/crm_resource_print.c rsc->orig_xml : rsc->xml); xml 307 tools/crm_resource_print.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_UTILIZATION, NULL, params, xml 329 tools/crm_resource_print.c const char *value = crm_element_value(rsc->xml, attr); xml 323 tools/crm_resource_runtime.c const char *tag = crm_element_name(rsc->xml); xml 496 tools/crm_resource_runtime.c rsc_class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 497 tools/crm_resource_runtime.c rsc_provider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER), xml 498 tools/crm_resource_runtime.c rsc_type = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 1084 tools/crm_resource_runtime.c update_working_set_xml(pe_working_set_t *data_set, xmlNode **xml) xml 1086 tools/crm_resource_runtime.c if (cli_config_update(xml, NULL, FALSE) == FALSE) { xml 1089 tools/crm_resource_runtime.c data_set->input = *xml; xml 1870 tools/crm_resource_runtime.c rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1871 tools/crm_resource_runtime.c rprov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 1872 tools/crm_resource_runtime.c rtype = crm_element_value(rsc->xml, XML_ATTR_TYPE);