xml 55 daemons/attrd/attrd_commands.c void attrd_peer_update(crm_node_t *peer, xmlNode *xml, const char *host, bool filter); xml 56 daemons/attrd/attrd_commands.c void attrd_peer_sync(crm_node_t *peer, xmlNode *xml); xml 59 daemons/attrd/attrd_commands.c static void broadcast_unseen_local_values(crm_node_t *peer, xmlNode *xml); xml 144 daemons/attrd/attrd_commands.c xmlNode *xml = create_xml_node(parent, __func__); xml 146 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NAME, a->id); xml 147 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_SET, a->set); xml 148 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_UUID, a->uuid); xml 149 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_USER, a->user); xml 150 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NODE_NAME, v->nodename); xml 152 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_NODE_ID, v->nodeid); xml 155 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_IS_REMOTE, 1); xml 157 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_VALUE, v->current); xml 158 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_DAMPENING, a->timeout_ms / 1000); xml 159 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_IS_PRIVATE, a->is_private); xml 160 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_FORCE, force_write); xml 162 daemons/attrd/attrd_commands.c return xml; xml 184 daemons/attrd/attrd_commands.c create_attribute(xmlNode *xml) xml 187 daemons/attrd/attrd_commands.c const char *value = crm_element_value(xml, PCMK__XA_ATTR_DAMPENING); xml 190 daemons/attrd/attrd_commands.c a->id = crm_element_value_copy(xml, PCMK__XA_ATTR_NAME); xml 191 daemons/attrd/attrd_commands.c a->set = crm_element_value_copy(xml, PCMK__XA_ATTR_SET); xml 192 daemons/attrd/attrd_commands.c a->uuid = crm_element_value_copy(xml, PCMK__XA_ATTR_UUID); xml 195 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_IS_PRIVATE, &a->is_private); xml 197 daemons/attrd/attrd_commands.c a->user = crm_element_value_copy(xml, PCMK__XA_ATTR_USER); xml 228 daemons/attrd/attrd_commands.c attrd_client_peer_remove(pcmk__client_t *client, xmlNode *xml) xml 231 daemons/attrd/attrd_commands.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); xml 237 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_NODE_ID, &nodeid); xml 250 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NODE_NAME, host); xml 257 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); /* ends up at attrd_peer_message() */ xml 274 daemons/attrd/attrd_commands.c attrd_client_update(xmlNode *xml) xml 277 daemons/attrd/attrd_commands.c char *host = crm_element_value_copy(xml, PCMK__XA_ATTR_NODE_NAME); xml 278 daemons/attrd/attrd_commands.c const char *attr = crm_element_value(xml, PCMK__XA_ATTR_NAME); xml 279 daemons/attrd/attrd_commands.c const char *value = crm_element_value(xml, PCMK__XA_ATTR_VALUE); xml 280 daemons/attrd/attrd_commands.c const char *regex = crm_element_value(xml, PCMK__XA_ATTR_PATTERN); xml 298 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NAME, attr); xml 299 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); xml 318 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NODE_NAME, host); xml 319 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_NODE_ID, attrd_cluster->nodeid); xml 336 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_VALUE, int_value); xml 339 daemons/attrd/attrd_commands.c value = crm_element_value(xml, PCMK__XA_ATTR_VALUE); xml 348 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); /* ends up at attrd_peer_message() */ xml 358 daemons/attrd/attrd_commands.c attrd_client_clear_failure(xmlNode *xml) xml 368 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); xml 373 daemons/attrd/attrd_commands.c const char *rsc = crm_element_value(xml, PCMK__XA_ATTR_RESOURCE); xml 374 daemons/attrd/attrd_commands.c const char *op = crm_element_value(xml, PCMK__XA_ATTR_OPERATION); xml 375 daemons/attrd/attrd_commands.c const char *interval_spec = crm_element_value(xml, PCMK__XA_ATTR_INTERVAL); xml 378 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_TASK, PCMK__ATTRD_CMD_UPDATE); xml 395 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_PATTERN, pattern); xml 399 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_PATTERN, ATTRD_RE_CLEAR_ALL); xml 403 daemons/attrd/attrd_commands.c if (crm_element_value(xml, PCMK__XA_ATTR_NAME)) { xml 404 daemons/attrd/attrd_commands.c crm_xml_replace(xml, PCMK__XA_ATTR_NAME, NULL); xml 406 daemons/attrd/attrd_commands.c if (crm_element_value(xml, PCMK__XA_ATTR_VALUE)) { xml 407 daemons/attrd/attrd_commands.c crm_xml_replace(xml, PCMK__XA_ATTR_VALUE, NULL); xml 410 daemons/attrd/attrd_commands.c attrd_client_update(xml); xml 553 daemons/attrd/attrd_commands.c attrd_peer_clear_failure(crm_node_t *peer, xmlNode *xml) xml 555 daemons/attrd/attrd_commands.c const char *rsc = crm_element_value(xml, PCMK__XA_ATTR_RESOURCE); xml 556 daemons/attrd/attrd_commands.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); xml 557 daemons/attrd/attrd_commands.c const char *op = crm_element_value(xml, PCMK__XA_ATTR_OPERATION); xml 558 daemons/attrd/attrd_commands.c const char *interval_spec = crm_element_value(xml, PCMK__XA_ATTR_INTERVAL); xml 570 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_TASK, PCMK__ATTRD_CMD_UPDATE); xml 573 daemons/attrd/attrd_commands.c if (crm_element_value(xml, PCMK__XA_ATTR_VALUE)) { xml 574 daemons/attrd/attrd_commands.c crm_xml_replace(xml, PCMK__XA_ATTR_VALUE, NULL); xml 582 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NAME, attr); xml 583 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, FALSE); xml 598 daemons/attrd/attrd_commands.c process_peer_sync_response(crm_node_t *peer, bool peer_won, xmlNode *xml) xml 611 daemons/attrd/attrd_commands.c for (xmlNode *child = pcmk__xml_first_child(xml); child != NULL; xml 622 daemons/attrd/attrd_commands.c broadcast_unseen_local_values(peer, xml); xml 646 daemons/attrd/attrd_commands.c attrd_peer_message(crm_node_t *peer, xmlNode *xml) xml 648 daemons/attrd/attrd_commands.c const char *op = crm_element_value(xml, PCMK__XA_TASK); xml 649 daemons/attrd/attrd_commands.c const char *election_op = crm_element_value(xml, F_CRM_TASK); xml 650 daemons/attrd/attrd_commands.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); xml 654 daemons/attrd/attrd_commands.c attrd_handle_election_op(peer, xml); xml 666 daemons/attrd/attrd_commands.c peer_won = attrd_check_for_new_writer(peer, xml); xml 670 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, FALSE); xml 673 daemons/attrd/attrd_commands.c attrd_peer_sync(peer, xml); xml 682 daemons/attrd/attrd_commands.c attrd_peer_clear_failure(peer, xml); xml 686 daemons/attrd/attrd_commands.c process_peer_sync_response(peer, peer_won, xml); xml 696 daemons/attrd/attrd_commands.c attrd_peer_sync(crm_node_t *peer, xmlNode *xml) xml 762 daemons/attrd/attrd_commands.c attrd_lookup_or_create_value(GHashTable *values, const char *host, xmlNode *xml) xml 767 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_IS_REMOTE, &is_remote); xml 784 daemons/attrd/attrd_commands.c broadcast_unseen_local_values(crm_node_t *peer, xmlNode *xml) xml 841 daemons/attrd/attrd_commands.c attrd_peer_update(crm_node_t *peer, xmlNode *xml, const char *host, bool filter) xml 848 daemons/attrd/attrd_commands.c const char *op = crm_element_value(xml, PCMK__XA_TASK); xml 849 daemons/attrd/attrd_commands.c const char *attr = crm_element_value(xml, PCMK__XA_ATTR_NAME); xml 850 daemons/attrd/attrd_commands.c const char *value = crm_element_value(xml, PCMK__XA_ATTR_VALUE); xml 851 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_FORCE, &is_force_write); xml 866 daemons/attrd/attrd_commands.c a = create_attribute(xml); xml 875 daemons/attrd/attrd_commands.c const char *dvalue = crm_element_value(xml, PCMK__XA_ATTR_DAMPENING); xml 920 daemons/attrd/attrd_commands.c xml_remove_prop(xml, PCMK__XA_ATTR_NODE_ID); xml 923 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, filter); xml 930 daemons/attrd/attrd_commands.c v = attrd_lookup_or_create_value(a->values, host, xml); xml 980 daemons/attrd/attrd_commands.c && (crm_element_value_int(xml, PCMK__XA_ATTR_NODE_ID, xml 52 daemons/attrd/attrd_elections.c attrd_handle_election_op(const crm_node_t *peer, xmlNode *xml) xml 57 daemons/attrd/attrd_elections.c crm_xml_add(xml, F_CRM_HOST_FROM, peer->uname); xml 60 daemons/attrd/attrd_elections.c rc = election_count_vote(writer, xml, !attrd_shutting_down()); xml 101 daemons/attrd/attrd_elections.c attrd_check_for_new_writer(const crm_node_t *peer, const xmlNode *xml) xml 105 daemons/attrd/attrd_elections.c crm_element_value_int(xml, PCMK__XA_ATTR_WRITER, &peer_state); xml 163 daemons/attrd/attrd_elections.c attrd_xml_add_writer(xmlNode *xml) xml 165 daemons/attrd/attrd_elections.c crm_xml_add_int(xml, PCMK__XA_ATTR_WRITER, election_state(writer)); xml 46 daemons/attrd/pacemaker-attrd.c xmlNode *xml = NULL; xml 55 daemons/attrd/pacemaker-attrd.c xml = string2xml(data); xml 58 daemons/attrd/pacemaker-attrd.c if (xml == NULL) { xml 63 daemons/attrd/pacemaker-attrd.c attrd_peer_message(peer, xml); xml 66 daemons/attrd/pacemaker-attrd.c free_xml(xml); xml 226 daemons/attrd/pacemaker-attrd.c xmlNode *xml = NULL; xml 235 daemons/attrd/pacemaker-attrd.c xml = pcmk__client_data2xml(client, data, &id, &flags); xml 236 daemons/attrd/pacemaker-attrd.c if (xml == NULL) { xml 242 daemons/attrd/pacemaker-attrd.c pcmk__update_acl_user(xml, PCMK__XA_ATTR_USER, client->user); xml 244 daemons/attrd/pacemaker-attrd.c op = crm_element_value(xml, PCMK__XA_TASK); xml 247 daemons/attrd/pacemaker-attrd.c const char *value = crm_element_value(xml, F_ORIG); xml 253 daemons/attrd/pacemaker-attrd.c attrd_client_peer_remove(client, xml); xml 257 daemons/attrd/pacemaker-attrd.c attrd_client_clear_failure(xml); xml 261 daemons/attrd/pacemaker-attrd.c attrd_client_update(xml); xml 265 daemons/attrd/pacemaker-attrd.c attrd_client_update(xml); xml 269 daemons/attrd/pacemaker-attrd.c attrd_client_update(xml); xml 277 daemons/attrd/pacemaker-attrd.c attrd_client_query(client, id, flags, xml); xml 284 daemons/attrd/pacemaker-attrd.c free_xml(xml); xml 79 daemons/attrd/pacemaker-attrd.h void attrd_handle_election_op(const crm_node_t *peer, xmlNode *xml); xml 80 daemons/attrd/pacemaker-attrd.h bool attrd_check_for_new_writer(const crm_node_t *peer, const xmlNode *xml); xml 83 daemons/attrd/pacemaker-attrd.h void attrd_xml_add_writer(xmlNode *xml); xml 126 daemons/attrd/pacemaker-attrd.h void attrd_client_peer_remove(pcmk__client_t *client, xmlNode *xml); xml 127 daemons/attrd/pacemaker-attrd.h void attrd_client_clear_failure(xmlNode *xml); xml 128 daemons/attrd/pacemaker-attrd.h void attrd_client_update(xmlNode *xml); xml 115 daemons/based/based_notify.c cib_notify_send(xmlNode * xml) xml 121 daemons/based/based_notify.c int rc = pcmk__ipc_prepare_iov(0, xml, 0, &iov, &bytes); xml 124 daemons/based/based_notify.c update.msg = xml; xml 242 daemons/based/pacemaker-based.c xmlNode *xml = NULL; xml 250 daemons/based/pacemaker-based.c xml = string2xml(data); xml 251 daemons/based/pacemaker-based.c if (xml == NULL) { xml 256 daemons/based/pacemaker-based.c crm_xml_add(xml, F_ORIG, from); xml 258 daemons/based/pacemaker-based.c cib_peer_callback(xml, NULL); xml 261 daemons/based/pacemaker-based.c free_xml(xml); xml 257 daemons/controld/controld_callbacks.c const char *task = crm_element_value(down->xml, XML_LRM_ATTR_TASK); xml 41 daemons/controld/controld_corosync.c xmlNode *xml = string2xml(data); xml 43 daemons/controld/controld_corosync.c if (xml == NULL) { xml 49 daemons/controld/controld_corosync.c crm_xml_add(xml, F_ORIG, from); xml 62 daemons/controld/controld_corosync.c crmd_ha_msg_filter(xml); xml 63 daemons/controld/controld_corosync.c free_xml(xml); xml 273 daemons/controld/controld_execd.c lrmd_event_data_t *op = construct_op(lrm_state, input->xml, rsc_id, task); xml 918 daemons/controld/controld_execd.c op = construct_op(lrm_state, input->xml, rsc_id, CRMD_ACTION_DELETE); xml 1489 daemons/controld/controld_execd.c lrm_op_target(xmlNode *xml) xml 1493 daemons/controld/controld_execd.c if (xml) { xml 1494 daemons/controld/controld_execd.c target = crm_element_value(xml, XML_LRM_ATTR_TARGET); xml 1503 daemons/controld/controld_execd.c fail_lrm_resource(xmlNode *xml, lrm_state_t *lrm_state, const char *user_name, xml 1508 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(xml, XML_CIB_TAG_RESOURCE, TRUE); xml 1520 daemons/controld/controld_execd.c op = construct_op(lrm_state, xml, ID(xml_rsc), "asyncmon"); xml 1541 daemons/controld/controld_execd.c process_lrm_event(lrm_state, op, NULL, xml); xml 1547 daemons/controld/controld_execd.c crm_log_xml_warn(xml, "bad input"); xml 1629 daemons/controld/controld_execd.c xmlNode *params = find_xml_node(input->xml, XML_TAG_ATTRS, TRUE); xml 1713 daemons/controld/controld_execd.c op = construct_op(lrm_state, input->xml, rsc->id, CRMD_ACTION_DELETE); xml 1750 daemons/controld/controld_execd.c target_node = lrm_op_target(input->xml); xml 1758 daemons/controld/controld_execd.c synthesize_lrmd_failure(NULL, input->xml, PCMK_EXEC_NOT_CONNECTED, xml 1781 daemons/controld/controld_execd.c fail_lrm_resource(input->xml, lrm_state, user_name, from_host, xml 1785 daemons/controld/controld_execd.c } else if (input->xml != NULL) { xml 1786 daemons/controld/controld_execd.c operation = crm_element_value(input->xml, XML_LRM_ATTR_TASK); xml 1807 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(input->xml, XML_CIB_TAG_RESOURCE, TRUE); xml 1817 daemons/controld/controld_execd.c synthesize_lrmd_failure(lrm_state, input->xml, xml 1830 daemons/controld/controld_execd.c rc, pcmk_strerror(rc), ID(input->xml)); xml 1839 daemons/controld/controld_execd.c synthesize_lrmd_failure(lrm_state, input->xml, PCMK_EXEC_ERROR, xml 1850 daemons/controld/controld_execd.c synthesize_lrmd_failure(lrm_state, input->xml, PCMK_EXEC_ERROR, xml 1858 daemons/controld/controld_execd.c crm_log_xml_warn(input->xml, "Bad command"); xml 1881 daemons/controld/controld_execd.c do_lrm_rsc_op(lrm_state, rsc, reload_name, input->xml); xml 1884 daemons/controld/controld_execd.c do_lrm_rsc_op(lrm_state, rsc, operation, input->xml); xml 2736 daemons/controld/controld_execd.c xmlNode *xml = find_xml_node(action_xml, XML_CIB_TAG_RESOURCE, TRUE); xml 2738 daemons/controld/controld_execd.c const char *standard = crm_element_value(xml, XML_AGENT_ATTR_CLASS); xml 2739 daemons/controld/controld_execd.c const char *provider = crm_element_value(xml, XML_AGENT_ATTR_PROVIDER); xml 2740 daemons/controld/controld_execd.c const char *type = crm_element_value(xml, XML_ATTR_TYPE); xml 387 daemons/controld/controld_fencing.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 390 daemons/controld/controld_fencing.c last_action = action->xml; xml 393 daemons/controld/controld_fencing.c action->id, ID(action->xml)); xml 790 daemons/controld/controld_fencing.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 799 daemons/controld/controld_fencing.c const char *uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 911 daemons/controld/controld_fencing.c id = ID(action->xml); xml 912 daemons/controld/controld_fencing.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 913 daemons/controld/controld_fencing.c uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 922 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 179 daemons/controld/controld_lrm.h void remote_ra_process_pseudo(xmlNode *xml); xml 181 daemons/controld/controld_lrm.h void remote_ra_process_maintenance_nodes(xmlNode *xml); xml 197 daemons/controld/controld_messages.c copy->xml = get_message_xml(copy->msg, F_CRM_DATA); xml 799 daemons/controld/controld_messages.c xmlNode *xml = create_xml_node(reply_data, XML_CIB_TAG_NODE); xml 801 daemons/controld/controld_messages.c crm_xml_add_ll(xml, XML_ATTR_ID, (long long) node->id); // uint32_t xml 802 daemons/controld/controld_messages.c crm_xml_add(xml, XML_ATTR_UNAME, node->uname); xml 803 daemons/controld/controld_messages.c crm_xml_add(xml, XML_NODE_IN_CLUSTER, node->state); xml 1112 daemons/controld/controld_messages.c xmlNode *xml = get_message_xml(stored_msg, F_CRM_DATA); xml 1114 daemons/controld/controld_messages.c remote_ra_process_maintenance_nodes(xml); xml 1226 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 1309 daemons/controld/controld_remote_ra.c remote_ra_process_maintenance_nodes(xmlNode *xml) xml 1311 daemons/controld/controld_remote_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_MAINTENANCE); xml 366 daemons/controld/controld_schedulerd.c force_local_option(xmlNode *xml, const char *attr_name, const char *attr_value) xml 383 daemons/controld/controld_schedulerd.c xpathObj = xpath_search(xml, xpath_string); xml 401 daemons/controld/controld_schedulerd.c configuration = pcmk__xe_match(xml, XML_CIB_TAG_CONFIGURATION, NULL, xml 404 daemons/controld/controld_schedulerd.c configuration = create_xml_node(xml, XML_CIB_TAG_CONFIGURATION); xml 420 daemons/controld/controld_schedulerd.c xml = create_xml_node(cluster_property_set, XML_CIB_TAG_NVPAIR); xml 422 daemons/controld/controld_schedulerd.c crm_xml_set_id(xml, "%s-%s", CIB_OPTIONS_FIRST, attr_name); xml 423 daemons/controld/controld_schedulerd.c crm_xml_add(xml, XML_NVPAIR_ATTR_NAME, attr_name); xml 424 daemons/controld/controld_schedulerd.c crm_xml_add(xml, XML_NVPAIR_ATTR_VALUE, attr_value); xml 43 daemons/controld/controld_te_actions.c const char *task = crm_element_value(pseudo->xml, XML_LRM_ATTR_TASK); xml 58 daemons/controld/controld_te_actions.c cmd = create_request(task, pseudo->xml, node->uname, xml 64 daemons/controld/controld_te_actions.c remote_ra_process_maintenance_nodes(pseudo->xml); xml 67 daemons/controld/controld_te_actions.c remote_ra_process_pseudo(pseudo->xml); xml 71 daemons/controld/controld_te_actions.c crm_element_value(pseudo->xml, XML_LRM_ATTR_TASK_KEY)); xml 102 daemons/controld/controld_te_actions.c id = ID(action->xml); xml 103 daemons/controld/controld_te_actions.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 104 daemons/controld/controld_te_actions.c on_node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 105 daemons/controld/controld_te_actions.c router_node = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 110 daemons/controld/controld_te_actions.c const char *mode = crm_element_value(action->xml, PCMK__XA_MODE); xml 149 daemons/controld/controld_te_actions.c cmd = create_request(task, action->xml, router_node, CRM_SYSTEM_CRMD, CRM_SYSTEM_TENGINE, NULL); xml 198 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 207 daemons/controld/controld_te_actions.c router_node = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 236 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 237 daemons/controld/controld_te_actions.c const char *task_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 238 daemons/controld/controld_te_actions.c const char *target_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 244 daemons/controld/controld_te_actions.c crm_element_name(action->xml), action->id, task_uuid, target); xml 246 daemons/controld/controld_te_actions.c action_rsc = find_xml_node(action->xml, XML_CIB_TAG_RESOURCE, TRUE); xml 253 daemons/controld/controld_te_actions.c crm_log_xml_err(action->xml, "Bad:action"); return); xml 319 daemons/controld/controld_te_actions.c CRM_ASSERT(action->xml != NULL); xml 322 daemons/controld/controld_te_actions.c on_node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 325 daemons/controld/controld_te_actions.c crm_err("Corrupted command(id=%s) %s: no node", ID(action->xml), crm_str(task)); xml 328 daemons/controld/controld_te_actions.c rsc_op = action->xml; xml 330 daemons/controld/controld_te_actions.c task_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 361 daemons/controld/controld_te_actions.c .xml = rsc_op, xml 470 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 471 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 482 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 494 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 505 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 506 daemons/controld/controld_te_actions.c const char *id = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 547 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 558 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 570 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 587 daemons/controld/controld_te_actions.c && (crm_element_value(action->xml, XML_LRM_ATTR_TARGET) != NULL)) { xml 212 daemons/controld/controld_te_callbacks.c process_resource_updates(const char *node, xmlNode *xml, xmlNode *change, xml 217 daemons/controld/controld_te_callbacks.c if (xml == NULL) { xml 221 daemons/controld/controld_te_callbacks.c if (strcmp(TYPE(xml), XML_CIB_TAG_LRM) == 0) { xml 222 daemons/controld/controld_te_callbacks.c xml = first_named_child(xml, XML_LRM_TAG_RESOURCES); xml 223 daemons/controld/controld_te_callbacks.c CRM_CHECK(xml != NULL, return); xml 226 daemons/controld/controld_te_callbacks.c CRM_CHECK(strcmp(TYPE(xml), XML_LRM_TAG_RESOURCES) == 0, return); xml 241 daemons/controld/controld_te_callbacks.c && xml->children && xml->children->next) { xml 248 daemons/controld/controld_te_callbacks.c for (rsc = pcmk__xml_first_child(xml); rsc != NULL; xml 645 daemons/controld/controld_te_callbacks.c task = crm_element_value(timer->action->xml, XML_LRM_ATTR_TASK); xml 646 daemons/controld/controld_te_callbacks.c on_node = crm_element_value(timer->action->xml, XML_LRM_ATTR_TARGET); xml 647 daemons/controld/controld_te_callbacks.c via_node = crm_element_value(timer->action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 54 daemons/controld/controld_te_events.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 61 daemons/controld/controld_te_events.c target_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 62 daemons/controld/controld_te_events.c router = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 73 daemons/controld/controld_te_events.c last_action = action->xml; xml 79 daemons/controld/controld_te_events.c action->id, crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY), down_node); xml 82 daemons/controld/controld_te_events.c action->id, crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY), down_node); xml 232 daemons/controld/controld_te_events.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 237 daemons/controld/controld_te_events.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 243 daemons/controld/controld_te_events.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 267 daemons/controld/controld_te_events.c op_key = crm_element_value(cancel->xml, XML_LRM_ATTR_TASK_KEY); xml 268 daemons/controld/controld_te_events.c node_name = crm_element_value(cancel->xml, XML_LRM_ATTR_TARGET); xml 308 daemons/controld/controld_te_events.c xpath_ret = xpath_search(match->xml, xpath); xml 324 daemons/controld/controld_te_events.c crm_element_value(match->xml, XML_LRM_ATTR_TASK_KEY), target); xml 361 daemons/controld/controld_throttle.c xmlNode *xml = NULL; xml 369 daemons/controld/controld_throttle.c xml = create_request(CRM_OP_THROTTLE, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); xml 370 daemons/controld/controld_throttle.c crm_xml_add_int(xml, F_CRM_THROTTLE_MODE, mode); xml 371 daemons/controld/controld_throttle.c crm_xml_add_int(xml, F_CRM_THROTTLE_MAX, throttle_job_max); xml 373 daemons/controld/controld_throttle.c send_cluster_message(NULL, crm_msg_crmd, xml, TRUE); xml 374 daemons/controld/controld_throttle.c free_xml(xml); xml 530 daemons/controld/controld_throttle.c throttle_update(xmlNode *xml) xml 535 daemons/controld/controld_throttle.c const char *from = crm_element_value(xml, F_CRM_HOST_FROM); xml 537 daemons/controld/controld_throttle.c crm_element_value_int(xml, F_CRM_THROTTLE_MODE, &mode); xml 538 daemons/controld/controld_throttle.c crm_element_value_int(xml, F_CRM_THROTTLE_MAX, &max); xml 14 daemons/controld/controld_throttle.h void throttle_update(xmlNode *xml); xml 148 daemons/controld/controld_transition.c if (graph_file == NULL && input->xml == NULL) { xml 165 daemons/controld/controld_transition.c graph_data = input->xml; xml 209 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 814 daemons/fenced/fenced_commands.c is_nodeid_required(xmlNode * xml) xml 822 daemons/fenced/fenced_commands.c if (!xml) { xml 826 daemons/fenced/fenced_commands.c xpath = xpath_search(xml, "//parameter[@name='nodeid']"); xml 2153 daemons/fenced/fenced_commands.c add_action_specific_attributes(xmlNode *xml, const char *action, xml 2160 daemons/fenced/fenced_commands.c CRM_CHECK(xml && action && device, return); xml 2164 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_DEVICE_REQUIRED, 1); xml 2171 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_ACTION_TIMEOUT, action_specific_timeout); xml 2178 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_DELAY_MAX, delay_max / 1000); xml 2183 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_DELAY_BASE, delay_base / 1000); xml 2210 daemons/fenced/fenced_commands.c add_disallowed(xmlNode *xml, const char *action, stonith_device_t *device, xml 2216 daemons/fenced/fenced_commands.c pcmk__xe_set_bool_attr(xml, F_STONITH_ACTION_DISALLOWED, true); xml 2231 daemons/fenced/fenced_commands.c add_action_reply(xmlNode *xml, const char *action, stonith_device_t *device, xml 2234 daemons/fenced/fenced_commands.c xmlNode *child = create_xml_node(xml, F_STONITH_ACTION); xml 3012 daemons/fenced/fenced_commands.c execute_agent_action(request->xml, &request->result); xml 3016 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); xml 3023 daemons/fenced/fenced_commands.c const char *call_id = crm_element_value(request->xml, F_STONITH_CALLID); xml 3024 daemons/fenced/fenced_commands.c const char *client_id = crm_element_value(request->xml, F_STONITH_CLIENTID); xml 3027 daemons/fenced/fenced_commands.c crm_element_value_int(request->xml, F_STONITH_TIMEOUT, &op_timeout); xml 3041 daemons/fenced/fenced_commands.c const char *client_id = crm_element_value(request->xml, F_STONITH_CLIENTID); xml 3046 daemons/fenced/fenced_commands.c create_remote_stonith_op(client_id, request->xml, TRUE); xml 3050 daemons/fenced/fenced_commands.c remove_relay_op(request->xml); xml 3054 daemons/fenced/fenced_commands.c dev = get_xpath_object("//@" F_STONITH_ACTION, request->xml, LOG_NEVER); xml 3065 daemons/fenced/fenced_commands.c crm_log_xml_debug(request->xml, "Query"); xml 3070 daemons/fenced/fenced_commands.c query->reply = fenced_construct_reply(request->xml, NULL, &request->result); xml 3077 daemons/fenced/fenced_commands.c crm_element_value_int(request->xml, F_STONITH_TIMEOUT, &timeout); xml 3091 daemons/fenced/fenced_commands.c flag_name = crm_element_value(request->xml, F_STONITH_NOTIFY_ACTIVATE); xml 3098 daemons/fenced/fenced_commands.c flag_name = crm_element_value(request->xml, F_STONITH_NOTIFY_DEACTIVATE); xml 3116 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//@" F_STONITH_TARGET, request->xml, xml 3126 daemons/fenced/fenced_commands.c if (initiate_remote_stonith_op(NULL, request->xml, FALSE) == NULL) { xml 3128 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); xml 3140 daemons/fenced/fenced_commands.c fence_locally(request->xml, &request->result); xml 3144 daemons/fenced/fenced_commands.c request->xml)) { xml 3160 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//@" F_STONITH_TARGET, request->xml, xml 3176 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, xml 3196 daemons/fenced/fenced_commands.c client_id = crm_element_value(request->xml, F_STONITH_CLIENTID); xml 3205 daemons/fenced/fenced_commands.c op = create_remote_stonith_op(client_id, request->xml, FALSE); xml 3207 daemons/fenced/fenced_commands.c crm_xml_add(request->xml, F_STONITH_OPERATION, STONITH_OP_RELAY); xml 3208 daemons/fenced/fenced_commands.c crm_xml_add(request->xml, F_STONITH_CLIENTID, xml 3210 daemons/fenced/fenced_commands.c crm_xml_add(request->xml, F_STONITH_REMOTE_OP_ID, op->id); xml 3212 daemons/fenced/fenced_commands.c crm_msg_stonith_ng, request->xml, FALSE); xml 3216 daemons/fenced/fenced_commands.c } else if (initiate_remote_stonith_op(request->ipc_client, request->xml, xml 3229 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); xml 3239 daemons/fenced/fenced_commands.c stonith_fence_history(request->xml, &data, request->peer, xml 3246 daemons/fenced/fenced_commands.c reply = fenced_construct_reply(request->xml, data, &request->result); xml 3257 daemons/fenced/fenced_commands.c const char *op = crm_element_value(request->xml, F_STONITH_OPERATION); xml 3260 daemons/fenced/fenced_commands.c int rc = stonith_device_register(request->xml, &device_id, FALSE); xml 3272 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); xml 3279 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//" F_STONITH_DEVICE, request->xml, xml 3282 daemons/fenced/fenced_commands.c const char *op = crm_element_value(request->xml, F_STONITH_OPERATION); xml 3293 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); xml 3301 daemons/fenced/fenced_commands.c const char *op = crm_element_value(request->xml, F_STONITH_OPERATION); xml 3304 daemons/fenced/fenced_commands.c fenced_register_level(request->xml, &device_id, &request->result); xml 3312 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); xml 3320 daemons/fenced/fenced_commands.c const char *op = crm_element_value(request->xml, F_STONITH_OPERATION); xml 3323 daemons/fenced/fenced_commands.c fenced_unregister_level(request->xml, &device_id, &request->result); xml 3331 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); xml 3341 daemons/fenced/fenced_commands.c crm_element_value_int(request->xml, XML_ATTR_ID, &node_id); xml 3342 daemons/fenced/fenced_commands.c name = crm_element_value(request->xml, XML_ATTR_UNAME); xml 3351 daemons/fenced/fenced_commands.c const char *op = crm_element_value(request->xml, F_STONITH_OPERATION); xml 3358 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); xml 3496 daemons/fenced/fenced_commands.c .xml = message, xml 3501 daemons/fenced/fenced_commands.c request.op = crm_element_value_copy(request.xml, F_STONITH_OPERATION); xml 499 daemons/fenced/fenced_remote.c delegate_from_xml(xmlNode *xml) xml 501 daemons/fenced/fenced_remote.c xmlNode *match = get_xpath_object("//@" F_STONITH_DELEGATE, xml, LOG_NEVER); xml 504 daemons/fenced/fenced_remote.c return crm_element_value_copy(xml, F_ORIG); xml 1932 daemons/fenced/fenced_remote.c parse_action_specific(xmlNode *xml, const char *peer, const char *device, xml 1937 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_ACTION_TIMEOUT, xml 1945 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DELAY_MAX, &props->delay_max[phase]); xml 1952 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DELAY_BASE, &props->delay_base[phase]); xml 1962 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DEVICE_REQUIRED, &required); xml 1973 daemons/fenced/fenced_remote.c if (pcmk__xe_attr_is_true(xml, F_STONITH_ACTION_DISALLOWED)) { xml 1990 daemons/fenced/fenced_remote.c add_device_properties(xmlNode *xml, remote_fencing_op_t *op, xml 2002 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DEVICE_VERIFIED, &verified); xml 2010 daemons/fenced/fenced_remote.c parse_action_specific(xml, peer->host, device, op_requested_action(op), xml 2012 daemons/fenced/fenced_remote.c for (child = pcmk__xml_first_child(xml); child != NULL; xml 2040 daemons/fenced/fenced_remote.c add_result(remote_fencing_op_t *op, const char *host, int ndevices, xmlNode *xml) xml 2052 daemons/fenced/fenced_remote.c for (child = pcmk__xml_first_child(xml); child != NULL; xml 199 daemons/fenced/pacemaker-fenced.c xmlNode *xml = NULL; xml 207 daemons/fenced/pacemaker-fenced.c xml = string2xml(data); xml 208 daemons/fenced/pacemaker-fenced.c if (xml == NULL) { xml 213 daemons/fenced/pacemaker-fenced.c crm_xml_add(xml, F_ORIG, from); xml 215 daemons/fenced/pacemaker-fenced.c stonith_peer_callback(xml, NULL); xml 218 daemons/fenced/pacemaker-fenced.c free_xml(xml); xml 616 daemons/fenced/pacemaker-fenced.c xmlNode *xml; xml 618 daemons/fenced/pacemaker-fenced.c xml = create_device_registration_xml( xml 627 daemons/fenced/pacemaker-fenced.c rc = stonith_device_register(xml, NULL, TRUE); xml 628 daemons/fenced/pacemaker-fenced.c free_xml(xml); xml 705 daemons/fenced/pacemaker-fenced.c rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 762 daemons/fenced/pacemaker-fenced.c const char *agent = crm_element_value(rsc->xml, XML_EXPR_ATTR_TYPE); xml 164 include/crm/cluster.h void set_uuid(xmlNode *xml, const char *attr, crm_node_t *node); xml 26 include/crm/common/acl.h bool xml_acl_enabled(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(xmlNode *xml); xml 29 include/crm/common/acl.h bool xml_acl_filtered_copy(const char *user, xmlNode* acl_source, xmlNode *xml, xml 58 include/crm/common/internal.h bool pcmk__check_acl(xmlNode *xml, const char *name, xml 250 include/crm/common/logging.h # define do_crm_log_xml(level, text, xml) do { \ xml 262 include/crm/common/logging.h __LINE__, text, xml, 1, xml_log_option_formatted); \ xml 366 include/crm/common/logging.h # define crm_log_xml_crit(xml, text) do_crm_log_xml(LOG_CRIT, text, xml) xml 367 include/crm/common/logging.h # define crm_log_xml_err(xml, text) do_crm_log_xml(LOG_ERR, text, xml) xml 368 include/crm/common/logging.h # define crm_log_xml_warn(xml, text) do_crm_log_xml(LOG_WARNING, text, xml) xml 369 include/crm/common/logging.h # define crm_log_xml_notice(xml, text) do_crm_log_xml(LOG_NOTICE, text, xml) xml 370 include/crm/common/logging.h # define crm_log_xml_info(xml, text) do_crm_log_xml(LOG_INFO, text, xml) xml 371 include/crm/common/logging.h # define crm_log_xml_debug(xml, text) do_crm_log_xml(LOG_DEBUG, text, xml) xml 372 include/crm/common/logging.h # define crm_log_xml_trace(xml, text) do_crm_log_xml(LOG_TRACE, text, xml) xml 374 include/crm/common/logging.h # define crm_log_xml_explicit(xml, text) do { \ xml 380 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(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 54 include/crm/common/xml.h gboolean add_message_xml(xmlNode * msg, const char *field, xmlNode * xml); xml 168 include/crm/common/xml.h crm_element_name(const xmlNode *xml) xml 170 include/crm/common/xml.h return xml? (const char *)(xml->name) : NULL; xml 174 include/crm/common/xml.h crm_map_element_name(const xmlNode *xml) xml 176 include/crm/common/xml.h const char *name = crm_element_name(xml); xml 239 include/crm/common/xml.h gboolean cli_config_update(xmlNode ** xml, int *best_version, gboolean to_logs); xml 249 include/crm/common/xml.h void pcmk_free_xml_subtree(xmlNode *xml); xml 257 include/crm/common/xml.h void crm_foreach_xpath_result(xmlNode *xml, const char *xpath, xml 273 include/crm/common/xml.h bool xml_tracking_changes(xmlNode * xml); xml 274 include/crm/common/xml.h bool xml_document_dirty(xmlNode *xml); xml 275 include/crm/common/xml.h void xml_track_changes(xmlNode * xml, const char *user, xmlNode *acl_source, bool enforce_acls); xml 278 include/crm/common/xml.h void xml_accept_changes(xmlNode * xml); xml 279 include/crm/common/xml.h void xml_log_changes(uint8_t level, const char *function, xmlNode *xml); xml 280 include/crm/common/xml.h void xml_log_patchset(uint8_t level, const char *function, xmlNode *xml); xml 285 include/crm/common/xml.h int xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version); xml 289 include/crm/common/xml.h void save_xml_to_file(xmlNode * xml, const char *desc, const char *filename); xml 290 include/crm/common/xml.h char *xml_get_path(xmlNode *xml); xml 294 include/crm/common/xml.h void crm_xml_set_id(xmlNode *xml, const char *format, ...) G_GNUC_PRINTF(2, 3); xml 156 include/crm/common/xml_internal.h void pcmk__strip_xml_text(xmlNode *xml); xml 337 include/crm/common/xml_internal.h void pcmk__set_xml_doc_flag(xmlNode *xml, enum xml_private_flags flag); xml 63 include/crm/fencing/internal.h void stonith__xe_set_result(xmlNode *xml, const pcmk__action_result_t *result); xml 64 include/crm/fencing/internal.h void stonith__xe_get_result(xmlNode *xml, pcmk__action_result_t *result); xml 65 include/crm/fencing/internal.h xmlNode *stonith__find_xe_with_result(xmlNode *xml); xml 529 include/crm/pengine/internal.h xmlNode *xml, const char *field); xml 338 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 118 include/pacemaker.h int pcmk_pacemakerd_status(xmlNodePtr *xml, char *ipc_name, unsigned int message_timeout_ms); xml 131 include/pacemaker.h int pcmk_resource_digests(xmlNodePtr *xml, pe_resource_t *rsc, xml 164 include/pacemaker.h int pcmk_simulate(xmlNodePtr *xml, pe_working_set_t *data_set, xml 177 include/pacemaker.h int pcmk_list_nodes(xmlNodePtr *xml, char *node_types); xml 187 include/pacemaker.h int pcmk_status(xmlNodePtr *xml); xml 233 include/pacemaker.h int pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, xml 249 include/pacemaker.h int pcmk_fence_installed(xmlNodePtr *xml, stonith_t *st, unsigned int timeout); xml 263 include/pacemaker.h int pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid); xml 278 include/pacemaker.h int pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st, xml 294 include/pacemaker.h int pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, char *agent, xml 311 include/pacemaker.h int pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, xml 363 include/pacemaker.h int pcmk_fence_validate(xmlNodePtr *xml, stonith_t *st, const char *agent, xml 21 include/pcmki/pcmki_output.h int pcmk__out_prologue(pcmk__output_t **out, xmlNodePtr *xml); xml 22 include/pcmki/pcmki_output.h void pcmk__out_epilogue(pcmk__output_t *out, xmlNodePtr *xml, int retval); xml 66 include/pcmki/pcmki_sched_allocate.h void (*append_meta) (pe_resource_t * rsc, xmlNode * xml); xml 119 include/pcmki/pcmki_sched_allocate.h extern void native_append_meta(pe_resource_t * rsc, xmlNode * xml); xml 138 include/pcmki/pcmki_sched_allocate.h extern void group_append_meta(pe_resource_t * rsc, xmlNode * xml); xml 164 include/pcmki/pcmki_sched_allocate.h void pcmk__bundle_append_meta(pe_resource_t *rsc, xmlNode *xml); xml 184 include/pcmki/pcmki_sched_allocate.h extern void clone_append_meta(pe_resource_t * rsc, xmlNode * xml); xml 84 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 52 lib/common/acl.c create_acl(xmlNode *xml, GList *acls, enum xml_private_flags mode) xml 56 lib/common/acl.c const char *tag = crm_element_value(xml, XML_ACL_ATTR_TAG); xml 57 lib/common/acl.c const char *ref = crm_element_value(xml, XML_ACL_ATTR_REF); xml 58 lib/common/acl.c const char *xpath = crm_element_value(xml, XML_ACL_ATTR_XPATH); xml 59 lib/common/acl.c const char *attr = crm_element_value(xml, XML_ACL_ATTR_ATTRIBUTE); xml 63 lib/common/acl.c tag = crm_element_value(xml, XML_ACL_ATTR_TAGv1); xml 67 lib/common/acl.c ref = crm_element_value(xml, XML_ACL_ATTR_REFv1); xml 73 lib/common/acl.c crm_element_name(xml)); xml 85 lib/common/acl.c crm_element_name(xml), acl->xpath); xml 130 lib/common/acl.c crm_element_name(xml), acl->xpath); xml 243 lib/common/acl.c pcmk__apply_acl(xmlNode *xml) xml 246 lib/common/acl.c xml_private_t *p = xml->doc->_private; xml 249 lib/common/acl.c if (!xml_acl_enabled(xml)) { xml 259 lib/common/acl.c xpathObj = xpath_search(xml, acl->xpath); xml 366 lib/common/acl.c purge_xml_attributes(xmlNode *xml) xml 371 lib/common/acl.c xml_private_t *p = xml->_private; xml 374 lib/common/acl.c crm_trace("%s[@id=%s] is readable", crm_element_name(xml), ID(xml)); xml 378 lib/common/acl.c xIter = xml->properties; xml 388 lib/common/acl.c xmlUnsetProp(xml, tmp->name); xml 391 lib/common/acl.c child = pcmk__xml_first_child(xml); xml 400 lib/common/acl.c free_xml(xml); /* Nothing readable under here, purge completely */ xml 417 lib/common/acl.c xml_acl_filtered_copy(const char *user, xmlNode *acl_source, xmlNode *xml, xml 425 lib/common/acl.c if ((xml == NULL) || !pcmk_acl_required(user)) { xml 432 lib/common/acl.c target = copy_xml(xml); xml 505 lib/common/acl.c implicitly_allowed(xmlNode *xml) xml 509 lib/common/acl.c for (xmlAttr *prop = xml->properties; prop != NULL; prop = prop->next) { xml 515 lib/common/acl.c path = xml_get_path(xml); xml 525 lib/common/acl.c #define display_id(xml) (ID(xml)? ID(xml) : "<unset>") xml 541 lib/common/acl.c pcmk__apply_creation_acl(xmlNode *xml, bool check_top) xml 543 lib/common/acl.c xml_private_t *p = xml->_private; xml 546 lib/common/acl.c if (implicitly_allowed(xml)) { xml 549 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 551 lib/common/acl.c } else if (pcmk__check_acl(xml, NULL, pcmk__xf_acl_write)) { xml 553 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 557 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 558 lib/common/acl.c pcmk_free_xml_subtree(xml); xml 563 lib/common/acl.c ((xml == xmlDocGetRootElement(xml->doc))? "root element " : ""), xml 564 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 568 lib/common/acl.c for (xmlNode *cIter = pcmk__xml_first_child(xml); cIter != NULL; ) { xml 576 lib/common/acl.c xml_acl_denied(xmlNode *xml) xml 578 lib/common/acl.c if (xml && xml->doc && xml->doc->_private){ xml 579 lib/common/acl.c xml_private_t *p = xml->doc->_private; xml 587 lib/common/acl.c xml_acl_disable(xmlNode *xml) xml 589 lib/common/acl.c if (xml_acl_enabled(xml)) { xml 590 lib/common/acl.c xml_private_t *p = xml->doc->_private; xml 593 lib/common/acl.c pcmk__apply_acl(xml); xml 594 lib/common/acl.c pcmk__apply_creation_acl(xml, false); xml 600 lib/common/acl.c xml_acl_enabled(xmlNode *xml) xml 602 lib/common/acl.c if (xml && xml->doc && xml->doc->_private){ xml 603 lib/common/acl.c xml_private_t *p = xml->doc->_private; xml 611 lib/common/acl.c pcmk__check_acl(xmlNode *xml, const char *name, enum xml_private_flags mode) xml 613 lib/common/acl.c CRM_ASSERT(xml); xml 614 lib/common/acl.c CRM_ASSERT(xml->doc); xml 615 lib/common/acl.c CRM_ASSERT(xml->doc->_private); xml 617 lib/common/acl.c if (pcmk__tracking_xml_changes(xml, false) && xml_acl_enabled(xml)) { xml 619 lib/common/acl.c xmlNode *parent = xml; xml 621 lib/common/acl.c xml_private_t *docp = xml->doc->_private; xml 623 lib/common/acl.c offset = pcmk__element_xpath(NULL, xml, buffer, offset, xml 634 lib/common/acl.c pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_denied); xml 644 lib/common/acl.c xmlAttr *attr = xmlHasProp(xml, (pcmkXmlStr) name); xml 658 lib/common/acl.c (parent != xml) ? "Parent " : "", docp->user, xml 660 lib/common/acl.c pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_denied); xml 668 lib/common/acl.c pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_denied); xml 63 lib/common/crmcommon_private.h bool pcmk__tracking_xml_changes(xmlNode *xml, bool lazy); xml 66 lib/common/crmcommon_private.h int pcmk__element_xpath(const char *prefix, xmlNode *xml, char *buffer, xml 70 lib/common/crmcommon_private.h void pcmk__mark_xml_created(xmlNode *xml); xml 73 lib/common/crmcommon_private.h int pcmk__xml_position(xmlNode *xml, enum xml_private_flags ignore_if_set); xml 100 lib/common/crmcommon_private.h void pcmk__apply_acl(xmlNode *xml); xml 103 lib/common/crmcommon_private.h void pcmk__apply_creation_acl(xmlNode *xml, bool check_top); xml 395 lib/common/ipc_server.c xmlNode *xml = NULL; xml 440 lib/common/ipc_server.c xml = string2xml(text); xml 441 lib/common/ipc_server.c crm_log_xml_trace(xml, "[IPC received]"); xml 444 lib/common/ipc_server.c return xml; xml 162 lib/common/messages.c add_message_xml(xmlNode *msg, const char *field, xmlNode *xml) xml 166 lib/common/messages.c add_node_copy(holder, xml); xml 161 lib/common/nvpair.c pcmk_xml_attrs2nvpairs(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 481 lib/common/nvpair.c crm_xml_add_ll(xmlNode *xml, const char *name, long long value) xml 488 lib/common/nvpair.c return crm_xml_add(xml, name, s); xml 505 lib/common/nvpair.c crm_xml_add_timeval(xmlNode *xml, const char *name_sec, const char *name_usec, xml 510 lib/common/nvpair.c if (xml && name_sec && value) { xml 511 lib/common/nvpair.c added = crm_xml_add_ll(xml, name_sec, (long long) value->tv_sec); xml 514 lib/common/nvpair.c crm_xml_add_ll(xml, name_usec, (long long) value->tv_usec); xml 650 lib/common/nvpair.c crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest) xml 654 lib/common/nvpair.c if (crm_element_value_ll(xml, name, &value_ll) < 0) { xml 679 lib/common/nvpair.c crm_element_value_timeval(const xmlNode *xml, const char *name_sec, xml 688 lib/common/nvpair.c if (xml == NULL) { xml 700 lib/common/nvpair.c if (crm_element_value_ll(xml, name_sec, &value_i) < 0) { xml 706 lib/common/nvpair.c if (crm_element_value_ll(xml, name_usec, &value_i) < 0) { xml 85 lib/common/patchset.c add_xml_changes_to_patchset(xmlNode *xml, xmlNode *patchset) xml 90 lib/common/patchset.c xml_private_t *p = xml->_private; xml 98 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml->parent, buffer, offset, xml 100 lib/common/patchset.c int position = pcmk__xml_position(xml, pcmk__xf_deleted); xml 107 lib/common/patchset.c add_node_copy(change, xml); xml 114 lib/common/patchset.c for (pIter = pcmk__xe_first_attr(xml); pIter != NULL; xml 127 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml, buffer, offset, xml 147 lib/common/patchset.c value = crm_element_value(xml, (const char *) pIter->name); xml 156 lib/common/patchset.c result = create_xml_node(change, (const char *)xml->name); xml 158 lib/common/patchset.c for (pIter = pcmk__xe_first_attr(xml); pIter != NULL; xml 162 lib/common/patchset.c value = crm_element_value(xml, (const char *) pIter->name); xml 169 lib/common/patchset.c for (cIter = pcmk__xml_first_child(xml); cIter != NULL; xml 174 lib/common/patchset.c p = xml->_private; xml 180 lib/common/patchset.c xml->name, ID(xml), pcmk__xml_position(xml, pcmk__xf_skip)); xml 181 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml, buffer, offset, xml 188 lib/common/patchset.c pcmk__xml_position(xml, pcmk__xf_deleted)); xml 194 lib/common/patchset.c is_config_change(xmlNode *xml) xml 198 lib/common/patchset.c xmlNode *config = first_named_child(xml, XML_CIB_TAG_CONFIGURATION); xml 207 lib/common/patchset.c if ((xml->doc != NULL) && (xml->doc->_private != NULL)) { xml 208 lib/common/patchset.c p = xml->doc->_private; xml 851 lib/common/patchset.c xml_patch_version_check(xmlNode *xml, xmlNode *patchset, int format) xml 867 lib/common/patchset.c crm_element_value_int(xml, vfields[lpc], &(this[lpc])); xml 927 lib/common/patchset.c apply_v1_patchset(xmlNode *xml, xmlNode *patchset) xml 935 lib/common/patchset.c xmlNode *old = copy_xml(xml); xml 942 lib/common/patchset.c process_v1_removals(xml, child_diff); xml 962 lib/common/patchset.c process_v1_additions(NULL, xml, child_diff); xml 974 lib/common/patchset.c purge_diff_markers(xml); // Purge prior to checking digest xml 1142 lib/common/patchset.c apply_v2_patchset(xmlNode *xml, xmlNode *patchset) xml 1166 lib/common/patchset.c match = search_v2_xpath(xml, xpath, position); xml 1170 lib/common/patchset.c crm_debug("No %s match for %s in %p", op, xpath, xml->doc); xml 1174 lib/common/patchset.c crm_err("No %s match for %s in %p", op, xpath, xml->doc); xml 1325 lib/common/patchset.c xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version) xml 1340 lib/common/patchset.c rc = pcmk_rc2legacy(xml_patch_version_check(xml, patchset, format)); xml 1348 lib/common/patchset.c old = copy_xml(xml); xml 1354 lib/common/patchset.c rc = pcmk_rc2legacy(apply_v1_patchset(xml, patchset)); xml 1357 lib/common/patchset.c rc = pcmk_rc2legacy(apply_v2_patchset(xml, patchset)); xml 1369 lib/common/patchset.c char *version = crm_element_value_copy(xml, XML_ATTR_CRM_VERSION); xml 1377 lib/common/patchset.c new_digest = calculate_xml_versioned_digest(xml, FALSE, TRUE, version); xml 1385 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 591 lib/common/schemas.c validate_with(xmlNode *xml, int method, gboolean to_logs) xml 605 lib/common/schemas.c CRM_CHECK(xml != NULL, return FALSE); xml 606 lib/common/schemas.c doc = getDocPtr(xml); xml 629 lib/common/schemas.c validate_with_silent(xmlNode *xml, int method) xml 633 lib/common/schemas.c rc = validate_with(xml, method, TRUE); xml 674 lib/common/schemas.c xmlNode *xml = NULL; xml 687 lib/common/schemas.c xml = xmlDocGetRootElement(doc); xml 688 lib/common/schemas.c rc = validate_xml(xml, NULL, FALSE); xml 689 lib/common/schemas.c free_xml(xml); xml 898 lib/common/schemas.c apply_transformation(xmlNode *xml, const char *transform, gboolean to_logs) xml 911 lib/common/schemas.c CRM_CHECK(xml != NULL, return FALSE); xml 912 lib/common/schemas.c doc = getDocPtr(xml); xml 963 lib/common/schemas.c apply_upgrade(xmlNode *xml, const struct schema_s *schema, gboolean to_logs) xml 973 lib/common/schemas.c upgrade = apply_transformation(xml, schema->transform_enter, to_logs); xml 981 lib/common/schemas.c upgrade = xml; xml 987 lib/common/schemas.c if (upgrade != xml) { xml 1044 lib/common/schemas.c xmlNode *xml = NULL; xml 1056 lib/common/schemas.c xml = *xml_blob; xml 1057 lib/common/schemas.c value = crm_element_value_copy(xml, XML_ATTR_VALIDATION); xml 1084 lib/common/schemas.c if (validate_with(xml, lpc, to_logs) == FALSE) { xml 1132 lib/common/schemas.c || validate_with_silent(xml, next)) { xml 1143 lib/common/schemas.c upgrade = apply_upgrade(xml, &known_schemas[lpc], to_logs); xml 1154 lib/common/schemas.c free_xml(xml); xml 1155 lib/common/schemas.c xml = upgrade; xml 1179 lib/common/schemas.c crm_xml_add(xml, XML_ATTR_VALIDATION, known_schemas[*best].name); xml 1182 lib/common/schemas.c *xml_blob = xml; xml 1188 lib/common/schemas.c cli_config_update(xmlNode **xml, int *best_version, gboolean to_logs) xml 1191 lib/common/schemas.c const char *value = crm_element_value(*xml, XML_ATTR_VALIDATION); xml 1202 lib/common/schemas.c converted = copy_xml(*xml); xml 1255 lib/common/schemas.c free_xml(*xml); xml 1256 lib/common/schemas.c *xml = converted; xml 51 lib/common/xml.c pcmk__tracking_xml_changes(xmlNode *xml, bool lazy) xml 53 lib/common/xml.c if(xml == NULL || xml->doc == NULL || xml->doc->_private == NULL) { xml 55 lib/common/xml.c } else if (!pcmk_is_set(((xml_private_t *)xml->doc->_private)->flags, xml 58 lib/common/xml.c } else if (lazy && !pcmk_is_set(((xml_private_t *)xml->doc->_private)->flags, xml 102 lib/common/xml.c set_parent_flag(xmlNode *xml, long flag) xml 105 lib/common/xml.c for(; xml; xml = xml->parent) { xml 106 lib/common/xml.c xml_private_t *p = xml->_private; xml 117 lib/common/xml.c pcmk__set_xml_doc_flag(xmlNode *xml, enum xml_private_flags flag) xml 120 lib/common/xml.c if(xml && xml->doc && xml->doc->_private){ xml 122 lib/common/xml.c xml_private_t *p = xml->doc->_private; xml 130 lib/common/xml.c mark_xml_node_dirty(xmlNode *xml) xml 132 lib/common/xml.c pcmk__set_xml_doc_flag(xml, pcmk__xf_dirty); xml 133 lib/common/xml.c set_parent_flag(xml, pcmk__xf_dirty); xml 138 lib/common/xml.c reset_xml_node_flags(xmlNode *xml) xml 141 lib/common/xml.c xml_private_t *p = xml->_private; xml 147 lib/common/xml.c for (cIter = pcmk__xml_first_child(xml); cIter != NULL; xml 155 lib/common/xml.c pcmk__mark_xml_created(xmlNode *xml) xml 158 lib/common/xml.c xml_private_t *p = xml->_private; xml 160 lib/common/xml.c if (p && pcmk__tracking_xml_changes(xml, FALSE)) { xml 163 lib/common/xml.c mark_xml_node_dirty(xml); xml 165 lib/common/xml.c for (cIter = pcmk__xml_first_child(xml); cIter != NULL; xml 275 lib/common/xml.c xml_track_changes(xmlNode * xml, const char *user, xmlNode *acl_source, bool enforce_acls) xml 277 lib/common/xml.c xml_accept_changes(xml); xml 278 lib/common/xml.c crm_trace("Tracking changes%s to %p", enforce_acls?" with ACLs":"", xml); xml 279 lib/common/xml.c pcmk__set_xml_doc_flag(xml, pcmk__xf_tracking); xml 282 lib/common/xml.c acl_source = xml; xml 284 lib/common/xml.c pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_enabled); xml 285 lib/common/xml.c pcmk__unpack_acl(acl_source, xml, user); xml 286 lib/common/xml.c pcmk__apply_acl(xml); xml 290 lib/common/xml.c bool xml_tracking_changes(xmlNode * xml) xml 292 lib/common/xml.c return (xml != NULL) && (xml->doc != NULL) && (xml->doc->_private != NULL) xml 293 lib/common/xml.c && pcmk_is_set(((xml_private_t *)(xml->doc->_private))->flags, xml 297 lib/common/xml.c bool xml_document_dirty(xmlNode *xml) xml 299 lib/common/xml.c return (xml != NULL) && (xml->doc != NULL) && (xml->doc->_private != NULL) xml 300 lib/common/xml.c && pcmk_is_set(((xml_private_t *)(xml->doc->_private))->flags, xml 314 lib/common/xml.c pcmk__xml_position(xmlNode *xml, enum xml_private_flags ignore_if_set) xml 319 lib/common/xml.c for(cIter = xml; cIter->prev; cIter = cIter->prev) { xml 345 lib/common/xml.c accept_attr_deletions(xmlNode *xml) xml 348 lib/common/xml.c ((xml_private_t *) xml->_private)->flags = pcmk__xf_none; xml 351 lib/common/xml.c pcmk__xe_remove_matching_attrs(xml, marked_as_deleted, NULL); xml 354 lib/common/xml.c for (xmlNodePtr cIter = pcmk__xml_first_child(xml); cIter != NULL; xml 385 lib/common/xml.c xml_log_changes(uint8_t log_level, const char *function, xmlNode * xml) xml 394 lib/common/xml.c CRM_ASSERT(xml); xml 395 lib/common/xml.c CRM_ASSERT(xml->doc); xml 397 lib/common/xml.c doc = xml->doc->_private; xml 415 lib/common/xml.c log_data_element(log_level, __FILE__, function, __LINE__, "+ ", xml, 0, xml 420 lib/common/xml.c xml_accept_changes(xmlNode * xml) xml 425 lib/common/xml.c if(xml == NULL) { xml 429 lib/common/xml.c crm_trace("Accepting changes to %p", xml); xml 430 lib/common/xml.c doc = xml->doc->_private; xml 431 lib/common/xml.c top = xmlDocGetRootElement(xml->doc); xml 433 lib/common/xml.c reset_xml_private_data(xml->doc->_private); xml 755 lib/common/xml.c pcmk_free_xml_subtree(xmlNode *xml) xml 757 lib/common/xml.c xmlUnlinkNode(xml); // Detaches from parent and siblings xml 758 lib/common/xml.c xmlFreeNode(xml); // Frees xml 871 lib/common/xml.c xmlNode *xml = NULL; xml 890 lib/common/xml.c xml = xmlDocGetRootElement(output); xml 906 lib/common/xml.c crm_err("Couldn't%s parse %d chars: %s", xml ? " fully" : "", (int)strlen(input), xml 908 lib/common/xml.c if (xml != NULL) { xml 909 lib/common/xml.c crm_log_xml_err(xml, "Partial"); xml 926 lib/common/xml.c return xml; xml 1017 lib/common/xml.c pcmk__strip_xml_text(xmlNode *xml) xml 1019 lib/common/xml.c xmlNode *iter = xml->children; xml 1047 lib/common/xml.c xmlNode *xml = NULL; xml 1080 lib/common/xml.c if (output && (xml = xmlDocGetRootElement(output))) { xml 1081 lib/common/xml.c pcmk__strip_xml_text(xml); xml 1095 lib/common/xml.c crm_err("Couldn't%s parse %s", xml ? " fully" : "", filename); xml 1096 lib/common/xml.c if (xml != NULL) { xml 1097 lib/common/xml.c crm_log_xml_err(xml, "Partial"); xml 1103 lib/common/xml.c return xml; xml 1151 lib/common/xml.c crm_xml_set_id(xmlNode *xml, const char *format, ...) xml 1164 lib/common/xml.c crm_xml_add(xml, XML_ATTR_ID, id); xml 2056 lib/common/xml.c save_xml_to_file(xmlNode * xml, const char *desc, const char *filename) xml 2069 lib/common/xml.c write_xml_file(xml, filename, FALSE); xml 2081 lib/common/xml.c set_attrs_flag(xmlNode *xml, enum xml_private_flags flag) xml 2083 lib/common/xml.c for (xmlAttr *attr = pcmk__xe_first_attr(xml); attr; attr = attr->next) { xml 110 lib/common/xpath.c xmlNode *xml = NULL; xml 117 lib/common/xpath.c xml = xpathObj->nodesetval->nodeTab[lpc]->parent; xml 119 lib/common/xpath.c for (; xml; xml = xml->parent) { xml 123 lib/common/xpath.c if (xpathObj->nodesetval->nodeTab[lpc2] == xml) { xml 173 lib/common/xpath.c crm_foreach_xpath_result(xmlNode *xml, const char *xpath, xml 176 lib/common/xpath.c xmlXPathObjectPtr xpathObj = xpath_search(xml, xpath); xml 269 lib/common/xpath.c pcmk__element_xpath(const char *prefix, xmlNode *xml, char *buffer, xml 272 lib/common/xpath.c const char *id = ID(xml); xml 274 lib/common/xpath.c if(offset == 0 && prefix == NULL && xml->parent) { xml 275 lib/common/xpath.c offset = pcmk__element_xpath(NULL, xml->parent, buffer, offset, xml 281 lib/common/xpath.c "/%s[@id='%s']", (const char *) xml->name, id); xml 282 lib/common/xpath.c } else if(xml->name) { xml 284 lib/common/xpath.c "/%s", (const char *) xml->name); xml 291 lib/common/xpath.c xml_get_path(xmlNode *xml) xml 296 lib/common/xpath.c if (pcmk__element_xpath(NULL, xml, buffer, offset, sizeof(buffer)) > 0) { xml 409 lib/fencing/st_actions.c stonith__xe_set_result(xmlNode *xml, const pcmk__action_result_t *result) xml 417 lib/fencing/st_actions.c CRM_CHECK(xml != NULL, return); xml 427 lib/fencing/st_actions.c crm_xml_add_int(xml, XML_LRM_ATTR_OPSTATUS, (int) execution_status); xml 428 lib/fencing/st_actions.c crm_xml_add_int(xml, XML_LRM_ATTR_RC, exit_status); xml 429 lib/fencing/st_actions.c crm_xml_add(xml, XML_LRM_ATTR_EXIT_REASON, exit_reason); xml 430 lib/fencing/st_actions.c crm_xml_add(xml, F_STONITH_OUTPUT, action_stdout); xml 436 lib/fencing/st_actions.c crm_xml_add_int(xml, F_STONITH_RC, rc); xml 448 lib/fencing/st_actions.c stonith__find_xe_with_result(xmlNode *xml) xml 450 lib/fencing/st_actions.c xmlNode *match = get_xpath_object("//@" XML_LRM_ATTR_RC, xml, LOG_NEVER); xml 456 lib/fencing/st_actions.c match = get_xpath_object("//@" F_STONITH_RC, xml, LOG_ERR); xml 469 lib/fencing/st_actions.c stonith__xe_get_result(xmlNode *xml, pcmk__action_result_t *result) xml 476 lib/fencing/st_actions.c CRM_CHECK((xml != NULL) && (result != NULL), return); xml 478 lib/fencing/st_actions.c exit_reason = crm_element_value(xml, XML_LRM_ATTR_EXIT_REASON); xml 479 lib/fencing/st_actions.c action_stdout = crm_element_value_copy(xml, F_STONITH_OUTPUT); xml 482 lib/fencing/st_actions.c if ((crm_element_value_int(xml, XML_LRM_ATTR_RC, &exit_status) < 0) xml 483 lib/fencing/st_actions.c || (crm_element_value_int(xml, XML_LRM_ATTR_OPSTATUS, xml 491 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 1034 lib/fencing/st_client.c blob.xml = string2xml(buffer); xml 1035 lib/fencing/st_client.c if (blob.xml == NULL) { xml 1041 lib/fencing/st_client.c type = crm_element_value(blob.xml, F_TYPE); xml 1045 lib/fencing/st_client.c invoke_registered_callbacks(st, blob.xml, 0); xml 1053 lib/fencing/st_client.c crm_element_value_int(blob.xml, F_STONITH_TIMEOUT, &timeout); xml 1054 lib/fencing/st_client.c crm_element_value_int(blob.xml, F_STONITH_CALLID, &call_id); xml 1059 lib/fencing/st_client.c crm_log_xml_warn(blob.xml, "BadReply"); xml 1062 lib/fencing/st_client.c free_xml(blob.xml); xml 1452 lib/fencing/st_client.c if (blob->xml == NULL) { xml 1457 lib/fencing/st_client.c event = crm_element_value(blob->xml, F_SUBTYPE); xml 1476 lib/fencing/st_client.c st_event = xml_to_event(blob->xml); xml 126 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 222 lib/fencing/st_rhcs.c xmlNode *xml = NULL; xml 224 lib/fencing/st_rhcs.c int rc = stonith__rhcs_get_metadata(agent, timeout, &xml); xml 227 lib/fencing/st_rhcs.c free_xml(xml); xml 231 lib/fencing/st_rhcs.c buffer = dump_xml_formatted_with_text(xml); xml 232 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 299 lib/pacemaker/pcmk_cluster_queries.c pcmk_controller_status(xmlNodePtr *xml, char *dest_node, unsigned int message_timeout_ms) xml 304 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__out_prologue(&out, xml); xml 312 lib/pacemaker/pcmk_cluster_queries.c pcmk__out_epilogue(out, xml, rc); xml 344 lib/pacemaker/pcmk_cluster_queries.c pcmk_designated_controller(xmlNodePtr *xml, unsigned int message_timeout_ms) xml 349 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__out_prologue(&out, xml); xml 357 lib/pacemaker/pcmk_cluster_queries.c pcmk__out_epilogue(out, xml, rc); xml 389 lib/pacemaker/pcmk_cluster_queries.c pcmk_pacemakerd_status(xmlNodePtr *xml, char *ipc_name, unsigned int message_timeout_ms) xml 394 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__out_prologue(&out, xml); xml 402 lib/pacemaker/pcmk_cluster_queries.c pcmk__out_epilogue(out, xml, rc); xml 487 lib/pacemaker/pcmk_cluster_queries.c pcmk_list_nodes(xmlNodePtr *xml, char *node_types) xml 492 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__out_prologue(&out, xml); xml 500 lib/pacemaker/pcmk_cluster_queries.c pcmk__out_epilogue(out, xml, rc); xml 293 lib/pacemaker/pcmk_fence.c pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, unsigned int timeout, xml 298 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 308 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 336 lib/pacemaker/pcmk_fence.c pcmk_fence_installed(xmlNodePtr *xml, stonith_t *st, unsigned int timeout) { xml 340 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 348 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 372 lib/pacemaker/pcmk_fence.c pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid) { xml 376 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 384 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 416 lib/pacemaker/pcmk_fence.c pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st, const char *device_id, xml 421 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 429 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 452 lib/pacemaker/pcmk_fence.c pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, char *agent, xml 457 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 465 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 498 lib/pacemaker/pcmk_fence.c pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, xml 503 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 511 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 558 lib/pacemaker/pcmk_fence.c pcmk_fence_validate(xmlNodePtr *xml, stonith_t *st, const char *agent, xml 564 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 572 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); 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 280 lib/pacemaker/pcmk_graph_consumer.c crm_element_name(action->xml), action->id, synapse->id); xml 503 lib/pacemaker/pcmk_graph_consumer.c action->xml = copy_xml(xml_action); xml 506 lib/pacemaker/pcmk_graph_consumer.c action->params = xml2list(action->xml); xml 757 lib/pacemaker/pcmk_graph_consumer.c free_xml(action->xml); xml 824 lib/pacemaker/pcmk_graph_consumer.c action_resource = first_named_child(action->xml, XML_CIB_TAG_RESOURCE); xml 825 lib/pacemaker/pcmk_graph_consumer.c CRM_CHECK(action_resource != NULL, crm_log_xml_warn(action->xml, "invalid"); xml 829 lib/pacemaker/pcmk_graph_consumer.c crm_element_value(action->xml, XML_LRM_ATTR_TASK), xml 122 lib/pacemaker/pcmk_graph_logging.c pcmk__add_word(&pending, &pending_len, ID(input->xml)); xml 129 lib/pacemaker/pcmk_graph_logging.c pcmk__add_word(&pending, &pending_len, ID(input->xml)); xml 145 lib/pacemaker/pcmk_graph_logging.c const char *key = crm_element_value(input->xml, XML_LRM_ATTR_TASK_KEY); xml 146 lib/pacemaker/pcmk_graph_logging.c const char *host = crm_element_value(input->xml, XML_LRM_ATTR_TARGET); xml 161 lib/pacemaker/pcmk_graph_logging.c const char *key = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 162 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 569 lib/pacemaker/pcmk_injections.c rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 570 lib/pacemaker/pcmk_injections.c rtype = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 571 lib/pacemaker/pcmk_injections.c rprovider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 241 lib/pacemaker/pcmk_output.c xmlNode *xml = NULL; xml 264 lib/pacemaker/pcmk_output.c xml = pcmk__output_create_xml_node(out, "rsc_action", xml 272 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 280 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "node", destination->details->uname); xml 284 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 291 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "node", origin->details->uname); xml 295 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 302 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "source", origin->details->uname); xml 306 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 314 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 321 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 329 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 338 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 344 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "reason", source->reason); xml 347 lib/pacemaker/pcmk_output.c pcmk__xe_set_bool_attr(xml, "blocked", true); xml 842 lib/pacemaker/pcmk_output.c xmlNode *xml = NULL; xml 844 lib/pacemaker/pcmk_output.c xml = pcmk__output_create_xml_node(out, "digests", xml 852 lib/pacemaker/pcmk_output.c add_digest_xml(xml, "all", digests->digest_all_calc, xml 854 lib/pacemaker/pcmk_output.c add_digest_xml(xml, "nonprivate", digests->digest_secure_calc, xml 856 lib/pacemaker/pcmk_output.c add_digest_xml(xml, "nonreloadable", digests->digest_restart_calc, xml 22 lib/pacemaker/pcmk_output_utils.c pcmk__out_prologue(pcmk__output_t **out, xmlNodePtr *xml) { xml 25 lib/pacemaker/pcmk_output_utils.c if (*xml != NULL) { xml 26 lib/pacemaker/pcmk_output_utils.c xmlFreeNode(*xml); xml 39 lib/pacemaker/pcmk_output_utils.c pcmk__out_epilogue(pcmk__output_t *out, xmlNodePtr *xml, int retval) { xml 41 lib/pacemaker/pcmk_output_utils.c out->finish(out, 0, FALSE, (void **) xml); xml 125 lib/pacemaker/pcmk_resource.c pcmk_resource_digests(xmlNodePtr *xml, pe_resource_t *rsc, xml 132 lib/pacemaker/pcmk_resource.c rc = pcmk__out_prologue(&out, xml); xml 138 lib/pacemaker/pcmk_resource.c pcmk__out_epilogue(out, xml, rc); xml 333 lib/pacemaker/pcmk_sched_allocate.c crm_element_name(rsc->xml), rsc->id); xml 661 lib/pacemaker/pcmk_sched_allocate.c out->message(out, crm_map_element_name(rsc->xml), 0, rsc, all, all); xml 923 lib/pacemaker/pcmk_sched_bundle.c replica->remote->xml, LOG_ERR); xml 1064 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_append_meta(pe_resource_t *rsc, xmlNode *xml) xml 1476 lib/pacemaker/pcmk_sched_clone.c clone_append_meta(pe_resource_t * rsc, xmlNode * xml) xml 1484 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pe__rsc_bool_str(rsc, pe_rsc_unique)); xml 1488 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pe__rsc_bool_str(rsc, pe_rsc_notify)); xml 1492 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_max); xml 1496 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_node_max); xml 1501 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); xml 1505 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); xml 1512 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); xml 1516 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); xml 600 lib/pacemaker/pcmk_sched_group.c group_append_meta(pe_resource_t * rsc, xmlNode * xml) xml 1331 lib/pacemaker/pcmk_sched_native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 2301 lib/pacemaker/pcmk_sched_native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 2492 lib/pacemaker/pcmk_sched_native.c native_append_meta(pe_resource_t * rsc, xmlNode * xml) xml 2501 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, name, value); xml 2510 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, name, value); xml 2516 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, CRM_META"_"XML_RSC_ATTR_CONTAINER, parent->container->id); xml 2564 lib/pacemaker/pcmk_sched_native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 226 lib/pacemaker/pcmk_sched_ordering.c get_ordering_resource(xmlNode *xml, const char *resource_attr, xml 230 lib/pacemaker/pcmk_sched_ordering.c const char *rsc_id = crm_element_value(xml, resource_attr); xml 231 lib/pacemaker/pcmk_sched_ordering.c const char *instance_id = crm_element_value(xml, instance_attr); xml 235 lib/pacemaker/pcmk_sched_ordering.c ID(xml), resource_attr); xml 242 lib/pacemaker/pcmk_sched_ordering.c "does not exist", ID(xml), rsc_id); xml 250 lib/pacemaker/pcmk_sched_ordering.c ID(xml), rsc_id, instance_id); xml 257 lib/pacemaker/pcmk_sched_ordering.c "'%s'", ID(xml), rsc_id, instance_id); xml 274 lib/pacemaker/pcmk_sched_ordering.c get_minimum_first_instances(pe_resource_t *rsc, xmlNode *xml) xml 295 lib/pacemaker/pcmk_sched_ordering.c if (pcmk__xe_get_bool_attr(xml, "require-all", &require_all) != ENODATA) { xml 115 lib/pacemaker/pcmk_sched_resource.c const char *value = crm_element_value(rsc->xml, attr_list[i]); xml 469 lib/pacemaker/pcmk_simulate.c const char *node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 470 lib/pacemaker/pcmk_simulate.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 500 lib/pacemaker/pcmk_simulate.c const char *operation = crm_element_value(action->xml, "operation"); xml 506 lib/pacemaker/pcmk_simulate.c xmlNode *action_rsc = first_named_child(action->xml, XML_CIB_TAG_RESOURCE); xml 508 lib/pacemaker/pcmk_simulate.c char *node = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET); xml 510 lib/pacemaker/pcmk_simulate.c const char *router_node = crm_element_value(action->xml, xml 520 lib/pacemaker/pcmk_simulate.c crm_log_xml_err(action->xml, "Bad"); xml 532 lib/pacemaker/pcmk_simulate.c crm_log_xml_err(action->xml, "No ID"); xml 563 lib/pacemaker/pcmk_simulate.c uuid = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 660 lib/pacemaker/pcmk_simulate.c const char *node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 661 lib/pacemaker/pcmk_simulate.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 662 lib/pacemaker/pcmk_simulate.c xmlNode *rsc = first_named_child(action->xml, XML_CIB_TAG_RESOURCE); xml 683 lib/pacemaker/pcmk_simulate.c char *target = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET); xml 961 lib/pacemaker/pcmk_simulate.c pcmk_simulate(xmlNodePtr *xml, pe_working_set_t *data_set, xml 969 lib/pacemaker/pcmk_simulate.c rc = pcmk__out_prologue(&out, xml); xml 979 lib/pacemaker/pcmk_simulate.c pcmk__out_epilogue(out, xml, rc); xml 206 lib/pacemaker/pcmk_status.c pcmk_status(xmlNodePtr *xml) xml 220 lib/pacemaker/pcmk_status.c rc = pcmk__out_prologue(&out, xml); xml 232 lib/pacemaker/pcmk_status.c pcmk__out_epilogue(out, xml, rc); xml 957 lib/pengine/bundle.c && xml_contains_remote_node(rsc->xml); xml 962 lib/pengine/bundle.c xmlNode *xml, const char *field) xml 993 lib/pengine/bundle.c if(xml != NULL && field != NULL) { xml 994 lib/pengine/bundle.c crm_xml_add(xml, field, node->details->uname); xml 1022 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, PE__CONTAINER_AGENT_DOCKER_S); xml 1026 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, PE__CONTAINER_AGENT_RKT_S); xml 1030 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, PE__CONTAINER_AGENT_PODMAN_S); xml 1071 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, "network"); xml 1108 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, "storage"); xml 1133 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, "primitive"); xml 1196 lib/pengine/bundle.c pe_err("Failed unpacking resource %s", ID(rsc->xml)); xml 1556 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), show_opts, xml 1561 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), show_opts, xml 1566 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), show_opts, xml 1571 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), show_opts, xml 1673 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), xml 1678 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), xml 1683 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), xml 1688 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), xml 1803 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), xml 1808 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), xml 1813 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), xml 1818 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), xml 1952 lib/pengine/bundle.c free_xml(replica->ip->xml); xml 1953 lib/pengine/bundle.c replica->ip->xml = NULL; xml 1958 lib/pengine/bundle.c free_xml(replica->container->xml); xml 1959 lib/pengine/bundle.c replica->container->xml = NULL; xml 1964 lib/pengine/bundle.c free_xml(replica->remote->xml); xml 1965 lib/pengine/bundle.c replica->remote->xml = NULL; xml 2000 lib/pengine/bundle.c free_xml(bundle_data->child->xml); xml 2001 lib/pengine/bundle.c bundle_data->child->xml = NULL; xml 209 lib/pengine/clone.c xmlNode *xml_obj = rsc->xml; xml 743 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, xml 873 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, xml 1048 lib/pengine/clone.c free_xml(child_rsc->xml); xml 1049 lib/pengine/clone.c child_rsc->xml = NULL; xml 113 lib/pengine/complex.c pe__unpack_dataset_nvpairs(p->xml, XML_TAG_META_SETS, xml 144 lib/pengine/complex.c .standard = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS), xml 145 lib/pengine/complex.c .provider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER), xml 146 lib/pengine/complex.c .agent = crm_element_value(rsc->xml, XML_EXPR_ATTR_TYPE) xml 162 lib/pengine/complex.c for (xmlAttrPtr a = pcmk__xe_first_attr(rsc->xml); a != NULL; a = a->next) { xml 164 lib/pengine/complex.c const char *prop_value = crm_element_value(rsc->xml, prop_name); xml 169 lib/pengine/complex.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_META_SETS, &rule_data, xml 206 lib/pengine/complex.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_ATTR_SETS, &rule_data, xml 234 lib/pengine/complex.c pe_eval_versioned_attributes(data_set->input, rsc->xml, XML_TAG_ATTR_SETS, xml 426 lib/pengine/complex.c if (pcmk__str_eq(crm_element_name(rsc->xml), PCMK_XE_PROMOTABLE_LEGACY, xml 536 lib/pengine/complex.c (*rsc)->xml = expanded_xml; xml 540 lib/pengine/complex.c (*rsc)->xml = xml_obj; xml 545 lib/pengine/complex.c rclass = crm_element_value((*rsc)->xml, XML_AGENT_ATTR_CLASS); xml 548 lib/pengine/complex.c ops = find_xml_node((*rsc)->xml, "operations", FALSE); xml 551 lib/pengine/complex.c (*rsc)->variant = get_resource_type(crm_element_name((*rsc)->xml)); xml 553 lib/pengine/complex.c pe_err("Unknown resource type: %s", crm_element_name((*rsc)->xml)); xml 566 lib/pengine/complex.c value = crm_element_value((*rsc)->xml, XML_RSC_ATTR_INCARNATION); xml 615 lib/pengine/complex.c if (xml_contains_remote_node((*rsc)->xml)) { xml 782 lib/pengine/complex.c && pcmk__str_eq(crm_element_value((*rsc)->xml, XML_AGENT_ATTR_CLASS), PCMK_RESOURCE_CLASS_OCF, pcmk__str_casei) xml 783 lib/pengine/complex.c && pcmk__str_eq(crm_element_value((*rsc)->xml, XML_AGENT_ATTR_PROVIDER), "pacemaker", pcmk__str_casei) xml 784 lib/pengine/complex.c && pcmk__str_eq(crm_element_value((*rsc)->xml, XML_ATTR_TYPE), "remote", pcmk__str_casei) xml 860 lib/pengine/complex.c pe__unpack_dataset_nvpairs((*rsc)->xml, XML_TAG_UTILIZATION, &rule_data, xml 956 lib/pengine/complex.c free_xml(rsc->xml); xml 957 lib/pengine/complex.c rsc->xml = NULL; xml 963 lib/pengine/complex.c free_xml(rsc->xml); xml 964 lib/pengine/complex.c rsc->xml = NULL; xml 98 lib/pengine/failcounts.c xmlXPathObject *xpathObj = xpath_search(rsc->xml, xpath); xml 101 lib/pengine/group.c xmlNode *xml_obj = rsc->xml; xml 126 lib/pengine/group.c clone_id = crm_element_value(rsc->xml, XML_RSC_ATTR_INCARNATION); xml 298 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc, xml 352 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, xml 204 lib/pengine/native.c const char *standard = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 279 lib/pengine/native.c const char *rid = ID(rsc->xml); xml 452 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 453 lib/pengine/native.c const char *prov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 463 lib/pengine/native.c crm_element_value(rsc->xml, XML_ATTR_TYPE)); xml 546 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 548 lib/pengine/native.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 562 lib/pengine/native.c provider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 659 lib/pengine/native.c const char *desc = crm_element_value(rsc->xml, XML_ATTR_DESC); xml 689 lib/pengine/native.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 918 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 919 lib/pengine/native.c const char *prov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 940 lib/pengine/native.c crm_element_value(rsc->xml, XML_ATTR_TYPE)); xml 1114 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1115 lib/pengine/native.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 1129 lib/pengine/native.c const char *prov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 216 lib/pengine/pe_digest.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1491 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), show_opts, xml 1628 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), show_opts, xml 1714 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), show_opts, xml 1879 lib/pengine/pe_output.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1880 lib/pengine/pe_output.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 1884 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 2464 lib/pengine/pe_output.c rsc_xml = dump_xml_formatted(rsc->orig_xml ? rsc->orig_xml : rsc->xml); xml 2466 lib/pengine/pe_output.c rsc_xml = dump_xml_formatted(rsc->xml); xml 2632 lib/pengine/pe_output.c x = out->message(out, crm_map_element_name(rsc->xml), show_opts, rsc, xml 2957 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), show_opts, xml 84 lib/pengine/remote.c xml_contains_remote_node(xmlNode *xml) xml 88 lib/pengine/remote.c if (xml == NULL) { xml 92 lib/pengine/remote.c value = crm_element_value(xml, XML_ATTR_TYPE); xml 97 lib/pengine/remote.c value = crm_element_value(xml, XML_AGENT_ATTR_CLASS); xml 102 lib/pengine/remote.c value = crm_element_value(xml, XML_AGENT_ATTR_PROVIDER); xml 277 lib/pengine/rules.c update_field(crm_time_t *t, xmlNode *xml, const char *attr, xml 282 lib/pengine/rules.c if ((pcmk__scan_ll(crm_element_value(xml, attr), &value, 0LL) == pcmk_rc_ok) xml 24 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c xmlNodePtr xml = string2xml(x); xml 26 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c assert_int_equal(pe_cron_range_satisfied(tm, xml), expected); xml 29 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 2494 lib/pengine/unpack.c unpack_node_lrm(pe_node_t *node, xmlNode *xml, pe_working_set_t *data_set) xml 2499 lib/pengine/unpack.c xml = find_xml_node(xml, XML_CIB_TAG_LRM, FALSE); xml 2500 lib/pengine/unpack.c if (xml == NULL) { xml 2503 lib/pengine/unpack.c xml = find_xml_node(xml, XML_LRM_TAG_RESOURCES, FALSE); xml 2504 lib/pengine/unpack.c if (xml == NULL) { xml 2509 lib/pengine/unpack.c for (xmlNode *rsc_entry = first_named_child(xml, XML_LRM_TAG_RESOURCE); xml 2524 lib/pengine/unpack.c handle_orphaned_container_fillers(xml, data_set); xml 2556 lib/pengine/unpack.c xmlNode *xml = NULL; xml 2581 lib/pengine/unpack.c xml = get_xpath_object(xpath, data_set->input, LOG_DEBUG); xml 2583 lib/pengine/unpack.c if (xml && success_only) { xml 2587 lib/pengine/unpack.c crm_element_value_int(xml, XML_LRM_ATTR_RC, &rc); xml 2588 lib/pengine/unpack.c crm_element_value_int(xml, XML_LRM_ATTR_OPSTATUS, &status); xml 2593 lib/pengine/unpack.c return xml; xml 1075 lib/pengine/utils.c .standard = crm_element_value(action->rsc->xml, XML_AGENT_ATTR_CLASS), xml 1076 lib/pengine/utils.c .provider = crm_element_value(action->rsc->xml, XML_AGENT_ATTR_PROVIDER), xml 1077 lib/pengine/utils.c .agent = crm_element_value(action->rsc->xml, XML_EXPR_ATTR_TYPE) xml 2015 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 1695 tools/crm_mon.c handle_rsc_op(xmlNode * xml, const char *node_id) xml 1709 tools/crm_mon.c xmlNode *n = xml; xml 1710 tools/crm_mon.c xmlNode * rsc_op = xml; xml 1712 tools/crm_mon.c if(strcmp((const char*)xml->name, XML_LRM_TAG_RSC_OP) != 0) { xml 1715 tools/crm_mon.c for(cIter = xml->children; cIter; cIter = cIter->next) { xml 2023 tools/crm_resource.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_UTILIZATION, NULL, params, xml 108 tools/crm_resource.h int update_working_set_xml(pe_working_set_t *data_set, xmlNode **xml); xml 63 tools/crm_resource_print.c const char *rtype = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 64 tools/crm_resource_print.c const char *rprov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 65 tools/crm_resource_print.c const char *rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 79 tools/crm_resource_print.c crm_element_name(rsc->xml), rsc->id, xml 123 tools/crm_resource_print.c out->message(out, crm_map_element_name(rsc->xml), show_opts, rsc, all, all); xml 293 tools/crm_resource_print.c const char *value = crm_element_value(rsc->xml, attr); xml 310 tools/crm_resource_print.c const char *value = crm_element_value(rsc->xml, attr); xml 360 tools/crm_resource_runtime.c const char *tag = crm_element_name(rsc->xml); xml 530 tools/crm_resource_runtime.c rsc_class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 531 tools/crm_resource_runtime.c rsc_provider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER), xml 532 tools/crm_resource_runtime.c rsc_type = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 1074 tools/crm_resource_runtime.c update_working_set_xml(pe_working_set_t *data_set, xmlNode **xml) xml 1076 tools/crm_resource_runtime.c if (cli_config_update(xml, NULL, FALSE) == FALSE) { xml 1079 tools/crm_resource_runtime.c data_set->input = *xml; xml 1918 tools/crm_resource_runtime.c rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1919 tools/crm_resource_runtime.c rprov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 1920 tools/crm_resource_runtime.c rtype = crm_element_value(rsc->xml, XML_ATTR_TYPE);