xml 26 daemons/attrd/attrd_attributes.c attrd_create_attribute(xmlNode *xml) xml 29 daemons/attrd/attrd_attributes.c const char *value = crm_element_value(xml, PCMK__XA_ATTR_DAMPENING); xml 34 daemons/attrd/attrd_attributes.c a->id = crm_element_value_copy(xml, PCMK__XA_ATTR_NAME); xml 35 daemons/attrd/attrd_attributes.c a->set = crm_element_value_copy(xml, PCMK__XA_ATTR_SET); xml 36 daemons/attrd/attrd_attributes.c a->uuid = crm_element_value_copy(xml, PCMK__XA_ATTR_UUID); xml 39 daemons/attrd/attrd_attributes.c crm_element_value_int(xml, PCMK__XA_ATTR_IS_PRIVATE, &a->is_private); xml 41 daemons/attrd/attrd_attributes.c a->user = crm_element_value_copy(xml, PCMK__XA_ATTR_USER); xml 62 daemons/attrd/attrd_attributes.c attrd_update_dampening(attribute_t *a, xmlNode *xml, const char *attr) xml 64 daemons/attrd/attrd_attributes.c const char *dvalue = crm_element_value(xml, PCMK__XA_ATTR_DAMPENING); xml 118 daemons/attrd/attrd_attributes.c xmlNode *xml = create_xml_node(parent, __func__); xml 120 daemons/attrd/attrd_attributes.c crm_xml_add(xml, PCMK__XA_ATTR_NAME, a->id); xml 121 daemons/attrd/attrd_attributes.c crm_xml_add(xml, PCMK__XA_ATTR_SET, a->set); xml 122 daemons/attrd/attrd_attributes.c crm_xml_add(xml, PCMK__XA_ATTR_UUID, a->uuid); xml 123 daemons/attrd/attrd_attributes.c crm_xml_add(xml, PCMK__XA_ATTR_USER, a->user); xml 124 daemons/attrd/attrd_attributes.c pcmk__xe_add_node(xml, v->nodename, v->nodeid); xml 126 daemons/attrd/attrd_attributes.c crm_xml_add_int(xml, PCMK__XA_ATTR_IS_REMOTE, 1); xml 128 daemons/attrd/attrd_attributes.c crm_xml_add(xml, PCMK__XA_ATTR_VALUE, v->current); xml 129 daemons/attrd/attrd_attributes.c crm_xml_add_int(xml, PCMK__XA_ATTR_DAMPENING, a->timeout_ms / 1000); xml 130 daemons/attrd/attrd_attributes.c crm_xml_add_int(xml, PCMK__XA_ATTR_IS_PRIVATE, a->is_private); xml 131 daemons/attrd/attrd_attributes.c crm_xml_add_int(xml, PCMK__XA_ATTR_FORCE, force_write); xml 133 daemons/attrd/attrd_attributes.c return xml; xml 155 daemons/attrd/attrd_attributes.c attrd_populate_attribute(xmlNode *xml, const char *attr) xml 160 daemons/attrd/attrd_attributes.c const char *op = crm_element_value(xml, PCMK__XA_TASK); xml 170 daemons/attrd/attrd_attributes.c a = attrd_create_attribute(xml); xml 179 daemons/attrd/attrd_attributes.c int rc = attrd_update_dampening(a, xml, attr); xml 29 daemons/attrd/attrd_corosync.c attrd_peer_message(crm_node_t *peer, xmlNode *xml) xml 31 daemons/attrd/attrd_corosync.c const char *election_op = crm_element_value(xml, F_CRM_TASK); xml 34 daemons/attrd/attrd_corosync.c attrd_handle_election_op(peer, xml); xml 51 daemons/attrd/attrd_corosync.c .xml = xml, xml 56 daemons/attrd/attrd_corosync.c request.op = crm_element_value_copy(request.xml, PCMK__XA_TASK); xml 70 daemons/attrd/attrd_corosync.c xmlNode *xml = NULL; xml 79 daemons/attrd/attrd_corosync.c xml = string2xml(data); xml 82 daemons/attrd/attrd_corosync.c if (xml == NULL) { xml 87 daemons/attrd/attrd_corosync.c attrd_peer_message(peer, xml); xml 90 daemons/attrd/attrd_corosync.c free_xml(xml); xml 168 daemons/attrd/attrd_corosync.c const xmlNode *xml) xml 173 daemons/attrd/attrd_corosync.c crm_element_value_int(xml, PCMK__XA_ATTR_IS_REMOTE, &is_remote); xml 252 daemons/attrd/attrd_corosync.c update_attr_on_host(attribute_t *a, const crm_node_t *peer, const xmlNode *xml, xml 258 daemons/attrd/attrd_corosync.c v = attrd_lookup_or_create_value(a->values, host, xml); xml 312 daemons/attrd/attrd_corosync.c && (crm_element_value_int(xml, PCMK__XA_ATTR_NODE_ID, xml 319 daemons/attrd/attrd_corosync.c attrd_peer_update_one(const crm_node_t *peer, xmlNode *xml, bool filter) xml 322 daemons/attrd/attrd_corosync.c const char *attr = crm_element_value(xml, PCMK__XA_ATTR_NAME); xml 323 daemons/attrd/attrd_corosync.c const char *value = crm_element_value(xml, PCMK__XA_ATTR_VALUE); xml 324 daemons/attrd/attrd_corosync.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); xml 332 daemons/attrd/attrd_corosync.c crm_element_value_int(xml, PCMK__XA_ATTR_FORCE, &is_force_write); xml 334 daemons/attrd/attrd_corosync.c a = attrd_populate_attribute(xml, attr); xml 344 daemons/attrd/attrd_corosync.c xml_remove_prop(xml, PCMK__XA_ATTR_NODE_ID); xml 348 daemons/attrd/attrd_corosync.c update_attr_on_host(a, peer, xml, attr, value, host, filter, is_force_write); xml 353 daemons/attrd/attrd_corosync.c update_attr_on_host(a, peer, xml, attr, value, host, filter, is_force_write); xml 416 daemons/attrd/attrd_corosync.c xmlNode *xml = request->xml; xml 417 daemons/attrd/attrd_corosync.c const char *rsc = crm_element_value(xml, PCMK__XA_ATTR_RESOURCE); xml 418 daemons/attrd/attrd_corosync.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); xml 419 daemons/attrd/attrd_corosync.c const char *op = crm_element_value(xml, PCMK__XA_ATTR_OPERATION); xml 420 daemons/attrd/attrd_corosync.c const char *interval_spec = crm_element_value(xml, PCMK__XA_ATTR_INTERVAL); xml 434 daemons/attrd/attrd_corosync.c crm_xml_add(xml, PCMK__XA_TASK, PCMK__ATTRD_CMD_UPDATE); xml 437 daemons/attrd/attrd_corosync.c if (crm_element_value(xml, PCMK__XA_ATTR_VALUE)) { xml 438 daemons/attrd/attrd_corosync.c crm_xml_replace(xml, PCMK__XA_ATTR_VALUE, NULL); xml 446 daemons/attrd/attrd_corosync.c crm_xml_add(xml, PCMK__XA_ATTR_NAME, attr); xml 447 daemons/attrd/attrd_corosync.c attrd_peer_update(peer, xml, host, false); xml 462 daemons/attrd/attrd_corosync.c attrd_peer_sync_response(const crm_node_t *peer, bool peer_won, xmlNode *xml) xml 475 daemons/attrd/attrd_corosync.c for (xmlNode *child = pcmk__xml_first_child(xml); child != NULL; xml 521 daemons/attrd/attrd_corosync.c attrd_peer_sync(crm_node_t *peer, xmlNode *xml) xml 568 daemons/attrd/attrd_corosync.c attrd_peer_update(const crm_node_t *peer, xmlNode *xml, const char *host, xml 571 daemons/attrd/attrd_corosync.c if (xml_has_children(xml)) { xml 572 daemons/attrd/attrd_corosync.c for (xmlNode *child = first_named_child(xml, XML_ATTR_OP); child != NULL; xml 574 daemons/attrd/attrd_corosync.c copy_attrs(xml, child); xml 579 daemons/attrd/attrd_corosync.c attrd_peer_update_one(peer, xml, filter); xml 65 daemons/attrd/attrd_elections.c attrd_handle_election_op(const crm_node_t *peer, xmlNode *xml) xml 70 daemons/attrd/attrd_elections.c crm_xml_add(xml, F_CRM_HOST_FROM, peer->uname); xml 73 daemons/attrd/attrd_elections.c rc = election_count_vote(writer, xml, !attrd_shutting_down()); xml 114 daemons/attrd/attrd_elections.c attrd_check_for_new_writer(const crm_node_t *peer, const xmlNode *xml) xml 118 daemons/attrd/attrd_elections.c crm_element_value_int(xml, PCMK__XA_ATTR_WRITER, &peer_state); xml 176 daemons/attrd/attrd_elections.c attrd_xml_add_writer(xmlNode *xml) xml 178 daemons/attrd/attrd_elections.c crm_xml_add_int(xml, PCMK__XA_ATTR_WRITER, election_state(writer)); xml 101 daemons/attrd/attrd_ipc.c xmlNode *xml = request->xml; xml 110 daemons/attrd/attrd_ipc.c attrd_send_message(NULL, xml); xml 115 daemons/attrd/attrd_ipc.c rsc = crm_element_value(xml, PCMK__XA_ATTR_RESOURCE); xml 116 daemons/attrd/attrd_ipc.c op = crm_element_value(xml, PCMK__XA_ATTR_OPERATION); xml 117 daemons/attrd/attrd_ipc.c interval_spec = crm_element_value(xml, PCMK__XA_ATTR_INTERVAL); xml 120 daemons/attrd/attrd_ipc.c crm_xml_add(xml, PCMK__XA_TASK, PCMK__ATTRD_CMD_UPDATE); xml 137 daemons/attrd/attrd_ipc.c crm_xml_add(xml, PCMK__XA_ATTR_PATTERN, pattern); xml 141 daemons/attrd/attrd_ipc.c crm_xml_add(xml, PCMK__XA_ATTR_PATTERN, ATTRD_RE_CLEAR_ALL); xml 145 daemons/attrd/attrd_ipc.c if (crm_element_value(xml, PCMK__XA_ATTR_NAME)) { xml 146 daemons/attrd/attrd_ipc.c crm_xml_replace(xml, PCMK__XA_ATTR_NAME, NULL); xml 148 daemons/attrd/attrd_ipc.c if (crm_element_value(xml, PCMK__XA_ATTR_VALUE)) { xml 149 daemons/attrd/attrd_ipc.c crm_xml_replace(xml, PCMK__XA_ATTR_VALUE, NULL); xml 158 daemons/attrd/attrd_ipc.c xmlNode *xml = request->xml; xml 161 daemons/attrd/attrd_ipc.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); xml 169 daemons/attrd/attrd_ipc.c crm_element_value_int(xml, PCMK__XA_ATTR_NODE_ID, &nodeid); xml 182 daemons/attrd/attrd_ipc.c pcmk__xe_add_node(xml, host, 0); xml 189 daemons/attrd/attrd_ipc.c attrd_send_message(NULL, xml); /* ends up at attrd_peer_message() */ xml 203 daemons/attrd/attrd_ipc.c xmlNode *query = request->xml; xml 247 daemons/attrd/attrd_ipc.c handle_missing_host(xmlNode *xml) xml 249 daemons/attrd/attrd_ipc.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); xml 253 daemons/attrd/attrd_ipc.c pcmk__xe_add_node(xml, attrd_cluster->uname, attrd_cluster->nodeid); xml 258 daemons/attrd/attrd_ipc.c handle_value_expansion(const char **value, xmlNode *xml, const char *op, xml 272 daemons/attrd/attrd_ipc.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); xml 279 daemons/attrd/attrd_ipc.c crm_xml_add_int(xml, PCMK__XA_ATTR_VALUE, int_value); xml 282 daemons/attrd/attrd_ipc.c *value = crm_element_value(xml, PCMK__XA_ATTR_VALUE); xml 291 daemons/attrd/attrd_ipc.c xmlNode *xml = request->xml; xml 298 daemons/attrd/attrd_ipc.c if (xml_has_children(xml)) { xml 305 daemons/attrd/attrd_ipc.c for (xmlNode *child = first_named_child(xml, XML_ATTR_OP); child != NULL; xml 319 daemons/attrd/attrd_ipc.c attrd_send_message(NULL, xml); xml 327 daemons/attrd/attrd_ipc.c for (xmlNode *child = first_named_child(xml, XML_ATTR_OP); child != NULL; xml 329 daemons/attrd/attrd_ipc.c request->xml = child; xml 340 daemons/attrd/attrd_ipc.c attr = crm_element_value(xml, PCMK__XA_ATTR_NAME); xml 341 daemons/attrd/attrd_ipc.c value = crm_element_value(xml, PCMK__XA_ATTR_VALUE); xml 342 daemons/attrd/attrd_ipc.c regex = crm_element_value(xml, PCMK__XA_ATTR_PATTERN); xml 362 daemons/attrd/attrd_ipc.c crm_xml_add(xml, PCMK__XA_ATTR_NAME, attr); xml 363 daemons/attrd/attrd_ipc.c attrd_send_message(NULL, xml); xml 382 daemons/attrd/attrd_ipc.c handle_missing_host(xml); xml 384 daemons/attrd/attrd_ipc.c if (handle_value_expansion(&value, xml, request->op, attr) == EINVAL) { xml 390 daemons/attrd/attrd_ipc.c crm_debug("Broadcasting %s[%s]=%s%s", attr, crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME), xml 393 daemons/attrd/attrd_ipc.c attrd_send_message(NULL, xml); /* ends up at attrd_peer_message() */ xml 468 daemons/attrd/attrd_ipc.c xmlNode *xml = NULL; xml 477 daemons/attrd/attrd_ipc.c xml = pcmk__client_data2xml(client, data, &id, &flags); xml 479 daemons/attrd/attrd_ipc.c if (xml == NULL) { xml 490 daemons/attrd/attrd_ipc.c .xml = xml, xml 496 daemons/attrd/attrd_ipc.c pcmk__update_acl_user(xml, PCMK__XA_ATTR_USER, client->user); xml 498 daemons/attrd/attrd_ipc.c request.op = crm_element_value_copy(request.xml, PCMK__XA_TASK); xml 505 daemons/attrd/attrd_ipc.c free_xml(xml); xml 77 daemons/attrd/attrd_messages.c const char *host = crm_element_value(request->xml, PCMK__XA_ATTR_NODE_NAME); xml 102 daemons/attrd/attrd_messages.c attrd_peer_sync(peer, request->xml); xml 118 daemons/attrd/attrd_messages.c bool peer_won = attrd_check_for_new_writer(peer, request->xml); xml 121 daemons/attrd/attrd_messages.c attrd_peer_sync_response(peer, peer_won, request->xml); xml 134 daemons/attrd/attrd_messages.c const char *host = crm_element_value(request->xml, PCMK__XA_ATTR_NODE_NAME); xml 137 daemons/attrd/attrd_messages.c attrd_peer_update(peer, request->xml, host, false); xml 108 daemons/attrd/pacemaker-attrd.h void attrd_handle_election_op(const crm_node_t *peer, xmlNode *xml); xml 109 daemons/attrd/pacemaker-attrd.h bool attrd_check_for_new_writer(const crm_node_t *peer, const xmlNode *xml); xml 112 daemons/attrd/pacemaker-attrd.h void attrd_xml_add_writer(xmlNode *xml); xml 150 daemons/attrd/pacemaker-attrd.h void attrd_peer_update(const crm_node_t *peer, xmlNode *xml, const char *host, xml 152 daemons/attrd/pacemaker-attrd.h void attrd_peer_sync(crm_node_t *peer, xmlNode *xml); xml 156 daemons/attrd/pacemaker-attrd.h xmlNode *xml); xml 171 daemons/attrd/pacemaker-attrd.h attribute_t *attrd_populate_attribute(xmlNode *xml, const char *attr); 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 275 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 1482 daemons/controld/controld_execd.c lrm_op_target(const xmlNode *xml) xml 1486 daemons/controld/controld_execd.c if (xml) { xml 1487 daemons/controld/controld_execd.c target = crm_element_value(xml, XML_LRM_ATTR_TARGET); xml 1496 daemons/controld/controld_execd.c fail_lrm_resource(xmlNode *xml, lrm_state_t *lrm_state, const char *user_name, xml 1501 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(xml, XML_CIB_TAG_RESOURCE, TRUE); xml 1513 daemons/controld/controld_execd.c op = construct_op(lrm_state, xml, ID(xml_rsc), "asyncmon"); xml 1534 daemons/controld/controld_execd.c process_lrm_event(lrm_state, op, NULL, xml); xml 1540 daemons/controld/controld_execd.c crm_log_xml_warn(xml, "bad input"); xml 1582 daemons/controld/controld_execd.c xmlNode *params = find_xml_node(input->xml, XML_TAG_ATTRS, TRUE); xml 1666 daemons/controld/controld_execd.c op = construct_op(lrm_state, input->xml, rsc->id, CRMD_ACTION_DELETE); xml 1753 daemons/controld/controld_execd.c target_node = lrm_op_target(input->xml); xml 1761 daemons/controld/controld_execd.c synthesize_lrmd_failure(NULL, input->xml, PCMK_EXEC_NOT_CONNECTED, xml 1781 daemons/controld/controld_execd.c } else if (input->xml != NULL) { xml 1782 daemons/controld/controld_execd.c operation = crm_element_value(input->xml, XML_LRM_ATTR_TASK); xml 1793 daemons/controld/controld_execd.c fail_lrm_resource(input->xml, lrm_state, user_name, from_host, xml 1816 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(input->xml, XML_CIB_TAG_RESOURCE, TRUE); xml 1826 daemons/controld/controld_execd.c synthesize_lrmd_failure(lrm_state, input->xml, xml 1839 daemons/controld/controld_execd.c rc, pcmk_strerror(rc), ID(input->xml)); xml 1848 daemons/controld/controld_execd.c synthesize_lrmd_failure(lrm_state, input->xml, PCMK_EXEC_ERROR, xml 1859 daemons/controld/controld_execd.c synthesize_lrmd_failure(lrm_state, input->xml, PCMK_EXEC_ERROR, xml 1867 daemons/controld/controld_execd.c crm_log_xml_warn(input->xml, "Bad command"); xml 1905 daemons/controld/controld_execd.c data = new_metadata_cb_data(rsc, input->xml); xml 1914 daemons/controld/controld_execd.c do_lrm_rsc_op(lrm_state, rsc, input->xml, md); xml 2732 daemons/controld/controld_execd.c xmlNode *xml = find_xml_node(action_xml, XML_CIB_TAG_RESOURCE, TRUE); xml 2734 daemons/controld/controld_execd.c const char *standard = crm_element_value(xml, XML_AGENT_ATTR_CLASS); xml 2735 daemons/controld/controld_execd.c const char *provider = crm_element_value(xml, XML_AGENT_ATTR_PROVIDER); xml 2736 daemons/controld/controld_execd.c const char *type = crm_element_value(xml, XML_ATTR_TYPE); xml 390 daemons/controld/controld_fencing.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 393 daemons/controld/controld_fencing.c last_action = action->xml; xml 396 daemons/controld/controld_fencing.c action->id, ID(action->xml)); xml 789 daemons/controld/controld_fencing.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 798 daemons/controld/controld_fencing.c const char *uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 921 daemons/controld/controld_fencing.c id = ID(action->xml); xml 922 daemons/controld/controld_fencing.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 923 daemons/controld/controld_fencing.c uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 932 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 379 daemons/controld/controld_join_dc.c max_generation_xml = copy_xml(join_ack->xml); xml 603 daemons/controld/controld_join_dc.c fsa_cib_update(XML_CIB_TAG_STATUS, join_ack->xml, xml 609 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 801 daemons/controld/controld_messages.c xmlNode *xml = create_xml_node(reply_data, XML_CIB_TAG_NODE); xml 803 daemons/controld/controld_messages.c crm_xml_add_ll(xml, XML_ATTR_ID, (long long) node->id); // uint32_t xml 804 daemons/controld/controld_messages.c crm_xml_add(xml, XML_ATTR_UNAME, node->uname); xml 805 daemons/controld/controld_messages.c crm_xml_add(xml, XML_NODE_IN_CLUSTER, node->state); xml 1115 daemons/controld/controld_messages.c xmlNode *xml = get_message_xml(stored_msg, F_CRM_DATA); xml 1117 daemons/controld/controld_messages.c remote_ra_process_maintenance_nodes(xml); xml 1230 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 1240 daemons/controld/controld_remote_ra.c remote_ra_process_pseudo(xmlNode *xml) xml 1242 daemons/controld/controld_remote_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_FENCE); xml 1308 daemons/controld/controld_remote_ra.c remote_ra_process_maintenance_nodes(xmlNode *xml) xml 1310 daemons/controld/controld_remote_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_MAINTENANCE); xml 368 daemons/controld/controld_schedulerd.c force_local_option(xmlNode *xml, const char *attr_name, const char *attr_value) xml 385 daemons/controld/controld_schedulerd.c xpathObj = xpath_search(xml, xpath_string); xml 403 daemons/controld/controld_schedulerd.c configuration = pcmk__xe_match(xml, XML_CIB_TAG_CONFIGURATION, NULL, xml 406 daemons/controld/controld_schedulerd.c configuration = create_xml_node(xml, XML_CIB_TAG_CONFIGURATION); xml 422 daemons/controld/controld_schedulerd.c xml = create_xml_node(cluster_property_set, XML_CIB_TAG_NVPAIR); xml 424 daemons/controld/controld_schedulerd.c crm_xml_set_id(xml, "%s-%s", CIB_OPTIONS_FIRST, attr_name); xml 425 daemons/controld/controld_schedulerd.c crm_xml_add(xml, XML_NVPAIR_ATTR_NAME, attr_name); xml 426 daemons/controld/controld_schedulerd.c crm_xml_add(xml, XML_NVPAIR_ATTR_VALUE, attr_value); xml 48 daemons/controld/controld_te_actions.c const char *task = crm_element_value(pseudo->xml, XML_LRM_ATTR_TASK); xml 63 daemons/controld/controld_te_actions.c cmd = create_request(task, pseudo->xml, node->uname, xml 69 daemons/controld/controld_te_actions.c remote_ra_process_maintenance_nodes(pseudo->xml); xml 72 daemons/controld/controld_te_actions.c remote_ra_process_pseudo(pseudo->xml); xml 76 daemons/controld/controld_te_actions.c crm_element_value(pseudo->xml, XML_LRM_ATTR_TASK_KEY)); xml 116 daemons/controld/controld_te_actions.c id = ID(action->xml); xml 119 daemons/controld/controld_te_actions.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 122 daemons/controld/controld_te_actions.c on_node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 125 daemons/controld/controld_te_actions.c router_node = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 129 daemons/controld/controld_te_actions.c const char *mode = crm_element_value(action->xml, PCMK__XA_MODE); xml 164 daemons/controld/controld_te_actions.c cmd = create_request(task, action->xml, router_node, CRM_SYSTEM_CRMD, CRM_SYSTEM_TENGINE, NULL); xml 213 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 222 daemons/controld/controld_te_actions.c router_node = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 251 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 252 daemons/controld/controld_te_actions.c const char *task_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 253 daemons/controld/controld_te_actions.c const char *target_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 258 daemons/controld/controld_te_actions.c action_rsc = find_xml_node(action->xml, XML_CIB_TAG_RESOURCE, TRUE); xml 265 daemons/controld/controld_te_actions.c crm_log_xml_err(action->xml, "Bad:action"); return); xml 310 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 311 daemons/controld/controld_te_actions.c const char *task_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 316 daemons/controld/controld_te_actions.c crm_element_name(action->xml), action->id, task_uuid, target); xml 356 daemons/controld/controld_te_actions.c CRM_ASSERT(action->xml != NULL); xml 359 daemons/controld/controld_te_actions.c on_node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 363 daemons/controld/controld_te_actions.c ID(action->xml), pcmk__s(task, "without task")); xml 366 daemons/controld/controld_te_actions.c rsc_op = action->xml; xml 368 daemons/controld/controld_te_actions.c task_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 399 daemons/controld/controld_te_actions.c .xml = rsc_op, xml 509 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 510 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 521 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 533 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 555 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 556 daemons/controld/controld_te_actions.c const char *id = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 606 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 617 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 629 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 646 daemons/controld/controld_te_actions.c && (crm_element_value(action->xml, XML_LRM_ATTR_TARGET) != NULL)) { xml 221 daemons/controld/controld_te_callbacks.c process_resource_updates(const char *node, xmlNode *xml, xmlNode *change, xml 226 daemons/controld/controld_te_callbacks.c if (xml == NULL) { xml 230 daemons/controld/controld_te_callbacks.c if (strcmp(TYPE(xml), XML_CIB_TAG_LRM) == 0) { xml 231 daemons/controld/controld_te_callbacks.c xml = first_named_child(xml, XML_LRM_TAG_RESOURCES); xml 232 daemons/controld/controld_te_callbacks.c CRM_CHECK(xml != NULL, return); xml 235 daemons/controld/controld_te_callbacks.c CRM_CHECK(strcmp(TYPE(xml), XML_LRM_TAG_RESOURCES) == 0, return); xml 250 daemons/controld/controld_te_callbacks.c && xml->children && xml->children->next) { xml 258 daemons/controld/controld_te_callbacks.c for (rsc = pcmk__xml_first_child(xml); rsc != NULL; xml 656 daemons/controld/controld_te_callbacks.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 657 daemons/controld/controld_te_callbacks.c on_node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 658 daemons/controld/controld_te_callbacks.c via_node = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 58 daemons/controld/controld_te_events.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 65 daemons/controld/controld_te_events.c target_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 66 daemons/controld/controld_te_events.c router = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 77 daemons/controld/controld_te_events.c last_action = action->xml; xml 83 daemons/controld/controld_te_events.c action->id, crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY), down_node); xml 86 daemons/controld/controld_te_events.c action->id, crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY), down_node); xml 266 daemons/controld/controld_te_events.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 271 daemons/controld/controld_te_events.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 277 daemons/controld/controld_te_events.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 301 daemons/controld/controld_te_events.c op_key = crm_element_value(cancel->xml, XML_LRM_ATTR_TASK_KEY); xml 302 daemons/controld/controld_te_events.c node_name = crm_element_value(cancel->xml, XML_LRM_ATTR_TARGET); xml 342 daemons/controld/controld_te_events.c xpath_ret = xpath_search(match->xml, xpath); xml 358 daemons/controld/controld_te_events.c crm_element_value(match->xml, XML_LRM_ATTR_TASK_KEY), target); xml 362 daemons/controld/controld_throttle.c xmlNode *xml = NULL; xml 370 daemons/controld/controld_throttle.c xml = create_request(CRM_OP_THROTTLE, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); xml 371 daemons/controld/controld_throttle.c crm_xml_add_int(xml, F_CRM_THROTTLE_MODE, mode); xml 372 daemons/controld/controld_throttle.c crm_xml_add_int(xml, F_CRM_THROTTLE_MAX, throttle_job_max); xml 374 daemons/controld/controld_throttle.c send_cluster_message(NULL, crm_msg_crmd, xml, TRUE); xml 375 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 14 daemons/controld/controld_throttle.h void throttle_update(xmlNode *xml); xml 148 daemons/controld/controld_transition.c if (graph_file == NULL && input->xml == NULL) { xml 170 daemons/controld/controld_transition.c graph_data = input->xml; xml 214 daemons/controld/controld_transition.c if (graph_data != input->xml) { xml 99 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 901 daemons/fenced/fenced_commands.c is_nodeid_required(xmlNode * xml) xml 909 daemons/fenced/fenced_commands.c if (!xml) { xml 913 daemons/fenced/fenced_commands.c xpath = xpath_search(xml, "//parameter[@name='nodeid']"); xml 1664 daemons/fenced/fenced_commands.c unpack_level_request(xmlNode *xml, enum fenced_target_by *mode, char **target, xml 1675 daemons/fenced/fenced_commands.c if ((xml != NULL) xml 1676 daemons/fenced/fenced_commands.c && !pcmk__str_eq(TYPE(xml), XML_TAG_FENCING_LEVEL, pcmk__str_none)) { xml 1677 daemons/fenced/fenced_commands.c xml = get_xpath_object("//" XML_TAG_FENCING_LEVEL, xml, LOG_WARNING); xml 1680 daemons/fenced/fenced_commands.c if (xml == NULL) { xml 1685 daemons/fenced/fenced_commands.c local_mode = unpack_level_kind(xml); xml 1686 daemons/fenced/fenced_commands.c local_target = stonith_level_key(xml, local_mode); xml 1687 daemons/fenced/fenced_commands.c crm_element_value_int(xml, XML_ATTR_STONITH_INDEX, &local_id); xml 1706 daemons/fenced/fenced_commands.c return xml; xml 2297 daemons/fenced/fenced_commands.c add_action_specific_attributes(xmlNode *xml, const char *action, xml 2305 daemons/fenced/fenced_commands.c CRM_CHECK(xml && action && device, return); xml 2309 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_DEVICE_REQUIRED, 1); xml 2316 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_ACTION_TIMEOUT, action_specific_timeout); xml 2323 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_DELAY_MAX, delay_max / 1000); xml 2328 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_DELAY_BASE, delay_base / 1000); xml 2355 daemons/fenced/fenced_commands.c add_disallowed(xmlNode *xml, const char *action, const stonith_device_t *device, xml 2361 daemons/fenced/fenced_commands.c pcmk__xe_set_bool_attr(xml, F_STONITH_ACTION_DISALLOWED, true); xml 2376 daemons/fenced/fenced_commands.c add_action_reply(xmlNode *xml, const char *action, xml 2380 daemons/fenced/fenced_commands.c xmlNode *child = create_xml_node(xml, F_STONITH_ACTION); xml 3177 daemons/fenced/fenced_commands.c execute_agent_action(request->xml, &request->result); xml 3181 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); xml 3188 daemons/fenced/fenced_commands.c const char *call_id = crm_element_value(request->xml, F_STONITH_CALLID); xml 3189 daemons/fenced/fenced_commands.c const char *client_id = crm_element_value(request->xml, F_STONITH_CLIENTID); xml 3192 daemons/fenced/fenced_commands.c crm_element_value_int(request->xml, F_STONITH_TIMEOUT, &op_timeout); xml 3206 daemons/fenced/fenced_commands.c const char *client_id = crm_element_value(request->xml, F_STONITH_CLIENTID); xml 3211 daemons/fenced/fenced_commands.c create_remote_stonith_op(client_id, request->xml, TRUE); xml 3215 daemons/fenced/fenced_commands.c remove_relay_op(request->xml); xml 3219 daemons/fenced/fenced_commands.c dev = get_xpath_object("//@" F_STONITH_ACTION, request->xml, LOG_NEVER); xml 3230 daemons/fenced/fenced_commands.c crm_log_xml_trace(request->xml, "Query"); xml 3235 daemons/fenced/fenced_commands.c query->reply = fenced_construct_reply(request->xml, NULL, &request->result); xml 3242 daemons/fenced/fenced_commands.c crm_element_value_int(request->xml, F_STONITH_TIMEOUT, &timeout); xml 3256 daemons/fenced/fenced_commands.c flag_name = crm_element_value(request->xml, F_STONITH_NOTIFY_ACTIVATE); xml 3263 daemons/fenced/fenced_commands.c flag_name = crm_element_value(request->xml, F_STONITH_NOTIFY_DEACTIVATE); xml 3281 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//@" F_STONITH_TARGET, request->xml, xml 3291 daemons/fenced/fenced_commands.c if (initiate_remote_stonith_op(NULL, request->xml, FALSE) == NULL) { xml 3293 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); xml 3305 daemons/fenced/fenced_commands.c fence_locally(request->xml, &request->result); xml 3309 daemons/fenced/fenced_commands.c request->xml)) { xml 3325 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//@" F_STONITH_TARGET, request->xml, xml 3341 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, xml 3357 daemons/fenced/fenced_commands.c client_id = crm_element_value(request->xml, F_STONITH_CLIENTID); xml 3366 daemons/fenced/fenced_commands.c op = create_remote_stonith_op(client_id, request->xml, FALSE); xml 3368 daemons/fenced/fenced_commands.c crm_xml_add(request->xml, F_STONITH_OPERATION, STONITH_OP_RELAY); xml 3369 daemons/fenced/fenced_commands.c crm_xml_add(request->xml, F_STONITH_CLIENTID, xml 3371 daemons/fenced/fenced_commands.c crm_xml_add(request->xml, F_STONITH_REMOTE_OP_ID, op->id); xml 3373 daemons/fenced/fenced_commands.c crm_msg_stonith_ng, request->xml, FALSE); xml 3377 daemons/fenced/fenced_commands.c } else if (initiate_remote_stonith_op(request->ipc_client, request->xml, xml 3390 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); xml 3400 daemons/fenced/fenced_commands.c stonith_fence_history(request->xml, &data, request->peer, xml 3407 daemons/fenced/fenced_commands.c reply = fenced_construct_reply(request->xml, data, &request->result); xml 3417 daemons/fenced/fenced_commands.c const char *op = crm_element_value(request->xml, F_STONITH_OPERATION); xml 3418 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//" F_STONITH_DEVICE, request->xml, xml 3435 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); xml 3442 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//" F_STONITH_DEVICE, request->xml, xml 3445 daemons/fenced/fenced_commands.c const char *op = crm_element_value(request->xml, F_STONITH_OPERATION); xml 3456 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); xml 3464 daemons/fenced/fenced_commands.c const char *op = crm_element_value(request->xml, F_STONITH_OPERATION); xml 3467 daemons/fenced/fenced_commands.c fenced_register_level(request->xml, &desc, &request->result); xml 3469 daemons/fenced/fenced_commands.c unpack_level_request(request->xml, NULL, NULL, NULL, &desc); xml 3476 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); xml 3484 daemons/fenced/fenced_commands.c const char *op = crm_element_value(request->xml, F_STONITH_OPERATION); xml 3487 daemons/fenced/fenced_commands.c fenced_unregister_level(request->xml, &desc, &request->result); xml 3489 daemons/fenced/fenced_commands.c unpack_level_request(request->xml, NULL, NULL, NULL, &desc); xml 3496 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); xml 3506 daemons/fenced/fenced_commands.c crm_element_value_int(request->xml, XML_ATTR_ID, &node_id); xml 3507 daemons/fenced/fenced_commands.c name = crm_element_value(request->xml, XML_ATTR_UNAME); xml 3521 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); xml 3659 daemons/fenced/fenced_commands.c .xml = message, xml 3664 daemons/fenced/fenced_commands.c request.op = crm_element_value_copy(request.xml, F_STONITH_OPERATION); xml 510 daemons/fenced/fenced_remote.c delegate_from_xml(xmlNode *xml) xml 512 daemons/fenced/fenced_remote.c xmlNode *match = get_xpath_object("//@" F_STONITH_DELEGATE, xml, LOG_NEVER); xml 515 daemons/fenced/fenced_remote.c return crm_element_value_copy(xml, F_ORIG); xml 2013 daemons/fenced/fenced_remote.c parse_action_specific(const xmlNode *xml, const char *peer, const char *device, xml 2018 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_ACTION_TIMEOUT, xml 2026 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DELAY_MAX, &props->delay_max[phase]); xml 2033 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DELAY_BASE, &props->delay_base[phase]); xml 2043 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DEVICE_REQUIRED, &required); xml 2054 daemons/fenced/fenced_remote.c if (pcmk__xe_attr_is_true(xml, F_STONITH_ACTION_DISALLOWED)) { xml 2071 daemons/fenced/fenced_remote.c add_device_properties(const xmlNode *xml, remote_fencing_op_t *op, xml 2084 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DEVICE_VERIFIED, &verified); xml 2091 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DEVICE_SUPPORT_FLAGS, &flags); xml 2095 daemons/fenced/fenced_remote.c parse_action_specific(xml, peer->host, device, op_requested_action(op), xml 2097 daemons/fenced/fenced_remote.c for (child = pcmk__xml_first_child(xml); child != NULL; xml 2126 daemons/fenced/fenced_remote.c const xmlNode *xml) xml 2138 daemons/fenced/fenced_remote.c for (child = pcmk__xml_first_child(xml); child != NULL; xml 200 daemons/fenced/pacemaker-fenced.c xmlNode *xml = NULL; xml 208 daemons/fenced/pacemaker-fenced.c xml = string2xml(data); xml 209 daemons/fenced/pacemaker-fenced.c if (xml == NULL) { xml 214 daemons/fenced/pacemaker-fenced.c crm_xml_add(xml, F_ORIG, from); xml 216 daemons/fenced/pacemaker-fenced.c stonith_peer_callback(xml, NULL); xml 219 daemons/fenced/pacemaker-fenced.c free_xml(xml); xml 622 daemons/fenced/pacemaker-fenced.c xmlNode *xml; xml 624 daemons/fenced/pacemaker-fenced.c xml = create_device_registration_xml( xml 633 daemons/fenced/pacemaker-fenced.c rc = stonith_device_register(xml, TRUE); xml 634 daemons/fenced/pacemaker-fenced.c free_xml(xml); xml 702 daemons/fenced/pacemaker-fenced.c rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 758 daemons/fenced/pacemaker-fenced.c const char *agent = crm_element_value(rsc->xml, XML_EXPR_ATTR_TYPE); xml 40 daemons/pacemakerd/pcmkd_messages.c xmlNode *msg = request->xml; xml 96 daemons/pacemakerd/pcmkd_messages.c xmlNode *msg = request->xml; xml 233 daemons/pacemakerd/pcmkd_messages.c .xml = msg, xml 238 daemons/pacemakerd/pcmkd_messages.c request.op = crm_element_value_copy(request.xml, F_CRM_TASK); xml 59 daemons/schedulerd/schedulerd_messages.c xmlNode *msg = request->xml; xml 269 daemons/schedulerd/schedulerd_messages.c .xml = msg, xml 274 daemons/schedulerd/schedulerd_messages.c request.op = crm_element_value_copy(request.xml, F_CRM_TASK); xml 164 include/crm/cluster.h void set_uuid(xmlNode *xml, const char *attr, crm_node_t *node); xml 26 include/crm/common/acl.h bool xml_acl_enabled(const xmlNode *xml); xml 27 include/crm/common/acl.h void xml_acl_disable(xmlNode *xml); xml 28 include/crm/common/acl.h bool xml_acl_denied(const xmlNode *xml); xml 29 include/crm/common/acl.h bool xml_acl_filtered_copy(const char *user, xmlNode* acl_source, xmlNode *xml, xml 29 include/crm/common/acl_internal.h bool pcmk__check_acl(xmlNode *xml, const char *name, xml 73 include/crm/common/internal.h void pcmk__xe_add_node(xmlNode *xml, const char *node, int nodeid); xml 251 include/crm/common/logging.h # define do_crm_log_xml(level, text, xml) do { \ xml 263 include/crm/common/logging.h __LINE__, text, xml, 1, xml_log_option_formatted); \ xml 367 include/crm/common/logging.h # define crm_log_xml_crit(xml, text) do_crm_log_xml(LOG_CRIT, text, xml) xml 368 include/crm/common/logging.h # define crm_log_xml_err(xml, text) do_crm_log_xml(LOG_ERR, text, xml) xml 369 include/crm/common/logging.h # define crm_log_xml_warn(xml, text) do_crm_log_xml(LOG_WARNING, text, xml) xml 370 include/crm/common/logging.h # define crm_log_xml_notice(xml, text) do_crm_log_xml(LOG_NOTICE, text, xml) xml 371 include/crm/common/logging.h # define crm_log_xml_info(xml, text) do_crm_log_xml(LOG_INFO, text, xml) xml 372 include/crm/common/logging.h # define crm_log_xml_debug(xml, text) do_crm_log_xml(LOG_DEBUG, text, xml) xml 373 include/crm/common/logging.h # define crm_log_xml_trace(xml, text) do_crm_log_xml(LOG_TRACE, text, xml) xml 375 include/crm/common/logging.h # define crm_log_xml_explicit(xml, text) do { \ xml 381 include/crm/common/logging.h do_crm_log_xml(LOG_TRACE, text, xml); \ xml 44 include/crm/common/messages_internal.h xmlNode *xml; // Request XML xml 37 include/crm/common/nvpair.h GSList *pcmk_xml_attrs2nvpairs(const xmlNode *xml); xml 38 include/crm/common/nvpair.h void pcmk_nvpairs2xml_attrs(GSList *list, xmlNode *xml); xml 53 include/crm/common/nvpair.h const char *crm_xml_add_timeval(xmlNode *xml, const char *name_sec, xml 61 include/crm/common/nvpair.h int crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest); xml 884 include/crm/common/output_internal.h int pcmk__xml_output_new(pcmk__output_t **out, xmlNodePtr *xml); xml 885 include/crm/common/output_internal.h void pcmk__xml_output_finish(pcmk__output_t *out, xmlNodePtr *xml); xml 52 include/crm/common/xml.h gboolean add_message_xml(xmlNode * msg, const char *field, xmlNode * xml); xml 177 include/crm/common/xml.h crm_element_name(const xmlNode *xml) xml 179 include/crm/common/xml.h return xml? (const char *)(xml->name) : NULL; xml 183 include/crm/common/xml.h crm_map_element_name(const xmlNode *xml) xml 185 include/crm/common/xml.h const char *name = crm_element_name(xml); xml 248 include/crm/common/xml.h gboolean cli_config_update(xmlNode ** xml, int *best_version, gboolean to_logs); xml 258 include/crm/common/xml.h void pcmk_free_xml_subtree(xmlNode *xml); xml 266 include/crm/common/xml.h void crm_foreach_xpath_result(xmlNode *xml, const char *xpath, xml 282 include/crm/common/xml.h bool xml_tracking_changes(xmlNode * xml); xml 283 include/crm/common/xml.h bool xml_document_dirty(xmlNode *xml); xml 284 include/crm/common/xml.h void xml_track_changes(xmlNode * xml, const char *user, xmlNode *acl_source, bool enforce_acls); xml 287 include/crm/common/xml.h void xml_accept_changes(xmlNode * xml); xml 288 include/crm/common/xml.h void xml_log_changes(uint8_t level, const char *function, xmlNode *xml); xml 289 include/crm/common/xml.h void xml_log_patchset(uint8_t level, const char *function, xmlNode *xml); xml 294 include/crm/common/xml.h int xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version); xml 298 include/crm/common/xml.h void save_xml_to_file(xmlNode * xml, const char *desc, const char *filename); xml 302 include/crm/common/xml.h void crm_xml_set_id(xmlNode *xml, const char *format, ...) G_GNUC_PRINTF(2, 3); xml 37 include/crm/common/xml_compat.h char *xml_get_path(const xmlNode *xml); xml 156 include/crm/common/xml_internal.h void pcmk__strip_xml_text(xmlNode *xml); xml 166 include/crm/common/xml_internal.h GString *pcmk__element_xpath(const xmlNode *xml); xml 342 include/crm/common/xml_internal.h void pcmk__set_xml_doc_flag(xmlNode *xml, enum xml_private_flags flag); xml 365 include/crm/common/xml_internal.h pcmk__xe_foreach_child(xmlNode *xml, const char *child_element_name, xml 366 include/crm/common/xml_internal.h int (*handler)(xmlNode *xml, void *userdata), xml 64 include/crm/fencing/internal.h void stonith__xe_set_result(xmlNode *xml, const pcmk__action_result_t *result); xml 65 include/crm/fencing/internal.h void stonith__xe_get_result(xmlNode *xml, pcmk__action_result_t *result); xml 66 include/crm/fencing/internal.h xmlNode *stonith__find_xe_with_result(xmlNode *xml); xml 571 include/crm/pengine/internal.h xmlNode *xml, const char *field); xml 331 include/crm/pengine/pe_types.h xmlNode *xml; xml 21 include/crm/pengine/remote_internal.h bool xml_contains_remote_node(xmlNode *xml); xml 90 include/pacemaker.h int pcmk_controller_status(xmlNodePtr *xml, char *dest_node, unsigned int message_timeout_ms); xml 100 include/pacemaker.h int pcmk_designated_controller(xmlNodePtr *xml, unsigned int message_timeout_ms); xml 124 include/pacemaker.h int pcmk_pacemakerd_status(xmlNodePtr *xml, const char *ipc_name, xml 138 include/pacemaker.h int pcmk_resource_digests(xmlNodePtr *xml, pe_resource_t *rsc, xml 171 include/pacemaker.h int pcmk_simulate(xmlNodePtr *xml, pe_working_set_t *data_set, xml 184 include/pacemaker.h int pcmk_list_nodes(xmlNodePtr *xml, char *node_types); xml 194 include/pacemaker.h int pcmk_status(xmlNodePtr *xml); xml 208 include/pacemaker.h int pcmk_check_rules(xmlNodePtr *xml, xmlNodePtr input, const crm_time_t *date, xml 223 include/pacemaker.h pcmk_check_rule(xmlNodePtr *xml, xmlNodePtr input, const crm_time_t *date, xml 227 include/pacemaker.h return pcmk_check_rules(xml, input, date, rule_ids); xml 253 include/pacemaker.h int pcmk_show_result_code(xmlNodePtr *xml, int code, enum pcmk_result_type type, xml 267 include/pacemaker.h int pcmk_list_result_codes(xmlNodePtr *xml, enum pcmk_result_type type, xml 314 include/pacemaker.h int pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, xml 330 include/pacemaker.h int pcmk_fence_installed(xmlNodePtr *xml, stonith_t *st, unsigned int timeout); xml 344 include/pacemaker.h int pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid); xml 359 include/pacemaker.h int pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st, xml 375 include/pacemaker.h int pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, char *agent, xml 392 include/pacemaker.h int pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, xml 444 include/pacemaker.h int pcmk_fence_validate(xmlNodePtr *xml, stonith_t *st, const char *agent, xml 43 include/pcmki/pcmki_sched_allocate.h extern void clone_append_meta(pe_resource_t * rsc, xmlNode * xml); xml 78 include/pcmki/pcmki_transition.h xmlNode *xml; xml 126 lib/cib/cib_utils.c cib_acl_enabled(xmlNode *xml, const char *user) xml 134 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 50 lib/common/acl.c create_acl(const xmlNode *xml, GList *acls, enum xml_private_flags mode) xml 54 lib/common/acl.c const char *tag = crm_element_value(xml, XML_ACL_ATTR_TAG); xml 55 lib/common/acl.c const char *ref = crm_element_value(xml, XML_ACL_ATTR_REF); xml 56 lib/common/acl.c const char *xpath = crm_element_value(xml, XML_ACL_ATTR_XPATH); xml 57 lib/common/acl.c const char *attr = crm_element_value(xml, XML_ACL_ATTR_ATTRIBUTE); xml 61 lib/common/acl.c tag = crm_element_value(xml, XML_ACL_ATTR_TAGv1); xml 65 lib/common/acl.c ref = crm_element_value(xml, XML_ACL_ATTR_REFv1); xml 71 lib/common/acl.c crm_element_name(xml)); xml 83 lib/common/acl.c crm_element_name(xml), acl->xpath); xml 109 lib/common/acl.c crm_element_name(xml), acl->xpath); xml 224 lib/common/acl.c pcmk__apply_acl(xmlNode *xml) xml 227 lib/common/acl.c xml_doc_private_t *docpriv = xml->doc->_private; xml 231 lib/common/acl.c if (!xml_acl_enabled(xml)) { xml 241 lib/common/acl.c xpathObj = xpath_search(xml, acl->xpath); xml 392 lib/common/acl.c purge_xml_attributes(xmlNode *xml) xml 397 lib/common/acl.c xml_node_private_t *nodepriv = xml->_private; xml 400 lib/common/acl.c crm_trace("%s[@id=%s] is readable", crm_element_name(xml), ID(xml)); xml 404 lib/common/acl.c xIter = xml->properties; xml 414 lib/common/acl.c xmlUnsetProp(xml, tmp->name); xml 417 lib/common/acl.c child = pcmk__xml_first_child(xml); xml 426 lib/common/acl.c free_xml(xml); /* Nothing readable under here, purge completely */ xml 443 lib/common/acl.c xml_acl_filtered_copy(const char *user, xmlNode *acl_source, xmlNode *xml, xml 451 lib/common/acl.c if ((xml == NULL) || !pcmk_acl_required(user)) { xml 458 lib/common/acl.c target = copy_xml(xml); xml 531 lib/common/acl.c implicitly_allowed(const xmlNode *xml) xml 535 lib/common/acl.c for (xmlAttr *prop = xml->properties; prop != NULL; prop = prop->next) { xml 541 lib/common/acl.c path = pcmk__element_xpath(xml); xml 553 lib/common/acl.c #define display_id(xml) (ID(xml)? ID(xml) : "<unset>") xml 571 lib/common/acl.c pcmk__apply_creation_acl(xmlNode *xml, bool check_top) xml 573 lib/common/acl.c xml_node_private_t *nodepriv = xml->_private; xml 576 lib/common/acl.c if (implicitly_allowed(xml)) { xml 579 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 581 lib/common/acl.c } else if (pcmk__check_acl(xml, NULL, pcmk__xf_acl_write)) { xml 583 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 587 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 588 lib/common/acl.c pcmk_free_xml_subtree(xml); xml 593 lib/common/acl.c ((xml == xmlDocGetRootElement(xml->doc))? "root element " : ""), xml 594 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 598 lib/common/acl.c for (xmlNode *cIter = pcmk__xml_first_child(xml); cIter != NULL; ) { xml 613 lib/common/acl.c xml_acl_denied(const xmlNode *xml) xml 615 lib/common/acl.c if (xml && xml->doc && xml->doc->_private){ xml 616 lib/common/acl.c xml_doc_private_t *docpriv = xml->doc->_private; xml 624 lib/common/acl.c xml_acl_disable(xmlNode *xml) xml 626 lib/common/acl.c if (xml_acl_enabled(xml)) { xml 627 lib/common/acl.c xml_doc_private_t *docpriv = xml->doc->_private; xml 630 lib/common/acl.c pcmk__apply_acl(xml); xml 631 lib/common/acl.c pcmk__apply_creation_acl(xml, false); xml 644 lib/common/acl.c xml_acl_enabled(const xmlNode *xml) xml 646 lib/common/acl.c if (xml && xml->doc && xml->doc->_private){ xml 647 lib/common/acl.c xml_doc_private_t *docpriv = xml->doc->_private; xml 655 lib/common/acl.c pcmk__check_acl(xmlNode *xml, const char *name, enum xml_private_flags mode) xml 657 lib/common/acl.c CRM_ASSERT(xml); xml 658 lib/common/acl.c CRM_ASSERT(xml->doc); xml 659 lib/common/acl.c CRM_ASSERT(xml->doc->_private); xml 661 lib/common/acl.c if (pcmk__tracking_xml_changes(xml, false) && xml_acl_enabled(xml)) { xml 662 lib/common/acl.c xmlNode *parent = xml; xml 663 lib/common/acl.c xml_doc_private_t *docpriv = xml->doc->_private; xml 667 lib/common/acl.c pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_denied); xml 670 lib/common/acl.c xpath = pcmk__element_xpath(xml); xml 690 lib/common/acl.c xmlAttr *attr = xmlHasProp(xml, (pcmkXmlStr) name); xml 703 lib/common/acl.c pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_denied); xml 706 lib/common/acl.c xpath = pcmk__element_xpath(xml); xml 714 lib/common/acl.c (parent != xml)? "Parent ": "", xml 723 lib/common/acl.c pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_denied); xml 726 lib/common/acl.c xpath = pcmk__element_xpath(xml); xml 69 lib/common/crmcommon_private.h bool pcmk__tracking_xml_changes(xmlNode *xml, bool lazy); xml 72 lib/common/crmcommon_private.h void pcmk__mark_xml_created(xmlNode *xml); xml 75 lib/common/crmcommon_private.h int pcmk__xml_position(const xmlNode *xml, xml 108 lib/common/crmcommon_private.h void pcmk__apply_acl(xmlNode *xml); xml 111 lib/common/crmcommon_private.h void pcmk__apply_creation_acl(xmlNode *xml, bool check_top); xml 34 lib/common/digest.c dump_xml_for_digest(xmlNodePtr xml) xml 40 lib/common/digest.c pcmk__xml2text(xml, 0, buffer, 0); xml 389 lib/common/ipc_server.c xmlNode *xml = NULL; xml 434 lib/common/ipc_server.c xml = string2xml(text); xml 435 lib/common/ipc_server.c crm_log_xml_trace(xml, "[IPC received]"); xml 438 lib/common/ipc_server.c return xml; xml 160 lib/common/messages.c add_message_xml(xmlNode *msg, const char *field, xmlNode *xml) xml 164 lib/common/messages.c add_node_copy(holder, xml); xml 15 lib/common/nodes.c pcmk__xe_add_node(xmlNode *xml, const char *node, int nodeid) xml 18 lib/common/nodes.c crm_xml_add(xml, PCMK__XA_ATTR_NODE_NAME, node); xml 22 lib/common/nodes.c crm_xml_add_int(xml, PCMK__XA_ATTR_NODE_ID, nodeid); xml 161 lib/common/nvpair.c pcmk_xml_attrs2nvpairs(const xmlNode *xml) xml 165 lib/common/nvpair.c for (xmlAttrPtr iter = pcmk__xe_first_attr(xml); iter != NULL; xml 201 lib/common/nvpair.c pcmk_nvpairs2xml_attrs(GSList *list, xmlNode *xml) xml 203 lib/common/nvpair.c g_slist_foreach(list, pcmk__nvpair_add_xml_attr, xml); xml 469 lib/common/nvpair.c crm_xml_add_ll(xmlNode *xml, const char *name, long long value) xml 476 lib/common/nvpair.c return crm_xml_add(xml, name, s); xml 493 lib/common/nvpair.c crm_xml_add_timeval(xmlNode *xml, const char *name_sec, const char *name_usec, xml 498 lib/common/nvpair.c if (xml && name_sec && value) { xml 499 lib/common/nvpair.c added = crm_xml_add_ll(xml, name_sec, (long long) value->tv_sec); xml 502 lib/common/nvpair.c crm_xml_add_ll(xml, name_usec, (long long) value->tv_usec); xml 638 lib/common/nvpair.c crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest) xml 642 lib/common/nvpair.c if (crm_element_value_ll(xml, name, &value_ll) < 0) { xml 667 lib/common/nvpair.c crm_element_value_timeval(const xmlNode *xml, const char *name_sec, xml 676 lib/common/nvpair.c if (xml == NULL) { xml 688 lib/common/nvpair.c if (crm_element_value_ll(xml, name_sec, &value_i) < 0) { xml 694 lib/common/nvpair.c if (crm_element_value_ll(xml, name_usec, &value_i) < 0) { xml 201 lib/common/output.c pcmk__xml_output_new(pcmk__output_t **out, xmlNodePtr *xml) { xml 207 lib/common/output.c if (*xml != NULL) { xml 208 lib/common/output.c xmlFreeNode(*xml); xml 209 lib/common/output.c *xml = NULL; xml 223 lib/common/output.c pcmk__xml_output_finish(pcmk__output_t *out, xmlNodePtr *xml) { xml 224 lib/common/output.c out->finish(out, 0, FALSE, (void **) xml); xml 85 lib/common/patchset.c add_xml_changes_to_patchset(xmlNode *xml, xmlNode *patchset) xml 90 lib/common/patchset.c xml_node_private_t *nodepriv = xml->_private; xml 95 lib/common/patchset.c GString *xpath = pcmk__element_xpath(xml->parent); xml 98 lib/common/patchset.c int position = pcmk__xml_position(xml, pcmk__xf_deleted); xml 105 lib/common/patchset.c add_node_copy(change, xml); xml 113 lib/common/patchset.c for (pIter = pcmk__xe_first_attr(xml); pIter != NULL; xml 123 lib/common/patchset.c GString *xpath = pcmk__element_xpath(xml); xml 145 lib/common/patchset.c value = crm_element_value(xml, (const char *) pIter->name); xml 154 lib/common/patchset.c result = create_xml_node(change, (const char *)xml->name); xml 156 lib/common/patchset.c for (pIter = pcmk__xe_first_attr(xml); pIter != NULL; xml 160 lib/common/patchset.c value = crm_element_value(xml, (const char *) pIter->name); xml 167 lib/common/patchset.c for (cIter = pcmk__xml_first_child(xml); cIter != NULL; xml 172 lib/common/patchset.c nodepriv = xml->_private; xml 174 lib/common/patchset.c GString *xpath = pcmk__element_xpath(xml); xml 177 lib/common/patchset.c xml->name, ID(xml), pcmk__xml_position(xml, pcmk__xf_skip)); xml 185 lib/common/patchset.c pcmk__xml_position(xml, pcmk__xf_deleted)); xml 192 lib/common/patchset.c is_config_change(xmlNode *xml) xml 197 lib/common/patchset.c xmlNode *config = first_named_child(xml, XML_CIB_TAG_CONFIGURATION); xml 206 lib/common/patchset.c if ((xml->doc != NULL) && (xml->doc->_private != NULL)) { xml 207 lib/common/patchset.c docpriv = xml->doc->_private; xml 843 lib/common/patchset.c xml_patch_version_check(const xmlNode *xml, const xmlNode *patchset, int format) xml 859 lib/common/patchset.c crm_element_value_int(xml, vfields[lpc], &(this[lpc])); xml 919 lib/common/patchset.c apply_v1_patchset(xmlNode *xml, const xmlNode *patchset) xml 927 lib/common/patchset.c xmlNode *old = copy_xml(xml); xml 934 lib/common/patchset.c process_v1_removals(xml, child_diff); xml 954 lib/common/patchset.c process_v1_additions(NULL, xml, child_diff); xml 966 lib/common/patchset.c purge_diff_markers(xml); // Purge prior to checking digest xml 1134 lib/common/patchset.c apply_v2_patchset(xmlNode *xml, const xmlNode *patchset) xml 1158 lib/common/patchset.c match = search_v2_xpath(xml, xpath, position); xml 1162 lib/common/patchset.c crm_debug("No %s match for %s in %p", op, xpath, xml->doc); xml 1166 lib/common/patchset.c crm_err("No %s match for %s in %p", op, xpath, xml->doc); xml 1317 lib/common/patchset.c xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version) xml 1332 lib/common/patchset.c rc = pcmk_rc2legacy(xml_patch_version_check(xml, patchset, format)); xml 1340 lib/common/patchset.c old = copy_xml(xml); xml 1346 lib/common/patchset.c rc = pcmk_rc2legacy(apply_v1_patchset(xml, patchset)); xml 1349 lib/common/patchset.c rc = pcmk_rc2legacy(apply_v2_patchset(xml, patchset)); xml 1361 lib/common/patchset.c char *version = crm_element_value_copy(xml, XML_ATTR_CRM_VERSION); xml 1369 lib/common/patchset.c new_digest = calculate_xml_versioned_digest(xml, FALSE, TRUE, version); xml 1377 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 615 lib/common/schemas.c doc = getDocPtr(xml); xml 638 lib/common/schemas.c validate_with_silent(xmlNode *xml, int method) xml 642 lib/common/schemas.c rc = validate_with(xml, method, TRUE); xml 683 lib/common/schemas.c xmlNode *xml = NULL; xml 696 lib/common/schemas.c xml = xmlDocGetRootElement(doc); xml 697 lib/common/schemas.c rc = validate_xml(xml, NULL, FALSE); xml 698 lib/common/schemas.c free_xml(xml); xml 907 lib/common/schemas.c apply_transformation(xmlNode *xml, const char *transform, gboolean to_logs) xml 920 lib/common/schemas.c CRM_CHECK(xml != NULL, return FALSE); xml 921 lib/common/schemas.c doc = getDocPtr(xml); xml 972 lib/common/schemas.c apply_upgrade(xmlNode *xml, const struct schema_s *schema, gboolean to_logs) xml 982 lib/common/schemas.c upgrade = apply_transformation(xml, schema->transform_enter, to_logs); xml 990 lib/common/schemas.c upgrade = xml; xml 996 lib/common/schemas.c if (upgrade != xml) { xml 1053 lib/common/schemas.c xmlNode *xml = NULL; xml 1065 lib/common/schemas.c xml = *xml_blob; xml 1066 lib/common/schemas.c value = crm_element_value_copy(xml, XML_ATTR_VALIDATION); xml 1093 lib/common/schemas.c if (validate_with(xml, lpc, to_logs) == FALSE) { xml 1141 lib/common/schemas.c || validate_with_silent(xml, next)) { xml 1152 lib/common/schemas.c upgrade = apply_upgrade(xml, &known_schemas[lpc], to_logs); xml 1163 lib/common/schemas.c free_xml(xml); xml 1164 lib/common/schemas.c xml = upgrade; xml 1188 lib/common/schemas.c crm_xml_add(xml, XML_ATTR_VALIDATION, known_schemas[*best].name); xml 1191 lib/common/schemas.c *xml_blob = xml; xml 1197 lib/common/schemas.c cli_config_update(xmlNode **xml, int *best_version, gboolean to_logs) xml 1200 lib/common/schemas.c const char *value = crm_element_value(*xml, XML_ATTR_VALIDATION); xml 1211 lib/common/schemas.c converted = copy_xml(*xml); xml 1264 lib/common/schemas.c free_xml(*xml); xml 1265 lib/common/schemas.c *xml = converted; xml 15 lib/common/tests/xml/pcmk__xe_foreach_child_test.c static int compare_name_handler(xmlNode *xml, void *userdata) { xml 17 lib/common/tests/xml/pcmk__xe_foreach_child_test.c assert_string_equal((char *) userdata, crm_element_name(xml)); xml 39 lib/common/tests/xml/pcmk__xe_foreach_child_test.c xmlNode *xml = string2xml(str1); xml 41 lib/common/tests/xml/pcmk__xe_foreach_child_test.c pcmk__assert_asserts(pcmk__xe_foreach_child(xml, NULL, NULL, NULL)); xml 43 lib/common/tests/xml/pcmk__xe_foreach_child_test.c free_xml(xml); xml 48 lib/common/tests/xml/pcmk__xe_foreach_child_test.c xmlNode *xml = string2xml(str1); xml 55 lib/common/tests/xml/pcmk__xe_foreach_child_test.c pcmk__xe_foreach_child(xml, "level1", compare_name_handler, (void *) "level1"); xml 56 lib/common/tests/xml/pcmk__xe_foreach_child_test.c free_xml(xml); xml 61 lib/common/tests/xml/pcmk__xe_foreach_child_test.c xmlNode *xml = string2xml(str1); xml 68 lib/common/tests/xml/pcmk__xe_foreach_child_test.c pcmk__xe_foreach_child(xml, NULL, compare_name_handler, (void *) "level1"); xml 69 lib/common/tests/xml/pcmk__xe_foreach_child_test.c free_xml(xml); xml 74 lib/common/tests/xml/pcmk__xe_foreach_child_test.c xmlNode *xml = string2xml(str1); xml 75 lib/common/tests/xml/pcmk__xe_foreach_child_test.c pcmk__xe_foreach_child(xml, "xxx", compare_name_handler, NULL); xml 76 lib/common/tests/xml/pcmk__xe_foreach_child_test.c free_xml(xml); xml 103 lib/common/tests/xml/pcmk__xe_foreach_child_test.c xmlNode *xml = string2xml(str2); xml 109 lib/common/tests/xml/pcmk__xe_foreach_child_test.c pcmk__xe_foreach_child(xml, "level1", compare_name_handler, (void *) "level1"); xml 110 lib/common/tests/xml/pcmk__xe_foreach_child_test.c free_xml(xml); xml 115 lib/common/tests/xml/pcmk__xe_foreach_child_test.c xmlNode *xml = string2xml(str2); xml 121 lib/common/tests/xml/pcmk__xe_foreach_child_test.c pcmk__xe_foreach_child(xml, NULL, compare_name_handler, (void *) "level1"); xml 122 lib/common/tests/xml/pcmk__xe_foreach_child_test.c free_xml(xml); xml 141 lib/common/tests/xml/pcmk__xe_foreach_child_test.c static int any_of_handler(xmlNode *xml, void *userdata) { xml 143 lib/common/tests/xml/pcmk__xe_foreach_child_test.c assert_true(pcmk__str_any_of(crm_element_name(xml), "node1", "node2", "node3", NULL)); xml 149 lib/common/tests/xml/pcmk__xe_foreach_child_test.c xmlNode *xml = string2xml(str3); xml 156 lib/common/tests/xml/pcmk__xe_foreach_child_test.c pcmk__xe_foreach_child(xml, NULL, any_of_handler, NULL); xml 157 lib/common/tests/xml/pcmk__xe_foreach_child_test.c free_xml(xml); xml 160 lib/common/tests/xml/pcmk__xe_foreach_child_test.c static int stops_on_first_handler(xmlNode *xml, void *userdata) { xml 163 lib/common/tests/xml/pcmk__xe_foreach_child_test.c if (pcmk__str_eq(crm_element_name(xml), "node1", pcmk__str_none)) { xml 170 lib/common/tests/xml/pcmk__xe_foreach_child_test.c static int stops_on_second_handler(xmlNode *xml, void *userdata) { xml 173 lib/common/tests/xml/pcmk__xe_foreach_child_test.c if (pcmk__str_eq(crm_element_name(xml), "node2", pcmk__str_none)) { xml 180 lib/common/tests/xml/pcmk__xe_foreach_child_test.c static int stops_on_third_handler(xmlNode *xml, void *userdata) { xml 183 lib/common/tests/xml/pcmk__xe_foreach_child_test.c if (pcmk__str_eq(crm_element_name(xml), "node3", pcmk__str_none)) { xml 192 lib/common/tests/xml/pcmk__xe_foreach_child_test.c xmlNode *xml = string2xml(str3); xml 196 lib/common/tests/xml/pcmk__xe_foreach_child_test.c assert_int_equal(pcmk__xe_foreach_child(xml, "node1", stops_on_first_handler, NULL), pcmk_rc_error); xml 199 lib/common/tests/xml/pcmk__xe_foreach_child_test.c assert_int_equal(pcmk__xe_foreach_child(xml, "node2", stops_on_second_handler, NULL), pcmk_rc_error); xml 202 lib/common/tests/xml/pcmk__xe_foreach_child_test.c assert_int_equal(pcmk__xe_foreach_child(xml, "node3", stops_on_third_handler, NULL), pcmk_rc_error); xml 204 lib/common/tests/xml/pcmk__xe_foreach_child_test.c free_xml(xml); xml 49 lib/common/xml.c pcmk__tracking_xml_changes(xmlNode *xml, bool lazy) xml 51 lib/common/xml.c if(xml == NULL || xml->doc == NULL || xml->doc->_private == NULL) { xml 53 lib/common/xml.c } else if (!pcmk_is_set(((xml_doc_private_t *)xml->doc->_private)->flags, xml 56 lib/common/xml.c } else if (lazy && !pcmk_is_set(((xml_doc_private_t *)xml->doc->_private)->flags, xml 94 lib/common/xml.c set_parent_flag(xmlNode *xml, long flag) xml 96 lib/common/xml.c for(; xml; xml = xml->parent) { xml 97 lib/common/xml.c xml_node_private_t *nodepriv = xml->_private; xml 108 lib/common/xml.c pcmk__set_xml_doc_flag(xmlNode *xml, enum xml_private_flags flag) xml 110 lib/common/xml.c if(xml && xml->doc && xml->doc->_private){ xml 112 lib/common/xml.c xml_doc_private_t *docpriv = xml->doc->_private; xml 120 lib/common/xml.c mark_xml_node_dirty(xmlNode *xml) xml 122 lib/common/xml.c pcmk__set_xml_doc_flag(xml, pcmk__xf_dirty); xml 123 lib/common/xml.c set_parent_flag(xml, pcmk__xf_dirty); xml 128 lib/common/xml.c reset_xml_node_flags(xmlNode *xml) xml 131 lib/common/xml.c xml_node_private_t *nodepriv = xml->_private; xml 137 lib/common/xml.c for (cIter = pcmk__xml_first_child(xml); cIter != NULL; xml 145 lib/common/xml.c pcmk__mark_xml_created(xmlNode *xml) xml 148 lib/common/xml.c xml_node_private_t *nodepriv = xml->_private; xml 150 lib/common/xml.c if (nodepriv && pcmk__tracking_xml_changes(xml, FALSE)) { xml 153 lib/common/xml.c mark_xml_node_dirty(xml); xml 155 lib/common/xml.c for (cIter = pcmk__xml_first_child(xml); cIter != NULL; xml 301 lib/common/xml.c xml_track_changes(xmlNode * xml, const char *user, xmlNode *acl_source, bool enforce_acls) xml 303 lib/common/xml.c xml_accept_changes(xml); xml 304 lib/common/xml.c crm_trace("Tracking changes%s to %p", enforce_acls?" with ACLs":"", xml); xml 305 lib/common/xml.c pcmk__set_xml_doc_flag(xml, pcmk__xf_tracking); xml 308 lib/common/xml.c acl_source = xml; xml 310 lib/common/xml.c pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_enabled); xml 311 lib/common/xml.c pcmk__unpack_acl(acl_source, xml, user); xml 312 lib/common/xml.c pcmk__apply_acl(xml); xml 316 lib/common/xml.c bool xml_tracking_changes(xmlNode * xml) xml 318 lib/common/xml.c return (xml != NULL) && (xml->doc != NULL) && (xml->doc->_private != NULL) xml 319 lib/common/xml.c && pcmk_is_set(((xml_doc_private_t *)(xml->doc->_private))->flags, xml 323 lib/common/xml.c bool xml_document_dirty(xmlNode *xml) xml 325 lib/common/xml.c return (xml != NULL) && (xml->doc != NULL) && (xml->doc->_private != NULL) xml 326 lib/common/xml.c && pcmk_is_set(((xml_doc_private_t *)(xml->doc->_private))->flags, xml 340 lib/common/xml.c pcmk__xml_position(const xmlNode *xml, enum xml_private_flags ignore_if_set) xml 344 lib/common/xml.c for (const xmlNode *cIter = xml; cIter->prev; cIter = cIter->prev) { xml 370 lib/common/xml.c accept_attr_deletions(xmlNode *xml) xml 373 lib/common/xml.c ((xml_node_private_t *) xml->_private)->flags = pcmk__xf_none; xml 376 lib/common/xml.c pcmk__xe_remove_matching_attrs(xml, marked_as_deleted, NULL); xml 379 lib/common/xml.c for (xmlNodePtr cIter = pcmk__xml_first_child(xml); cIter != NULL; xml 410 lib/common/xml.c xml_log_changes(uint8_t log_level, const char *function, xmlNode * xml) xml 419 lib/common/xml.c CRM_ASSERT(xml); xml 420 lib/common/xml.c CRM_ASSERT(xml->doc); xml 422 lib/common/xml.c docpriv = xml->doc->_private; xml 440 lib/common/xml.c log_data_element(log_level, __FILE__, function, __LINE__, "+ ", xml, 0, xml 445 lib/common/xml.c xml_accept_changes(xmlNode * xml) xml 450 lib/common/xml.c if(xml == NULL) { xml 454 lib/common/xml.c crm_trace("Accepting changes to %p", xml); xml 455 lib/common/xml.c docpriv = xml->doc->_private; xml 456 lib/common/xml.c top = xmlDocGetRootElement(xml->doc); xml 458 lib/common/xml.c reset_xml_private_data(xml->doc->_private); xml 808 lib/common/xml.c pcmk_free_xml_subtree(xmlNode *xml) xml 810 lib/common/xml.c xmlUnlinkNode(xml); // Detaches from parent and siblings xml 811 lib/common/xml.c xmlFreeNode(xml); // Frees xml 932 lib/common/xml.c xmlNode *xml = NULL; xml 951 lib/common/xml.c xml = xmlDocGetRootElement(output); xml 967 lib/common/xml.c crm_err("Couldn't%s parse %d chars: %s", xml ? " fully" : "", (int)strlen(input), xml 969 lib/common/xml.c if (xml != NULL) { xml 970 lib/common/xml.c crm_log_xml_err(xml, "Partial"); xml 987 lib/common/xml.c return xml; xml 1078 lib/common/xml.c pcmk__strip_xml_text(xmlNode *xml) xml 1080 lib/common/xml.c xmlNode *iter = xml->children; xml 1108 lib/common/xml.c xmlNode *xml = NULL; xml 1141 lib/common/xml.c if (output && (xml = xmlDocGetRootElement(output))) { xml 1142 lib/common/xml.c pcmk__strip_xml_text(xml); xml 1156 lib/common/xml.c crm_err("Couldn't%s parse %s", xml ? " fully" : "", filename); xml 1157 lib/common/xml.c if (xml != NULL) { xml 1158 lib/common/xml.c crm_log_xml_err(xml, "Partial"); xml 1164 lib/common/xml.c return xml; xml 1212 lib/common/xml.c crm_xml_set_id(xmlNode *xml, const char *format, ...) xml 1225 lib/common/xml.c crm_xml_add(xml, XML_ATTR_ID, id); xml 2163 lib/common/xml.c save_xml_to_file(xmlNode * xml, const char *desc, const char *filename) xml 2176 lib/common/xml.c write_xml_file(xml, filename, FALSE); xml 2188 lib/common/xml.c set_attrs_flag(xmlNode *xml, enum xml_private_flags flag) xml 2190 lib/common/xml.c for (xmlAttr *attr = pcmk__xe_first_attr(xml); attr; attr = attr->next) { xml 3112 lib/common/xml.c pcmk__xe_foreach_child(xmlNode *xml, const char *child_element_name, xml 3113 lib/common/xml.c int (*handler)(xmlNode *xml, void *userdata), xml 3116 lib/common/xml.c xmlNode *children = (xml? xml->children : NULL); 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 281 lib/common/xpath.c pcmk__element_xpath(const xmlNode *xml) xml 287 lib/common/xpath.c if (xml == NULL) { xml 291 lib/common/xpath.c parent = xml->parent; xml 301 lib/common/xpath.c g_string_append(xpath, TYPE(xml)); xml 303 lib/common/xpath.c pcmk__g_strcat(xpath, "/", TYPE(xml), NULL); xml 306 lib/common/xpath.c id = ID(xml); xml 361 lib/common/xpath.c xml_get_path(const xmlNode *xml) xml 364 lib/common/xpath.c GString *g_path = pcmk__element_xpath(xml); xml 434 lib/fencing/st_actions.c stonith__xe_set_result(xmlNode *xml, const pcmk__action_result_t *result) xml 442 lib/fencing/st_actions.c CRM_CHECK(xml != NULL, return); xml 452 lib/fencing/st_actions.c crm_xml_add_int(xml, XML_LRM_ATTR_OPSTATUS, (int) execution_status); xml 453 lib/fencing/st_actions.c crm_xml_add_int(xml, XML_LRM_ATTR_RC, exit_status); xml 454 lib/fencing/st_actions.c crm_xml_add(xml, XML_LRM_ATTR_EXIT_REASON, exit_reason); xml 455 lib/fencing/st_actions.c crm_xml_add(xml, F_STONITH_OUTPUT, action_stdout); xml 461 lib/fencing/st_actions.c crm_xml_add_int(xml, F_STONITH_RC, rc); xml 473 lib/fencing/st_actions.c stonith__find_xe_with_result(xmlNode *xml) xml 475 lib/fencing/st_actions.c xmlNode *match = get_xpath_object("//@" XML_LRM_ATTR_RC, xml, LOG_NEVER); xml 481 lib/fencing/st_actions.c match = get_xpath_object("//@" F_STONITH_RC, xml, LOG_ERR); xml 494 lib/fencing/st_actions.c stonith__xe_get_result(xmlNode *xml, pcmk__action_result_t *result) xml 501 lib/fencing/st_actions.c CRM_CHECK((xml != NULL) && (result != NULL), return); xml 503 lib/fencing/st_actions.c exit_reason = crm_element_value(xml, XML_LRM_ATTR_EXIT_REASON); xml 504 lib/fencing/st_actions.c action_stdout = crm_element_value_copy(xml, F_STONITH_OUTPUT); xml 507 lib/fencing/st_actions.c if ((crm_element_value_int(xml, XML_LRM_ATTR_RC, &exit_status) < 0) xml 508 lib/fencing/st_actions.c || (crm_element_value_int(xml, XML_LRM_ATTR_OPSTATUS, xml 516 lib/fencing/st_actions.c if (crm_element_value_int(xml, F_STONITH_RC, &rc) == 0) { xml 72 lib/fencing/st_client.c xmlNode *xml; xml 277 lib/fencing/st_client.c blob.xml = create_xml_node(NULL, "notify"); xml 285 lib/fencing/st_client.c crm_xml_add(blob.xml, F_TYPE, T_STONITH_NOTIFY); xml 286 lib/fencing/st_client.c crm_xml_add(blob.xml, F_SUBTYPE, T_STONITH_NOTIFY_DISCONNECT); xml 289 lib/fencing/st_client.c free_xml(blob.xml); xml 1052 lib/fencing/st_client.c blob.xml = string2xml(buffer); xml 1053 lib/fencing/st_client.c if (blob.xml == NULL) { xml 1059 lib/fencing/st_client.c type = crm_element_value(blob.xml, F_TYPE); xml 1063 lib/fencing/st_client.c invoke_registered_callbacks(st, blob.xml, 0); xml 1071 lib/fencing/st_client.c crm_element_value_int(blob.xml, F_STONITH_TIMEOUT, &timeout); xml 1072 lib/fencing/st_client.c crm_element_value_int(blob.xml, F_STONITH_CALLID, &call_id); xml 1077 lib/fencing/st_client.c crm_log_xml_warn(blob.xml, "BadReply"); xml 1080 lib/fencing/st_client.c free_xml(blob.xml); xml 1484 lib/fencing/st_client.c if (blob->xml == NULL) { xml 1489 lib/fencing/st_client.c event = crm_element_value(blob->xml, F_SUBTYPE); xml 1508 lib/fencing/st_client.c st_event = xml_to_event(blob->xml); xml 125 lib/fencing/st_rhcs.c xmlNode *xml = NULL; xml 165 lib/fencing/st_rhcs.c xml = string2xml(result->action_stdout); xml 168 lib/fencing/st_rhcs.c if (xml == NULL) { xml 173 lib/fencing/st_rhcs.c xpathObj = xpath_search(xml, "//actions"); xml 180 lib/fencing/st_rhcs.c xpathObj = xpath_search(xml, "//action[@name='stop']"); xml 195 lib/fencing/st_rhcs.c stonith_rhcs_parameter_not_required(xml, "action"); xml 196 lib/fencing/st_rhcs.c stonith_rhcs_parameter_not_required(xml, "plug"); xml 197 lib/fencing/st_rhcs.c stonith_rhcs_parameter_not_required(xml, "port"); xml 200 lib/fencing/st_rhcs.c *metadata = xml; xml 203 lib/fencing/st_rhcs.c free_xml(xml); xml 220 lib/fencing/st_rhcs.c xmlNode *xml = NULL; xml 222 lib/fencing/st_rhcs.c int rc = stonith__rhcs_get_metadata(agent, timeout_sec, &xml); xml 225 lib/fencing/st_rhcs.c free_xml(xml); xml 229 lib/fencing/st_rhcs.c buffer = dump_xml_formatted_with_text(xml); xml 230 lib/fencing/st_rhcs.c free_xml(xml); xml 380 lib/lrmd/lrmd_client.c xmlNode *xml = NULL; xml 407 lib/lrmd/lrmd_client.c xml = pcmk__remote_message_xml(native->remote); xml 411 lib/lrmd/lrmd_client.c xml = pcmk__remote_message_xml(native->remote); xml 417 lib/lrmd/lrmd_client.c while (xml) { xml 418 lib/lrmd/lrmd_client.c const char *msg_type = crm_element_value(xml, F_LRMD_REMOTE_MSG_TYPE); xml 420 lib/lrmd/lrmd_client.c lrmd_dispatch_internal(lrmd, xml); xml 426 lib/lrmd/lrmd_client.c crm_element_value_int(xml, F_LRMD_CALLID, &reply_id); xml 431 lib/lrmd/lrmd_client.c free_xml(xml); xml 432 lib/lrmd/lrmd_client.c xml = pcmk__remote_message_xml(native->remote); xml 725 lib/lrmd/lrmd_client.c xmlNode *xml = NULL; xml 736 lib/lrmd/lrmd_client.c rc = read_remote_reply(lrmd, timeout, global_remote_msg_id, &xml); xml 745 lib/lrmd/lrmd_client.c *reply = xml; xml 747 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 204 lib/pacemaker/libpacemaker_private.h void (*add_graph_meta)(pe_resource_t *rsc, xmlNode *xml); xml 599 lib/pacemaker/libpacemaker_private.h void pcmk__primitive_add_graph_meta(pe_resource_t *rsc, xmlNode *xml); xml 743 lib/pacemaker/libpacemaker_private.h void pcmk__noop_add_graph_meta(pe_resource_t *rsc, xmlNode *xml); xml 327 lib/pacemaker/pcmk_cluster_queries.c pcmk_controller_status(xmlNodePtr *xml, char *dest_node, unsigned int message_timeout_ms) xml 332 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__xml_output_new(&out, xml); xml 340 lib/pacemaker/pcmk_cluster_queries.c pcmk__xml_output_finish(out, xml); xml 384 lib/pacemaker/pcmk_cluster_queries.c pcmk_designated_controller(xmlNodePtr *xml, unsigned int message_timeout_ms) xml 389 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__xml_output_new(&out, xml); xml 397 lib/pacemaker/pcmk_cluster_queries.c pcmk__xml_output_finish(out, xml); xml 468 lib/pacemaker/pcmk_cluster_queries.c pcmk_pacemakerd_status(xmlNodePtr *xml, const char *ipc_name, xml 474 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__xml_output_new(&out, xml); xml 483 lib/pacemaker/pcmk_cluster_queries.c pcmk__xml_output_finish(out, xml); xml 568 lib/pacemaker/pcmk_cluster_queries.c pcmk_list_nodes(xmlNodePtr *xml, char *node_types) xml 573 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__xml_output_new(&out, xml); xml 581 lib/pacemaker/pcmk_cluster_queries.c pcmk__xml_output_finish(out, xml); xml 298 lib/pacemaker/pcmk_fence.c pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, unsigned int timeout, xml 303 lib/pacemaker/pcmk_fence.c rc = pcmk__xml_output_new(&out, xml); xml 313 lib/pacemaker/pcmk_fence.c pcmk__xml_output_finish(out, xml); xml 341 lib/pacemaker/pcmk_fence.c pcmk_fence_installed(xmlNodePtr *xml, stonith_t *st, unsigned int timeout) { xml 345 lib/pacemaker/pcmk_fence.c rc = pcmk__xml_output_new(&out, xml); xml 353 lib/pacemaker/pcmk_fence.c pcmk__xml_output_finish(out, xml); xml 377 lib/pacemaker/pcmk_fence.c pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid) { xml 381 lib/pacemaker/pcmk_fence.c rc = pcmk__xml_output_new(&out, xml); xml 389 lib/pacemaker/pcmk_fence.c pcmk__xml_output_finish(out, xml); xml 421 lib/pacemaker/pcmk_fence.c pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st, const char *device_id, xml 426 lib/pacemaker/pcmk_fence.c rc = pcmk__xml_output_new(&out, xml); xml 434 lib/pacemaker/pcmk_fence.c pcmk__xml_output_finish(out, xml); xml 457 lib/pacemaker/pcmk_fence.c pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, char *agent, xml 462 lib/pacemaker/pcmk_fence.c rc = pcmk__xml_output_new(&out, xml); xml 470 lib/pacemaker/pcmk_fence.c pcmk__xml_output_finish(out, xml); xml 503 lib/pacemaker/pcmk_fence.c pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, xml 508 lib/pacemaker/pcmk_fence.c rc = pcmk__xml_output_new(&out, xml); xml 516 lib/pacemaker/pcmk_fence.c pcmk__xml_output_finish(out, xml); xml 563 lib/pacemaker/pcmk_fence.c pcmk_fence_validate(xmlNodePtr *xml, stonith_t *st, const char *agent, xml 569 lib/pacemaker/pcmk_fence.c rc = pcmk__xml_output_new(&out, xml); xml 577 lib/pacemaker/pcmk_fence.c pcmk__xml_output_finish(out, xml); xml 229 lib/pacemaker/pcmk_graph_consumer.c const char *id = ID(action->xml); xml 246 lib/pacemaker/pcmk_graph_consumer.c if (pcmk__str_eq(crm_element_value(action->xml, XML_LRM_ATTR_TASK), xml 257 lib/pacemaker/pcmk_graph_consumer.c crm_element_name(action->xml), id); xml 281 lib/pacemaker/pcmk_graph_consumer.c crm_element_name(action->xml), action->id, synapse->id, xml 507 lib/pacemaker/pcmk_graph_consumer.c action->xml = copy_xml(xml_action); xml 510 lib/pacemaker/pcmk_graph_consumer.c action->params = xml2list(action->xml); xml 764 lib/pacemaker/pcmk_graph_consumer.c free_xml(action->xml); xml 831 lib/pacemaker/pcmk_graph_consumer.c action_resource = first_named_child(action->xml, XML_CIB_TAG_RESOURCE); xml 832 lib/pacemaker/pcmk_graph_consumer.c CRM_CHECK(action_resource != NULL, crm_log_xml_warn(action->xml, "invalid"); xml 836 lib/pacemaker/pcmk_graph_consumer.c crm_element_value(action->xml, XML_LRM_ATTR_TASK), xml 128 lib/pacemaker/pcmk_graph_logging.c pcmk__add_word(&pending, 1024, ID(input->xml)); xml 135 lib/pacemaker/pcmk_graph_logging.c pcmk__add_word(&pending, 1024, ID(input->xml)); xml 148 lib/pacemaker/pcmk_graph_logging.c const char *key = crm_element_value(input->xml, XML_LRM_ATTR_TASK_KEY); xml 149 lib/pacemaker/pcmk_graph_logging.c const char *host = crm_element_value(input->xml, XML_LRM_ATTR_TARGET); xml 164 lib/pacemaker/pcmk_graph_logging.c const char *key = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 165 lib/pacemaker/pcmk_graph_logging.c const char *host = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 46 lib/pacemaker/pcmk_graph_producer.c add_node_to_xml_by_id(const char *id, xmlNode *xml) xml 50 lib/pacemaker/pcmk_graph_producer.c node_xml = create_xml_node(xml, XML_CIB_TAG_NODE); xml 64 lib/pacemaker/pcmk_graph_producer.c add_node_to_xml(const pe_node_t *node, void *xml) xml 66 lib/pacemaker/pcmk_graph_producer.c add_node_to_xml_by_id(node->details->id, (xmlNode *) xml); xml 77 lib/pacemaker/pcmk_graph_producer.c add_maintenance_nodes(xmlNode *xml, const pe_working_set_t *data_set) xml 81 lib/pacemaker/pcmk_graph_producer.c xml?create_xml_node(xml, XML_GRAPH_TAG_MAINTENANCE):NULL; xml 138 lib/pacemaker/pcmk_graph_producer.c add_downed_nodes(xmlNode *xml, const pe_action_t *action, xml 141 lib/pacemaker/pcmk_graph_producer.c CRM_CHECK(xml && action && action->node && data_set, return); xml 146 lib/pacemaker/pcmk_graph_producer.c xmlNode *downed = create_xml_node(xml, XML_GRAPH_TAG_DOWNED); xml 155 lib/pacemaker/pcmk_graph_producer.c xmlNode *downed = create_xml_node(xml, XML_GRAPH_TAG_DOWNED); xml 179 lib/pacemaker/pcmk_graph_producer.c xmlNode *downed = create_xml_node(xml, XML_GRAPH_TAG_DOWNED); xml 221 lib/pacemaker/pcmk_graph_producer.c add_node_details(pe_action_t *action, xmlNode *xml) xml 225 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(xml, XML_LRM_ATTR_TARGET, action->node->details->uname); xml 226 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(xml, XML_LRM_ATTR_TARGET_UUID, action->node->details->id); xml 228 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(xml, XML_LRM_ATTR_ROUTER_NODE, router_node->details->uname); xml 259 lib/pacemaker/pcmk_graph_producer.c rsc_xml = create_xml_node(action_xml, crm_element_name(action->rsc->xml)); xml 276 lib/pacemaker/pcmk_graph_producer.c const char *xml_id = ID(action->rsc->xml); xml 562 lib/pacemaker/pcmk_injections.c rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 563 lib/pacemaker/pcmk_injections.c rtype = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 564 lib/pacemaker/pcmk_injections.c rprovider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 245 lib/pacemaker/pcmk_output.c xmlNode *xml = NULL; xml 268 lib/pacemaker/pcmk_output.c xml = pcmk__output_create_xml_node(out, "rsc_action", xml 276 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 284 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "node", destination->details->uname); xml 288 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 295 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "node", origin->details->uname); xml 299 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 306 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "source", origin->details->uname); xml 310 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 318 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 325 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 333 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 342 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 348 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "reason", source->reason); xml 351 lib/pacemaker/pcmk_output.c pcmk__xe_set_bool_attr(xml, "blocked", true); xml 954 lib/pacemaker/pcmk_output.c xmlNode *xml = NULL; xml 956 lib/pacemaker/pcmk_output.c xml = pcmk__output_create_xml_node(out, "digests", xml 964 lib/pacemaker/pcmk_output.c add_digest_xml(xml, "all", digests->digest_all_calc, xml 966 lib/pacemaker/pcmk_output.c add_digest_xml(xml, "nonprivate", digests->digest_secure_calc, xml 968 lib/pacemaker/pcmk_output.c add_digest_xml(xml, "nonreloadable", digests->digest_restart_calc, xml 157 lib/pacemaker/pcmk_resource.c pcmk_resource_digests(xmlNodePtr *xml, pe_resource_t *rsc, xml 164 lib/pacemaker/pcmk_resource.c rc = pcmk__xml_output_new(&out, xml); xml 170 lib/pacemaker/pcmk_resource.c pcmk__xml_output_finish(out, xml); xml 62 lib/pacemaker/pcmk_result_code.c pcmk_show_result_code(xmlNodePtr *xml, int code, enum pcmk_result_type type, xml 68 lib/pacemaker/pcmk_result_code.c rc = pcmk__xml_output_new(&out, xml); xml 76 lib/pacemaker/pcmk_result_code.c pcmk__xml_output_finish(out, xml); xml 151 lib/pacemaker/pcmk_result_code.c pcmk_list_result_codes(xmlNodePtr *xml, enum pcmk_result_type type, xml 157 lib/pacemaker/pcmk_result_code.c rc = pcmk__xml_output_new(&out, xml); xml 165 lib/pacemaker/pcmk_result_code.c pcmk__xml_output_finish(out, xml); xml 280 lib/pacemaker/pcmk_rule.c pcmk_check_rules(xmlNodePtr *xml, xmlNodePtr input, const crm_time_t *date, xml 286 lib/pacemaker/pcmk_rule.c rc = pcmk__xml_output_new(&out, xml); xml 294 lib/pacemaker/pcmk_rule.c pcmk__xml_output_finish(out, xml); xml 332 lib/pacemaker/pcmk_sched_allocate.c crm_element_name(rsc->xml), rsc->id); xml 660 lib/pacemaker/pcmk_sched_allocate.c out->message(out, crm_map_element_name(rsc->xml), 0, rsc, all, all); xml 955 lib/pacemaker/pcmk_sched_bundle.c replica->remote->xml, LOG_ERR); xml 1098 lib/pacemaker/pcmk_sched_clone.c clone_append_meta(pe_resource_t * rsc, xmlNode * xml) xml 1106 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pe__rsc_bool_str(rsc, pe_rsc_unique)); xml 1110 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pe__rsc_bool_str(rsc, pe_rsc_notify)); xml 1114 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_max); xml 1118 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_node_max); xml 1126 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, promoted_max); xml 1130 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, promoted_node_max); xml 1137 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, promoted_max); xml 1141 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, promoted_node_max); xml 229 lib/pacemaker/pcmk_sched_ordering.c get_ordering_resource(xmlNode *xml, const char *resource_attr, xml 234 lib/pacemaker/pcmk_sched_ordering.c const char *rsc_id = crm_element_value(xml, resource_attr); xml 235 lib/pacemaker/pcmk_sched_ordering.c const char *instance_id = crm_element_value(xml, instance_attr); xml 239 lib/pacemaker/pcmk_sched_ordering.c ID(xml), resource_attr); xml 246 lib/pacemaker/pcmk_sched_ordering.c "does not exist", ID(xml), rsc_id); xml 259 lib/pacemaker/pcmk_sched_ordering.c ID(xml), rsc_id, instance_id); xml 266 lib/pacemaker/pcmk_sched_ordering.c "'%s'", ID(xml), rsc_id, instance_id); xml 283 lib/pacemaker/pcmk_sched_ordering.c get_minimum_first_instances(pe_resource_t *rsc, xmlNode *xml) xml 304 lib/pacemaker/pcmk_sched_ordering.c if (pcmk__xe_get_bool_attr(xml, "require-all", &require_all) != ENODATA) { xml 715 lib/pacemaker/pcmk_sched_primitive.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1352 lib/pacemaker/pcmk_sched_primitive.c pcmk__primitive_add_graph_meta(pe_resource_t *rsc, xmlNode *xml) xml 1358 lib/pacemaker/pcmk_sched_primitive.c CRM_ASSERT((rsc != NULL) && (xml != NULL)); xml 1367 lib/pacemaker/pcmk_sched_primitive.c crm_xml_add(xml, name, value); xml 1375 lib/pacemaker/pcmk_sched_primitive.c crm_xml_add(xml, name, value); xml 1385 lib/pacemaker/pcmk_sched_primitive.c crm_xml_add(xml, CRM_META "_" XML_RSC_ATTR_CONTAINER, xml 1396 lib/pacemaker/pcmk_sched_primitive.c crm_xml_add(xml, "pcmk_external_ip", value); xml 1463 lib/pacemaker/pcmk_sched_primitive.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 169 lib/pacemaker/pcmk_sched_probes.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 40 lib/pacemaker/pcmk_sched_recurring.c xe_interval(const xmlNode *xml) xml 42 lib/pacemaker/pcmk_sched_recurring.c return crm_parse_interval_spec(crm_element_value(xml, xml 123 lib/pacemaker/pcmk_sched_recurring.c is_recurring_history(const pe_resource_t *rsc, const xmlNode *xml, xml 128 lib/pacemaker/pcmk_sched_recurring.c op->interval_ms = xe_interval(xml); xml 133 lib/pacemaker/pcmk_sched_recurring.c op->id = ID(xml); xml 139 lib/pacemaker/pcmk_sched_recurring.c op->name = crm_element_value(xml, "name"); xml 152 lib/pacemaker/pcmk_sched_recurring.c role = crm_element_value(xml, "role"); xml 110 lib/pacemaker/pcmk_sched_resource.c const char *value = crm_element_value(rsc->xml, attr_list[i]); xml 275 lib/pacemaker/pcmk_sched_resource.c pcmk__noop_add_graph_meta(pe_resource_t *rsc, xmlNode *xml) xml 467 lib/pacemaker/pcmk_simulate.c const char *node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 468 lib/pacemaker/pcmk_simulate.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 498 lib/pacemaker/pcmk_simulate.c const char *operation = crm_element_value(action->xml, "operation"); xml 504 lib/pacemaker/pcmk_simulate.c xmlNode *action_rsc = first_named_child(action->xml, XML_CIB_TAG_RESOURCE); xml 506 lib/pacemaker/pcmk_simulate.c char *node = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET); xml 508 lib/pacemaker/pcmk_simulate.c const char *router_node = crm_element_value(action->xml, xml 518 lib/pacemaker/pcmk_simulate.c crm_log_xml_err(action->xml, "Bad"); xml 530 lib/pacemaker/pcmk_simulate.c crm_log_xml_err(action->xml, "No ID"); xml 561 lib/pacemaker/pcmk_simulate.c uuid = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 658 lib/pacemaker/pcmk_simulate.c const char *node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 659 lib/pacemaker/pcmk_simulate.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 660 lib/pacemaker/pcmk_simulate.c xmlNode *rsc = first_named_child(action->xml, XML_CIB_TAG_RESOURCE); xml 681 lib/pacemaker/pcmk_simulate.c char *target = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET); xml 966 lib/pacemaker/pcmk_simulate.c pcmk_simulate(xmlNodePtr *xml, pe_working_set_t *data_set, xml 974 lib/pacemaker/pcmk_simulate.c rc = pcmk__xml_output_new(&out, xml); xml 984 lib/pacemaker/pcmk_simulate.c pcmk__xml_output_finish(out, xml); xml 170 lib/pacemaker/pcmk_status.c pcmk_status(xmlNodePtr *xml) xml 184 lib/pacemaker/pcmk_status.c rc = pcmk__xml_output_new(&out, xml); xml 196 lib/pacemaker/pcmk_status.c pcmk__xml_output_finish(out, xml); xml 704 lib/pengine/bundle.c && xml_contains_remote_node(rsc->xml); xml 709 lib/pengine/bundle.c xmlNode *xml, const char *field) xml 740 lib/pengine/bundle.c if(xml != NULL && field != NULL) { xml 741 lib/pengine/bundle.c crm_xml_add(xml, field, node->details->uname); xml 769 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, PE__CONTAINER_AGENT_DOCKER_S); xml 773 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, PE__CONTAINER_AGENT_RKT_S); xml 777 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, PE__CONTAINER_AGENT_PODMAN_S); xml 818 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, "network"); xml 855 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, "storage"); xml 880 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, "primitive"); xml 1288 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), show_opts, xml 1293 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), show_opts, xml 1298 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), show_opts, xml 1303 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), show_opts, xml 1405 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), xml 1410 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), xml 1415 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), xml 1420 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), xml 1535 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), xml 1540 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), xml 1545 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), xml 1550 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), xml 1692 lib/pengine/bundle.c free_xml(replica->ip->xml); xml 1693 lib/pengine/bundle.c replica->ip->xml = NULL; xml 1698 lib/pengine/bundle.c free_xml(replica->container->xml); xml 1699 lib/pengine/bundle.c replica->container->xml = NULL; xml 1704 lib/pengine/bundle.c free_xml(replica->remote->xml); xml 1705 lib/pengine/bundle.c replica->remote->xml = NULL; xml 1740 lib/pengine/bundle.c free_xml(bundle_data->child->xml); xml 1741 lib/pengine/bundle.c bundle_data->child->xml = NULL; xml 240 lib/pengine/clone.c xmlNode *xml_obj = rsc->xml; xml 803 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, xml 932 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, xml 1111 lib/pengine/clone.c free_xml(child_rsc->xml); xml 1112 lib/pengine/clone.c child_rsc->xml = NULL; xml 115 lib/pengine/complex.c pe__unpack_dataset_nvpairs(p->xml, XML_TAG_META_SETS, xml 146 lib/pengine/complex.c .standard = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS), xml 147 lib/pengine/complex.c .provider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER), xml 148 lib/pengine/complex.c .agent = crm_element_value(rsc->xml, XML_EXPR_ATTR_TYPE) xml 164 lib/pengine/complex.c for (xmlAttrPtr a = pcmk__xe_first_attr(rsc->xml); a != NULL; a = a->next) { xml 166 lib/pengine/complex.c const char *prop_value = crm_element_value(rsc->xml, prop_name); xml 171 lib/pengine/complex.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_META_SETS, &rule_data, xml 208 lib/pengine/complex.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_ATTR_SETS, &rule_data, xml 398 lib/pengine/complex.c if (pcmk__str_eq(crm_element_name(rsc->xml), PCMK_XE_PROMOTABLE_LEGACY, xml 515 lib/pengine/complex.c && xml_contains_remote_node(rsc->xml)) { xml 610 lib/pengine/complex.c (*rsc)->xml = expanded_xml; xml 614 lib/pengine/complex.c (*rsc)->xml = xml_obj; xml 622 lib/pengine/complex.c ops = find_xml_node((*rsc)->xml, "operations", FALSE); xml 625 lib/pengine/complex.c (*rsc)->variant = get_resource_type(crm_element_name((*rsc)->xml)); xml 628 lib/pengine/complex.c id, crm_element_name((*rsc)->xml)); xml 638 lib/pengine/complex.c value = crm_element_value((*rsc)->xml, XML_RSC_ATTR_INCARNATION); xml 683 lib/pengine/complex.c if (xml_contains_remote_node((*rsc)->xml)) { xml 799 lib/pengine/complex.c if (pcmk__str_eq(crm_element_value((*rsc)->xml, XML_AGENT_ATTR_CLASS), xml 859 lib/pengine/complex.c pe__unpack_dataset_nvpairs((*rsc)->xml, XML_TAG_UTILIZATION, &rule_data, xml 950 lib/pengine/complex.c free_xml(rsc->xml); xml 951 lib/pengine/complex.c rsc->xml = NULL; xml 957 lib/pengine/complex.c free_xml(rsc->xml); xml 958 lib/pengine/complex.c rsc->xml = NULL; xml 98 lib/pengine/failcounts.c xmlXPathObject *xpathObj = xpath_search(rsc->xml, xpath); xml 173 lib/pengine/group.c xmlNode *xml_obj = rsc->xml; xml 189 lib/pengine/group.c clone_id = crm_element_value(rsc->xml, XML_RSC_ATTR_INCARNATION); xml 368 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc, xml 422 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, xml 201 lib/pengine/native.c const char *standard = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 273 lib/pengine/native.c const char *rid = ID(rsc->xml); xml 451 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 452 lib/pengine/native.c const char *prov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 462 lib/pengine/native.c crm_element_value(rsc->xml, XML_ATTR_TYPE)); xml 545 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 547 lib/pengine/native.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 560 lib/pengine/native.c provider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 655 lib/pengine/native.c const char *desc = crm_element_value(rsc->xml, XML_ATTR_DESC); xml 683 lib/pengine/native.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 922 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 923 lib/pengine/native.c const char *prov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 945 lib/pengine/native.c crm_element_value(rsc->xml, XML_ATTR_TYPE)); xml 1124 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1125 lib/pengine/native.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 1139 lib/pengine/native.c const char *prov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 643 lib/pengine/pe_actions.c .standard = crm_element_value(action->rsc->xml, XML_AGENT_ATTR_CLASS), xml 644 lib/pengine/pe_actions.c .provider = crm_element_value(action->rsc->xml, XML_AGENT_ATTR_PROVIDER), xml 645 lib/pengine/pe_actions.c .agent = crm_element_value(action->rsc->xml, XML_EXPR_ATTR_TYPE) xml 184 lib/pengine/pe_digest.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 349 lib/pengine/pe_output.c return dump_xml_formatted(rsc->orig_xml ? rsc->orig_xml : rsc->xml); xml 351 lib/pengine/pe_output.c return dump_xml_formatted(rsc->xml); xml 1561 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), show_opts, xml 1703 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), show_opts, xml 1792 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), show_opts, xml 1957 lib/pengine/pe_output.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1958 lib/pengine/pe_output.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 1962 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 2718 lib/pengine/pe_output.c x = out->message(out, crm_map_element_name(rsc->xml), show_opts, rsc, 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 272 lib/pengine/rules.c update_field(crm_time_t *t, xmlNode *xml, const char *attr, xml 277 lib/pengine/rules.c if ((pcmk__scan_ll(crm_element_value(xml, attr), &value, 0LL) == pcmk_rc_ok) xml 21 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c xmlNodePtr xml = string2xml(x); xml 23 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c assert_int_equal(pe_cron_range_satisfied(tm, xml), expected); xml 26 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c free_xml(xml); xml 62 lib/pengine/unpack.c static void unpack_node_lrm(pe_node_t *node, xmlNode *xml, xml 2525 lib/pengine/unpack.c unpack_node_lrm(pe_node_t *node, xmlNode *xml, pe_working_set_t *data_set) xml 2530 lib/pengine/unpack.c xml = find_xml_node(xml, XML_CIB_TAG_LRM, FALSE); xml 2531 lib/pengine/unpack.c if (xml == NULL) { xml 2534 lib/pengine/unpack.c xml = find_xml_node(xml, XML_LRM_TAG_RESOURCES, FALSE); xml 2535 lib/pengine/unpack.c if (xml == NULL) { xml 2540 lib/pengine/unpack.c for (xmlNode *rsc_entry = first_named_child(xml, XML_LRM_TAG_RESOURCE); xml 2555 lib/pengine/unpack.c handle_orphaned_container_fillers(xml, data_set); xml 2585 lib/pengine/unpack.c xmlNode *xml = NULL; xml 2612 lib/pengine/unpack.c xml = get_xpath_object((const char *) xpath->str, data_set->input, xml 2616 lib/pengine/unpack.c if (xml && target_rc >= 0) { xml 2620 lib/pengine/unpack.c crm_element_value_int(xml, XML_LRM_ATTR_RC, &rc); xml 2621 lib/pengine/unpack.c crm_element_value_int(xml, XML_LRM_ATTR_OPSTATUS, &status); xml 2626 lib/pengine/unpack.c return xml; xml 2634 lib/pengine/unpack.c xmlNode *xml = NULL; xml 2646 lib/pengine/unpack.c xml = get_xpath_object((const char *) xpath->str, data_set->input, xml 2650 lib/pengine/unpack.c return xml; xml 571 lib/pengine/utils.c return ID(rsc->xml); xml 377 tools/cibadmin.c print_xml_output(xmlNode * xml) xml 381 tools/cibadmin.c if (!xml) { xml 383 tools/cibadmin.c } else if (xml->type != XML_ELEMENT_NODE) { xml 388 tools/cibadmin.c const char *id = crm_element_value(xml, XML_ATTR_ID); xml 390 tools/cibadmin.c if (pcmk__str_eq((const char *)xml->name, "xpath-query", pcmk__str_casei)) { xml 393 tools/cibadmin.c for (child = xml->children; child; child = child->next) { xml 402 tools/cibadmin.c buffer = dump_xml_formatted(xml); xml 1698 tools/crm_mon.c handle_rsc_op(xmlNode *xml, void *userdata) xml 1713 tools/crm_mon.c xmlNode *n = xml; xml 1714 tools/crm_mon.c xmlNode * rsc_op = xml; xml 1716 tools/crm_mon.c if(strcmp((const char*)xml->name, XML_LRM_TAG_RSC_OP) != 0) { xml 1717 tools/crm_mon.c pcmk__xe_foreach_child(xml, NULL, handle_rsc_op, (void *) node_id); xml 1806 tools/crm_mon.c handle_op_for_node(xmlNode *xml, void *userdata) xml 1808 tools/crm_mon.c const char *node = crm_element_value(xml, XML_ATTR_UNAME); xml 1811 tools/crm_mon.c node = ID(xml); xml 1814 tools/crm_mon.c handle_rsc_op(xml, (void *) node); xml 2035 tools/crm_resource.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_UTILIZATION, NULL, params, xml 115 tools/crm_resource.h int update_working_set_xml(pe_working_set_t *data_set, xmlNode **xml); xml 66 tools/crm_resource_print.c const char *rtype = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 67 tools/crm_resource_print.c const char *rprov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 68 tools/crm_resource_print.c const char *rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 82 tools/crm_resource_print.c crm_element_name(rsc->xml), rsc->id, xml 126 tools/crm_resource_print.c out->message(out, crm_map_element_name(rsc->xml), show_opts, rsc, all, all); xml 296 tools/crm_resource_print.c const char *value = crm_element_value(rsc->xml, attr); xml 313 tools/crm_resource_print.c const char *value = crm_element_value(rsc->xml, attr); xml 328 tools/crm_resource_runtime.c const char *tag = crm_element_name(rsc->xml); xml 498 tools/crm_resource_runtime.c rsc_class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 499 tools/crm_resource_runtime.c rsc_provider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER), xml 500 tools/crm_resource_runtime.c rsc_type = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 1129 tools/crm_resource_runtime.c update_working_set_xml(pe_working_set_t *data_set, xmlNode **xml) xml 1131 tools/crm_resource_runtime.c if (cli_config_update(xml, NULL, FALSE) == FALSE) { xml 1134 tools/crm_resource_runtime.c data_set->input = *xml; xml 1974 tools/crm_resource_runtime.c rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1975 tools/crm_resource_runtime.c rprov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 1976 tools/crm_resource_runtime.c rtype = crm_element_value(rsc->xml, XML_ATTR_TYPE);