xml 55 daemons/attrd/attrd_commands.c void attrd_peer_update(crm_node_t *peer, xmlNode *xml, const char *host, bool filter); xml 56 daemons/attrd/attrd_commands.c void attrd_peer_sync(crm_node_t *peer, xmlNode *xml); xml 59 daemons/attrd/attrd_commands.c static void broadcast_unseen_local_values(crm_node_t *peer, xmlNode *xml); xml 144 daemons/attrd/attrd_commands.c xmlNode *xml = create_xml_node(parent, __func__); xml 146 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NAME, a->id); xml 147 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_SET, a->set); xml 148 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_UUID, a->uuid); xml 149 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_USER, a->user); xml 150 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NODE_NAME, v->nodename); xml 152 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_NODE_ID, v->nodeid); xml 155 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_IS_REMOTE, 1); xml 157 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_VALUE, v->current); xml 158 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_DAMPENING, a->timeout_ms / 1000); xml 159 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_IS_PRIVATE, a->is_private); xml 160 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_FORCE, force_write); xml 162 daemons/attrd/attrd_commands.c return xml; xml 184 daemons/attrd/attrd_commands.c create_attribute(xmlNode *xml) xml 187 daemons/attrd/attrd_commands.c const char *value = crm_element_value(xml, PCMK__XA_ATTR_DAMPENING); xml 190 daemons/attrd/attrd_commands.c a->id = crm_element_value_copy(xml, PCMK__XA_ATTR_NAME); xml 191 daemons/attrd/attrd_commands.c a->set = crm_element_value_copy(xml, PCMK__XA_ATTR_SET); xml 192 daemons/attrd/attrd_commands.c a->uuid = crm_element_value_copy(xml, PCMK__XA_ATTR_UUID); xml 195 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_IS_PRIVATE, &a->is_private); xml 197 daemons/attrd/attrd_commands.c a->user = crm_element_value_copy(xml, PCMK__XA_ATTR_USER); xml 228 daemons/attrd/attrd_commands.c attrd_client_peer_remove(pcmk__client_t *client, xmlNode *xml) xml 231 daemons/attrd/attrd_commands.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); xml 237 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_NODE_ID, &nodeid); xml 250 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NODE_NAME, host); xml 257 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); /* ends up at attrd_peer_message() */ xml 274 daemons/attrd/attrd_commands.c attrd_client_update(xmlNode *xml) xml 277 daemons/attrd/attrd_commands.c char *host = crm_element_value_copy(xml, PCMK__XA_ATTR_NODE_NAME); xml 278 daemons/attrd/attrd_commands.c const char *attr = crm_element_value(xml, PCMK__XA_ATTR_NAME); xml 279 daemons/attrd/attrd_commands.c const char *value = crm_element_value(xml, PCMK__XA_ATTR_VALUE); xml 280 daemons/attrd/attrd_commands.c const char *regex = crm_element_value(xml, PCMK__XA_ATTR_PATTERN); xml 298 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NAME, attr); xml 299 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); xml 318 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NODE_NAME, host); xml 319 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_NODE_ID, attrd_cluster->nodeid); xml 336 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_VALUE, int_value); xml 339 daemons/attrd/attrd_commands.c value = crm_element_value(xml, PCMK__XA_ATTR_VALUE); xml 348 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); /* ends up at attrd_peer_message() */ xml 358 daemons/attrd/attrd_commands.c attrd_client_clear_failure(xmlNode *xml) xml 368 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); xml 373 daemons/attrd/attrd_commands.c const char *rsc = crm_element_value(xml, PCMK__XA_ATTR_RESOURCE); xml 374 daemons/attrd/attrd_commands.c const char *op = crm_element_value(xml, PCMK__XA_ATTR_OPERATION); xml 375 daemons/attrd/attrd_commands.c const char *interval_spec = crm_element_value(xml, PCMK__XA_ATTR_INTERVAL); xml 378 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_TASK, PCMK__ATTRD_CMD_UPDATE); xml 395 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_PATTERN, pattern); xml 399 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_PATTERN, ATTRD_RE_CLEAR_ALL); xml 403 daemons/attrd/attrd_commands.c if (crm_element_value(xml, PCMK__XA_ATTR_NAME)) { xml 404 daemons/attrd/attrd_commands.c crm_xml_replace(xml, PCMK__XA_ATTR_NAME, NULL); xml 406 daemons/attrd/attrd_commands.c if (crm_element_value(xml, PCMK__XA_ATTR_VALUE)) { xml 407 daemons/attrd/attrd_commands.c crm_xml_replace(xml, PCMK__XA_ATTR_VALUE, NULL); xml 410 daemons/attrd/attrd_commands.c attrd_client_update(xml); xml 553 daemons/attrd/attrd_commands.c attrd_peer_clear_failure(crm_node_t *peer, xmlNode *xml) xml 555 daemons/attrd/attrd_commands.c const char *rsc = crm_element_value(xml, PCMK__XA_ATTR_RESOURCE); xml 556 daemons/attrd/attrd_commands.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); xml 557 daemons/attrd/attrd_commands.c const char *op = crm_element_value(xml, PCMK__XA_ATTR_OPERATION); xml 558 daemons/attrd/attrd_commands.c const char *interval_spec = crm_element_value(xml, PCMK__XA_ATTR_INTERVAL); xml 570 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_TASK, PCMK__ATTRD_CMD_UPDATE); xml 573 daemons/attrd/attrd_commands.c if (crm_element_value(xml, PCMK__XA_ATTR_VALUE)) { xml 574 daemons/attrd/attrd_commands.c crm_xml_replace(xml, PCMK__XA_ATTR_VALUE, NULL); xml 582 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NAME, attr); xml 583 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, FALSE); xml 598 daemons/attrd/attrd_commands.c process_peer_sync_response(crm_node_t *peer, bool peer_won, xmlNode *xml) xml 611 daemons/attrd/attrd_commands.c for (xmlNode *child = pcmk__xml_first_child(xml); child != NULL; xml 622 daemons/attrd/attrd_commands.c broadcast_unseen_local_values(peer, xml); xml 646 daemons/attrd/attrd_commands.c attrd_peer_message(crm_node_t *peer, xmlNode *xml) xml 648 daemons/attrd/attrd_commands.c const char *op = crm_element_value(xml, PCMK__XA_TASK); xml 649 daemons/attrd/attrd_commands.c const char *election_op = crm_element_value(xml, F_CRM_TASK); xml 650 daemons/attrd/attrd_commands.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); xml 654 daemons/attrd/attrd_commands.c attrd_handle_election_op(peer, xml); xml 666 daemons/attrd/attrd_commands.c peer_won = attrd_check_for_new_writer(peer, xml); xml 670 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, FALSE); xml 673 daemons/attrd/attrd_commands.c attrd_peer_sync(peer, xml); xml 682 daemons/attrd/attrd_commands.c attrd_peer_clear_failure(peer, xml); xml 686 daemons/attrd/attrd_commands.c process_peer_sync_response(peer, peer_won, xml); xml 696 daemons/attrd/attrd_commands.c attrd_peer_sync(crm_node_t *peer, xmlNode *xml) xml 762 daemons/attrd/attrd_commands.c attrd_lookup_or_create_value(GHashTable *values, const char *host, xmlNode *xml) xml 767 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_IS_REMOTE, &is_remote); xml 786 daemons/attrd/attrd_commands.c broadcast_unseen_local_values(crm_node_t *peer, xmlNode *xml) xml 843 daemons/attrd/attrd_commands.c attrd_peer_update(crm_node_t *peer, xmlNode *xml, const char *host, bool filter) xml 850 daemons/attrd/attrd_commands.c const char *op = crm_element_value(xml, PCMK__XA_TASK); xml 851 daemons/attrd/attrd_commands.c const char *attr = crm_element_value(xml, PCMK__XA_ATTR_NAME); xml 852 daemons/attrd/attrd_commands.c const char *value = crm_element_value(xml, PCMK__XA_ATTR_VALUE); xml 853 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_FORCE, &is_force_write); xml 868 daemons/attrd/attrd_commands.c a = create_attribute(xml); xml 877 daemons/attrd/attrd_commands.c const char *dvalue = crm_element_value(xml, PCMK__XA_ATTR_DAMPENING); xml 922 daemons/attrd/attrd_commands.c xml_remove_prop(xml, PCMK__XA_ATTR_NODE_ID); xml 925 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, filter); xml 932 daemons/attrd/attrd_commands.c v = attrd_lookup_or_create_value(a->values, host, xml); xml 983 daemons/attrd/attrd_commands.c && (crm_element_value_int(xml, PCMK__XA_ATTR_NODE_ID, xml 52 daemons/attrd/attrd_elections.c attrd_handle_election_op(const crm_node_t *peer, xmlNode *xml) xml 57 daemons/attrd/attrd_elections.c crm_xml_add(xml, F_CRM_HOST_FROM, peer->uname); xml 60 daemons/attrd/attrd_elections.c rc = election_count_vote(writer, xml, !attrd_shutting_down()); xml 102 daemons/attrd/attrd_elections.c attrd_check_for_new_writer(const crm_node_t *peer, const xmlNode *xml) xml 106 daemons/attrd/attrd_elections.c crm_element_value_int(xml, PCMK__XA_ATTR_WRITER, &peer_state); xml 166 daemons/attrd/attrd_elections.c attrd_xml_add_writer(xmlNode *xml) xml 168 daemons/attrd/attrd_elections.c crm_xml_add_int(xml, PCMK__XA_ATTR_WRITER, election_state(writer)); xml 46 daemons/attrd/pacemaker-attrd.c xmlNode *xml = NULL; xml 55 daemons/attrd/pacemaker-attrd.c xml = string2xml(data); xml 58 daemons/attrd/pacemaker-attrd.c if (xml == NULL) { xml 63 daemons/attrd/pacemaker-attrd.c attrd_peer_message(peer, xml); xml 66 daemons/attrd/pacemaker-attrd.c free_xml(xml); xml 228 daemons/attrd/pacemaker-attrd.c xmlNode *xml = NULL; xml 237 daemons/attrd/pacemaker-attrd.c xml = pcmk__client_data2xml(client, data, &id, &flags); xml 238 daemons/attrd/pacemaker-attrd.c if (xml == NULL) { xml 244 daemons/attrd/pacemaker-attrd.c pcmk__update_acl_user(xml, PCMK__XA_ATTR_USER, client->user); xml 246 daemons/attrd/pacemaker-attrd.c op = crm_element_value(xml, PCMK__XA_TASK); xml 249 daemons/attrd/pacemaker-attrd.c const char *value = crm_element_value(xml, F_ORIG); xml 255 daemons/attrd/pacemaker-attrd.c attrd_client_peer_remove(client, xml); xml 259 daemons/attrd/pacemaker-attrd.c attrd_client_clear_failure(xml); xml 263 daemons/attrd/pacemaker-attrd.c attrd_client_update(xml); xml 267 daemons/attrd/pacemaker-attrd.c attrd_client_update(xml); xml 271 daemons/attrd/pacemaker-attrd.c attrd_client_update(xml); xml 279 daemons/attrd/pacemaker-attrd.c attrd_client_query(client, id, flags, xml); xml 286 daemons/attrd/pacemaker-attrd.c free_xml(xml); xml 79 daemons/attrd/pacemaker-attrd.h void attrd_handle_election_op(const crm_node_t *peer, xmlNode *xml); xml 80 daemons/attrd/pacemaker-attrd.h bool attrd_check_for_new_writer(const crm_node_t *peer, const xmlNode *xml); xml 83 daemons/attrd/pacemaker-attrd.h void attrd_xml_add_writer(xmlNode *xml); xml 126 daemons/attrd/pacemaker-attrd.h void attrd_client_peer_remove(pcmk__client_t *client, xmlNode *xml); xml 127 daemons/attrd/pacemaker-attrd.h void attrd_client_clear_failure(xmlNode *xml); xml 128 daemons/attrd/pacemaker-attrd.h void attrd_client_update(xmlNode *xml); xml 115 daemons/based/based_notify.c cib_notify_send(xmlNode * xml) xml 121 daemons/based/based_notify.c int rc = pcmk__ipc_prepare_iov(0, xml, 0, &iov, &bytes); xml 124 daemons/based/based_notify.c update.msg = xml; xml 242 daemons/based/pacemaker-based.c xmlNode *xml = NULL; xml 250 daemons/based/pacemaker-based.c xml = string2xml(data); xml 251 daemons/based/pacemaker-based.c if (xml == NULL) { xml 256 daemons/based/pacemaker-based.c crm_xml_add(xml, F_ORIG, from); xml 258 daemons/based/pacemaker-based.c cib_peer_callback(xml, NULL); xml 261 daemons/based/pacemaker-based.c free_xml(xml); xml 257 daemons/controld/controld_callbacks.c const char *task = crm_element_value(down->xml, XML_LRM_ATTR_TASK); xml 41 daemons/controld/controld_corosync.c xmlNode *xml = string2xml(data); xml 43 daemons/controld/controld_corosync.c if (xml == NULL) { xml 49 daemons/controld/controld_corosync.c crm_xml_add(xml, F_ORIG, from); xml 62 daemons/controld/controld_corosync.c crmd_ha_msg_filter(xml); xml 63 daemons/controld/controld_corosync.c free_xml(xml); xml 275 daemons/controld/controld_execd.c lrmd_event_data_t *op = construct_op(lrm_state, input->xml, rsc_id, task); xml 922 daemons/controld/controld_execd.c op = construct_op(lrm_state, input->xml, rsc_id, CRMD_ACTION_DELETE); xml 1495 daemons/controld/controld_execd.c lrm_op_target(xmlNode *xml) xml 1499 daemons/controld/controld_execd.c if (xml) { xml 1500 daemons/controld/controld_execd.c target = crm_element_value(xml, XML_LRM_ATTR_TARGET); xml 1509 daemons/controld/controld_execd.c fail_lrm_resource(xmlNode *xml, lrm_state_t *lrm_state, const char *user_name, xml 1514 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(xml, XML_CIB_TAG_RESOURCE, TRUE); xml 1526 daemons/controld/controld_execd.c op = construct_op(lrm_state, xml, ID(xml_rsc), "asyncmon"); xml 1547 daemons/controld/controld_execd.c process_lrm_event(lrm_state, op, NULL, xml); xml 1553 daemons/controld/controld_execd.c crm_log_xml_warn(xml, "bad input"); xml 1635 daemons/controld/controld_execd.c xmlNode *params = find_xml_node(input->xml, XML_TAG_ATTRS, TRUE); xml 1719 daemons/controld/controld_execd.c op = construct_op(lrm_state, input->xml, rsc->id, CRMD_ACTION_DELETE); xml 1756 daemons/controld/controld_execd.c target_node = lrm_op_target(input->xml); xml 1764 daemons/controld/controld_execd.c synthesize_lrmd_failure(NULL, input->xml, PCMK_EXEC_NOT_CONNECTED, xml 1787 daemons/controld/controld_execd.c fail_lrm_resource(input->xml, lrm_state, user_name, from_host, xml 1791 daemons/controld/controld_execd.c } else if (input->xml != NULL) { xml 1792 daemons/controld/controld_execd.c operation = crm_element_value(input->xml, XML_LRM_ATTR_TASK); xml 1812 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(input->xml, XML_CIB_TAG_RESOURCE, TRUE); xml 1822 daemons/controld/controld_execd.c synthesize_lrmd_failure(lrm_state, input->xml, xml 1835 daemons/controld/controld_execd.c rc, pcmk_strerror(rc), ID(input->xml)); xml 1844 daemons/controld/controld_execd.c synthesize_lrmd_failure(lrm_state, input->xml, PCMK_EXEC_ERROR, xml 1855 daemons/controld/controld_execd.c synthesize_lrmd_failure(lrm_state, input->xml, PCMK_EXEC_ERROR, xml 1863 daemons/controld/controld_execd.c crm_log_xml_warn(input->xml, "Bad command"); xml 1886 daemons/controld/controld_execd.c do_lrm_rsc_op(lrm_state, rsc, reload_name, input->xml); xml 1889 daemons/controld/controld_execd.c do_lrm_rsc_op(lrm_state, rsc, operation, input->xml); xml 2742 daemons/controld/controld_execd.c xmlNode *xml = find_xml_node(action_xml, XML_CIB_TAG_RESOURCE, TRUE); xml 2744 daemons/controld/controld_execd.c const char *standard = crm_element_value(xml, XML_AGENT_ATTR_CLASS); xml 2745 daemons/controld/controld_execd.c const char *provider = crm_element_value(xml, XML_AGENT_ATTR_PROVIDER); xml 2746 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 751 daemons/controld/controld_fencing.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 752 daemons/controld/controld_fencing.c const char *uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 794 daemons/controld/controld_fencing.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 853 daemons/controld/controld_fencing.c id = ID(action->xml); xml 854 daemons/controld/controld_fencing.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 855 daemons/controld/controld_fencing.c uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 864 daemons/controld/controld_fencing.c crm_log_xml_warn(action->xml, "BadAction"); xml 464 daemons/controld/controld_fsa.c crm_log_xml_trace(ha_input->xml, "FSA message data"); xml 324 daemons/controld/controld_join_dc.c generation = join_ack->xml; xml 380 daemons/controld/controld_join_dc.c max_generation_xml = copy_xml(join_ack->xml); xml 604 daemons/controld/controld_join_dc.c fsa_cib_update(XML_CIB_TAG_STATUS, join_ack->xml, xml 610 daemons/controld/controld_join_dc.c fsa_cib_update(XML_CIB_TAG_STATUS, join_ack->xml, xml 179 daemons/controld/controld_lrm.h void remote_ra_process_pseudo(xmlNode *xml); xml 181 daemons/controld/controld_lrm.h void remote_ra_process_maintenance_nodes(xmlNode *xml); xml 197 daemons/controld/controld_messages.c copy->xml = get_message_xml(copy->msg, F_CRM_DATA); xml 796 daemons/controld/controld_messages.c xmlNode *xml = create_xml_node(reply_data, XML_CIB_TAG_NODE); xml 798 daemons/controld/controld_messages.c crm_xml_add_ll(xml, XML_ATTR_ID, (long long) node->id); // uint32_t xml 799 daemons/controld/controld_messages.c crm_xml_add(xml, XML_ATTR_UNAME, node->uname); xml 800 daemons/controld/controld_messages.c crm_xml_add(xml, XML_NODE_IN_CLUSTER, node->state); xml 1109 daemons/controld/controld_messages.c xmlNode *xml = get_message_xml(stored_msg, F_CRM_DATA); xml 1111 daemons/controld/controld_messages.c remote_ra_process_maintenance_nodes(xml); xml 1223 daemons/controld/controld_messages.c fsa_input.xml = get_message_xml(msg, F_CRM_DATA); xml 21 daemons/controld/controld_messages.h xmlNode *xml; xml 1231 daemons/controld/controld_remote_ra.c remote_ra_process_pseudo(xmlNode *xml) xml 1233 daemons/controld/controld_remote_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_FENCE); xml 1300 daemons/controld/controld_remote_ra.c remote_ra_process_maintenance_nodes(xmlNode *xml) xml 1302 daemons/controld/controld_remote_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_MAINTENANCE); xml 361 daemons/controld/controld_schedulerd.c force_local_option(xmlNode *xml, const char *attr_name, const char *attr_value) xml 371 daemons/controld/controld_schedulerd.c xpathObj = xpath_search(xml, xpath_string); xml 389 daemons/controld/controld_schedulerd.c configuration = pcmk__xe_match(xml, XML_CIB_TAG_CONFIGURATION, NULL, xml 392 daemons/controld/controld_schedulerd.c configuration = create_xml_node(xml, XML_CIB_TAG_CONFIGURATION); xml 408 daemons/controld/controld_schedulerd.c xml = create_xml_node(cluster_property_set, XML_CIB_TAG_NVPAIR); xml 410 daemons/controld/controld_schedulerd.c crm_xml_set_id(xml, "%s-%s", CIB_OPTIONS_FIRST, attr_name); xml 411 daemons/controld/controld_schedulerd.c crm_xml_add(xml, XML_NVPAIR_ATTR_NAME, attr_name); xml 412 daemons/controld/controld_schedulerd.c crm_xml_add(xml, XML_NVPAIR_ATTR_VALUE, attr_value); xml 43 daemons/controld/controld_te_actions.c const char *task = crm_element_value(pseudo->xml, XML_LRM_ATTR_TASK); xml 58 daemons/controld/controld_te_actions.c cmd = create_request(task, pseudo->xml, node->uname, xml 64 daemons/controld/controld_te_actions.c remote_ra_process_maintenance_nodes(pseudo->xml); xml 67 daemons/controld/controld_te_actions.c remote_ra_process_pseudo(pseudo->xml); xml 71 daemons/controld/controld_te_actions.c crm_element_value(pseudo->xml, XML_LRM_ATTR_TASK_KEY)); xml 102 daemons/controld/controld_te_actions.c id = ID(action->xml); xml 103 daemons/controld/controld_te_actions.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 104 daemons/controld/controld_te_actions.c on_node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 105 daemons/controld/controld_te_actions.c router_node = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 110 daemons/controld/controld_te_actions.c const char *mode = crm_element_value(action->xml, PCMK__XA_MODE); xml 149 daemons/controld/controld_te_actions.c cmd = create_request(task, action->xml, router_node, CRM_SYSTEM_CRMD, CRM_SYSTEM_TENGINE, NULL); xml 190 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 191 daemons/controld/controld_te_actions.c const char *task_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 192 daemons/controld/controld_te_actions.c const char *target_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 198 daemons/controld/controld_te_actions.c crm_element_name(action->xml), action->id, task_uuid, target); xml 200 daemons/controld/controld_te_actions.c action_rsc = find_xml_node(action->xml, XML_CIB_TAG_RESOURCE, TRUE); xml 207 daemons/controld/controld_te_actions.c crm_log_xml_err(action->xml, "Bad:action"); return); xml 287 daemons/controld/controld_te_actions.c CRM_ASSERT(action->xml != NULL); xml 290 daemons/controld/controld_te_actions.c on_node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 293 daemons/controld/controld_te_actions.c crm_err("Corrupted command(id=%s) %s: no node", ID(action->xml), crm_str(task)); xml 296 daemons/controld/controld_te_actions.c rsc_op = action->xml; xml 298 daemons/controld/controld_te_actions.c task_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 329 daemons/controld/controld_te_actions.c .xml = rsc_op, xml 438 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 439 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 450 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 462 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 473 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 474 daemons/controld/controld_te_actions.c const char *id = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 515 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 526 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 538 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 555 daemons/controld/controld_te_actions.c && (crm_element_value(action->xml, XML_LRM_ATTR_TARGET) != NULL)) { xml 237 daemons/controld/controld_te_callbacks.c process_resource_updates(const char *node, xmlNode *xml, xmlNode *change, xml 242 daemons/controld/controld_te_callbacks.c if (xml == NULL) { xml 246 daemons/controld/controld_te_callbacks.c if (strcmp(TYPE(xml), XML_CIB_TAG_LRM) == 0) { xml 247 daemons/controld/controld_te_callbacks.c xml = first_named_child(xml, XML_LRM_TAG_RESOURCES); xml 248 daemons/controld/controld_te_callbacks.c CRM_CHECK(xml != NULL, return); xml 251 daemons/controld/controld_te_callbacks.c CRM_CHECK(strcmp(TYPE(xml), XML_LRM_TAG_RESOURCES) == 0, return); xml 266 daemons/controld/controld_te_callbacks.c && xml->children && xml->children->next) { xml 273 daemons/controld/controld_te_callbacks.c for (rsc = pcmk__xml_first_child(xml); rsc != NULL; xml 670 daemons/controld/controld_te_callbacks.c task = crm_element_value(timer->action->xml, XML_LRM_ATTR_TASK); xml 671 daemons/controld/controld_te_callbacks.c on_node = crm_element_value(timer->action->xml, XML_LRM_ATTR_TARGET); xml 672 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 212 daemons/controld/controld_transition.c if (graph_data != input->xml) { xml 93 daemons/execd/pacemaker-execd.h void ipc_proxy_forward_client(pcmk__client_t *client, xmlNode *xml); xml 148 daemons/execd/remoted_proxy.c ipc_proxy_forward_client(pcmk__client_t *ipc_proxy, xmlNode *xml) xml 150 daemons/execd/remoted_proxy.c const char *session = crm_element_value(xml, F_LRMD_IPC_SESSION); xml 151 daemons/execd/remoted_proxy.c const char *msg_type = crm_element_value(xml, F_LRMD_IPC_OP); xml 152 daemons/execd/remoted_proxy.c xmlNode *msg = get_message_xml(xml, F_LRMD_IPC_MSG); xml 201 daemons/execd/remoted_proxy.c crm_element_value_int(xml, F_LRMD_IPC_MSG_ID, &msg_id); xml 800 daemons/fenced/fenced_commands.c is_nodeid_required(xmlNode * xml) xml 808 daemons/fenced/fenced_commands.c if (!xml) { xml 812 daemons/fenced/fenced_commands.c xpath = xpath_search(xml, "//parameter[@name='nodeid']"); xml 2034 daemons/fenced/fenced_commands.c add_action_specific_attributes(xmlNode *xml, const char *action, xml 2041 daemons/fenced/fenced_commands.c CRM_CHECK(xml && action && device, return); xml 2045 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_DEVICE_REQUIRED, 1); xml 2052 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_ACTION_TIMEOUT, action_specific_timeout); xml 2059 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_DELAY_MAX, delay_max / 1000); xml 2064 daemons/fenced/fenced_commands.c crm_xml_add_int(xml, F_STONITH_DELAY_BASE, delay_base / 1000); xml 2091 daemons/fenced/fenced_commands.c add_disallowed(xmlNode *xml, const char *action, stonith_device_t *device, xml 2097 daemons/fenced/fenced_commands.c crm_xml_add(xml, F_STONITH_ACTION_DISALLOWED, XML_BOOLEAN_TRUE); xml 2112 daemons/fenced/fenced_commands.c add_action_reply(xmlNode *xml, const char *action, stonith_device_t *device, xml 2115 daemons/fenced/fenced_commands.c xmlNode *child = create_xml_node(xml, F_STONITH_ACTION); xml 461 daemons/fenced/fenced_remote.c delegate_from_xml(xmlNode *xml) xml 463 daemons/fenced/fenced_remote.c xmlNode *match = get_xpath_object("//@" F_STONITH_DELEGATE, xml, LOG_NEVER); xml 466 daemons/fenced/fenced_remote.c return crm_element_value_copy(xml, F_ORIG); xml 1799 daemons/fenced/fenced_remote.c parse_action_specific(xmlNode *xml, const char *peer, const char *device, xml 1804 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_ACTION_TIMEOUT, xml 1812 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DELAY_MAX, &props->delay_max[phase]); xml 1819 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DELAY_BASE, &props->delay_base[phase]); xml 1829 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DEVICE_REQUIRED, &required); xml 1840 daemons/fenced/fenced_remote.c if (crm_is_true(crm_element_value(xml, F_STONITH_ACTION_DISALLOWED))) { xml 1857 daemons/fenced/fenced_remote.c add_device_properties(xmlNode *xml, remote_fencing_op_t *op, xml 1869 daemons/fenced/fenced_remote.c crm_element_value_int(xml, F_STONITH_DEVICE_VERIFIED, &verified); xml 1877 daemons/fenced/fenced_remote.c parse_action_specific(xml, result->host, device, op_requested_action(op), xml 1879 daemons/fenced/fenced_remote.c for (child = pcmk__xml_first_child(xml); child != NULL; xml 1907 daemons/fenced/fenced_remote.c add_result(remote_fencing_op_t *op, const char *host, int ndevices, xmlNode *xml) xml 1919 daemons/fenced/fenced_remote.c for (child = pcmk__xml_first_child(xml); child != NULL; xml 196 daemons/fenced/pacemaker-fenced.c xmlNode *xml = NULL; xml 204 daemons/fenced/pacemaker-fenced.c xml = string2xml(data); xml 205 daemons/fenced/pacemaker-fenced.c if (xml == NULL) { xml 210 daemons/fenced/pacemaker-fenced.c crm_xml_add(xml, F_ORIG, from); xml 212 daemons/fenced/pacemaker-fenced.c stonith_peer_callback(xml, NULL); xml 215 daemons/fenced/pacemaker-fenced.c free_xml(xml); xml 591 daemons/fenced/pacemaker-fenced.c xmlNode *xml; xml 593 daemons/fenced/pacemaker-fenced.c xml = create_device_registration_xml( xml 602 daemons/fenced/pacemaker-fenced.c rc = stonith_device_register(xml, NULL, TRUE); xml 603 daemons/fenced/pacemaker-fenced.c free_xml(xml); xml 681 daemons/fenced/pacemaker-fenced.c rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 738 daemons/fenced/pacemaker-fenced.c const char *agent = crm_element_value(rsc->xml, XML_EXPR_ATTR_TYPE); xml 164 include/crm/cluster.h void set_uuid(xmlNode *xml, const char *attr, crm_node_t *node); xml 25 include/crm/common/acl.h bool xml_acl_enabled(xmlNode *xml); xml 26 include/crm/common/acl.h void xml_acl_disable(xmlNode *xml); xml 27 include/crm/common/acl.h bool xml_acl_denied(xmlNode *xml); xml 28 include/crm/common/acl.h bool xml_acl_filtered_copy(const char *user, xmlNode* acl_source, xmlNode *xml, xml 249 include/crm/common/logging.h # define do_crm_log_xml(level, text, xml) do { \ xml 261 include/crm/common/logging.h __LINE__, text, xml, 1, xml_log_option_formatted); \ xml 365 include/crm/common/logging.h # define crm_log_xml_crit(xml, text) do_crm_log_xml(LOG_CRIT, text, xml) xml 366 include/crm/common/logging.h # define crm_log_xml_err(xml, text) do_crm_log_xml(LOG_ERR, text, xml) xml 367 include/crm/common/logging.h # define crm_log_xml_warn(xml, text) do_crm_log_xml(LOG_WARNING, text, xml) xml 368 include/crm/common/logging.h # define crm_log_xml_notice(xml, text) do_crm_log_xml(LOG_NOTICE, text, xml) xml 369 include/crm/common/logging.h # define crm_log_xml_info(xml, text) do_crm_log_xml(LOG_INFO, text, xml) xml 370 include/crm/common/logging.h # define crm_log_xml_debug(xml, text) do_crm_log_xml(LOG_DEBUG, text, xml) xml 371 include/crm/common/logging.h # define crm_log_xml_trace(xml, text) do_crm_log_xml(LOG_TRACE, text, xml) xml 373 include/crm/common/logging.h # define crm_log_xml_explicit(xml, text) do { \ xml 379 include/crm/common/logging.h do_crm_log_xml(LOG_TRACE, text, xml); \ xml 36 include/crm/common/nvpair.h GSList *pcmk_xml_attrs2nvpairs(xmlNode *xml); xml 37 include/crm/common/nvpair.h void pcmk_nvpairs2xml_attrs(GSList *list, xmlNode *xml); xml 52 include/crm/common/nvpair.h const char *crm_xml_add_timeval(xmlNode *xml, const char *name_sec, xml 60 include/crm/common/nvpair.h int crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest); xml 53 include/crm/common/xml.h gboolean add_message_xml(xmlNode * msg, const char *field, xmlNode * xml); xml 167 include/crm/common/xml.h crm_element_name(const xmlNode *xml) xml 169 include/crm/common/xml.h return xml? (const char *)(xml->name) : NULL; xml 173 include/crm/common/xml.h crm_map_element_name(const xmlNode *xml) xml 175 include/crm/common/xml.h const char *name = crm_element_name(xml); xml 238 include/crm/common/xml.h gboolean cli_config_update(xmlNode ** xml, int *best_version, gboolean to_logs); xml 248 include/crm/common/xml.h void pcmk_free_xml_subtree(xmlNode *xml); xml 256 include/crm/common/xml.h void crm_foreach_xpath_result(xmlNode *xml, const char *xpath, xml 272 include/crm/common/xml.h bool xml_tracking_changes(xmlNode * xml); xml 273 include/crm/common/xml.h bool xml_document_dirty(xmlNode *xml); xml 274 include/crm/common/xml.h void xml_track_changes(xmlNode * xml, const char *user, xmlNode *acl_source, bool enforce_acls); xml 277 include/crm/common/xml.h void xml_accept_changes(xmlNode * xml); xml 278 include/crm/common/xml.h void xml_log_changes(uint8_t level, const char *function, xmlNode *xml); xml 279 include/crm/common/xml.h void xml_log_patchset(uint8_t level, const char *function, xmlNode *xml); xml 284 include/crm/common/xml.h int xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version); xml 288 include/crm/common/xml.h void save_xml_to_file(xmlNode * xml, const char *desc, const char *filename); xml 289 include/crm/common/xml.h char *xml_get_path(xmlNode *xml); xml 293 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 527 include/crm/pengine/internal.h xmlNode *xml, const char *field); xml 324 include/crm/pengine/pe_types.h xmlNode *xml; xml 21 include/crm/pengine/remote_internal.h bool xml_contains_remote_node(xmlNode *xml); xml 88 include/pacemaker.h int pcmk_controller_status(xmlNodePtr *xml, char *dest_node, unsigned int message_timeout_ms); xml 98 include/pacemaker.h int pcmk_designated_controller(xmlNodePtr *xml, unsigned int message_timeout_ms); xml 116 include/pacemaker.h int pcmk_pacemakerd_status(xmlNodePtr *xml, char *ipc_name, unsigned int message_timeout_ms); xml 129 include/pacemaker.h int pcmk_resource_digests(xmlNodePtr *xml, pe_resource_t *rsc, xml 162 include/pacemaker.h int pcmk_simulate(xmlNodePtr *xml, pe_working_set_t *data_set, xml 175 include/pacemaker.h int pcmk_list_nodes(xmlNodePtr *xml, char *node_types); xml 216 include/pacemaker.h int pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, xml 232 include/pacemaker.h int pcmk_fence_installed(xmlNodePtr *xml, stonith_t *st, unsigned int timeout); xml 246 include/pacemaker.h int pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid); xml 261 include/pacemaker.h int pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st, xml 277 include/pacemaker.h int pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, char *agent, xml 294 include/pacemaker.h int pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, xml 346 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 63 include/pcmki/pcmki_sched_allocate.h void (*append_meta) (pe_resource_t * rsc, xmlNode * xml); xml 90 include/pcmki/pcmki_sched_allocate.h extern void native_append_meta(pe_resource_t * rsc, xmlNode * xml); xml 105 include/pcmki/pcmki_sched_allocate.h extern void group_append_meta(pe_resource_t * rsc, xmlNode * xml); xml 128 include/pcmki/pcmki_sched_allocate.h void pcmk__bundle_append_meta(pe_resource_t *rsc, xmlNode *xml); xml 145 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 202 lib/cib/cib_utils.c cib_acl_enabled(xmlNode *xml, const char *user) xml 210 lib/cib/cib_utils.c cib_read_config(options, xml); xml 277 lib/cluster/cluster.c set_uuid(xmlNode *xml, const char *attr, crm_node_t *node) xml 279 lib/cluster/cluster.c crm_xml_add(xml, attr, crm_peer_uuid(node)); xml 52 lib/common/acl.c create_acl(xmlNode *xml, GList *acls, enum xml_private_flags mode) xml 56 lib/common/acl.c const char *tag = crm_element_value(xml, XML_ACL_ATTR_TAG); xml 57 lib/common/acl.c const char *ref = crm_element_value(xml, XML_ACL_ATTR_REF); xml 58 lib/common/acl.c const char *xpath = crm_element_value(xml, XML_ACL_ATTR_XPATH); xml 59 lib/common/acl.c const char *attr = crm_element_value(xml, XML_ACL_ATTR_ATTRIBUTE); xml 63 lib/common/acl.c tag = crm_element_value(xml, XML_ACL_ATTR_TAGv1); xml 67 lib/common/acl.c ref = crm_element_value(xml, XML_ACL_ATTR_REFv1); xml 73 lib/common/acl.c crm_element_name(xml)); xml 85 lib/common/acl.c crm_element_name(xml), acl->xpath); xml 130 lib/common/acl.c crm_element_name(xml), acl->xpath); xml 243 lib/common/acl.c pcmk__apply_acl(xmlNode *xml) xml 246 lib/common/acl.c xml_private_t *p = xml->doc->_private; xml 249 lib/common/acl.c if (!xml_acl_enabled(xml)) { xml 259 lib/common/acl.c xpathObj = xpath_search(xml, acl->xpath); xml 351 lib/common/acl.c purge_xml_attributes(xmlNode *xml) xml 356 lib/common/acl.c xml_private_t *p = xml->_private; xml 359 lib/common/acl.c crm_trace("%s[@id=%s] is readable", crm_element_name(xml), ID(xml)); xml 363 lib/common/acl.c xIter = xml->properties; xml 373 lib/common/acl.c xmlUnsetProp(xml, tmp->name); xml 376 lib/common/acl.c child = pcmk__xml_first_child(xml); xml 385 lib/common/acl.c free_xml(xml); /* Nothing readable under here, purge completely */ xml 403 lib/common/acl.c xml_acl_filtered_copy(const char *user, xmlNode *acl_source, xmlNode *xml, xml 411 lib/common/acl.c if ((xml == NULL) || !pcmk_acl_required(user)) { xml 418 lib/common/acl.c target = copy_xml(xml); xml 493 lib/common/acl.c implicitly_allowed(xmlNode *xml) xml 497 lib/common/acl.c for (xmlAttr *prop = xml->properties; prop != NULL; prop = prop->next) { xml 503 lib/common/acl.c path = xml_get_path(xml); xml 513 lib/common/acl.c #define display_id(xml) (ID(xml)? ID(xml) : "<unset>") xml 529 lib/common/acl.c pcmk__apply_creation_acl(xmlNode *xml, bool check_top) xml 531 lib/common/acl.c xml_private_t *p = xml->_private; xml 534 lib/common/acl.c if (implicitly_allowed(xml)) { xml 537 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 539 lib/common/acl.c } else if (pcmk__check_acl(xml, NULL, pcmk__xf_acl_write)) { xml 541 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 545 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 546 lib/common/acl.c pcmk_free_xml_subtree(xml); xml 551 lib/common/acl.c ((xml == xmlDocGetRootElement(xml->doc))? "root element " : ""), xml 552 lib/common/acl.c crm_element_name(xml), display_id(xml)); xml 556 lib/common/acl.c for (xmlNode *cIter = pcmk__xml_first_child(xml); cIter != NULL; ) { xml 564 lib/common/acl.c xml_acl_denied(xmlNode *xml) xml 566 lib/common/acl.c if (xml && xml->doc && xml->doc->_private){ xml 567 lib/common/acl.c xml_private_t *p = xml->doc->_private; xml 575 lib/common/acl.c xml_acl_disable(xmlNode *xml) xml 577 lib/common/acl.c if (xml_acl_enabled(xml)) { xml 578 lib/common/acl.c xml_private_t *p = xml->doc->_private; xml 581 lib/common/acl.c pcmk__apply_acl(xml); xml 582 lib/common/acl.c pcmk__apply_creation_acl(xml, false); xml 588 lib/common/acl.c xml_acl_enabled(xmlNode *xml) xml 590 lib/common/acl.c if (xml && xml->doc && xml->doc->_private){ xml 591 lib/common/acl.c xml_private_t *p = xml->doc->_private; xml 599 lib/common/acl.c pcmk__check_acl(xmlNode *xml, const char *name, enum xml_private_flags mode) xml 601 lib/common/acl.c CRM_ASSERT(xml); xml 602 lib/common/acl.c CRM_ASSERT(xml->doc); xml 603 lib/common/acl.c CRM_ASSERT(xml->doc->_private); xml 605 lib/common/acl.c if (pcmk__tracking_xml_changes(xml, false) && xml_acl_enabled(xml)) { xml 607 lib/common/acl.c xmlNode *parent = xml; xml 609 lib/common/acl.c xml_private_t *docp = xml->doc->_private; xml 611 lib/common/acl.c offset = pcmk__element_xpath(NULL, xml, buffer, offset, xml 622 lib/common/acl.c pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_denied); xml 632 lib/common/acl.c xmlAttr *attr = xmlHasProp(xml, (pcmkXmlStr) name); xml 646 lib/common/acl.c (parent != xml) ? "Parent " : "", docp->user, xml 648 lib/common/acl.c pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_denied); xml 656 lib/common/acl.c pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_denied); xml 89 lib/common/crmcommon_private.h void pcmk__set_xml_doc_flag(xmlNode *xml, enum xml_private_flags flag); xml 92 lib/common/crmcommon_private.h bool pcmk__tracking_xml_changes(xmlNode *xml, bool lazy); xml 95 lib/common/crmcommon_private.h int pcmk__element_xpath(const char *prefix, xmlNode *xml, char *buffer, xml 99 lib/common/crmcommon_private.h void pcmk__mark_xml_created(xmlNode *xml); xml 102 lib/common/crmcommon_private.h int pcmk__xml_position(xmlNode *xml, enum xml_private_flags ignore_if_set); xml 129 lib/common/crmcommon_private.h bool pcmk__check_acl(xmlNode *xml, const char *name, xml 133 lib/common/crmcommon_private.h void pcmk__apply_acl(xmlNode *xml); xml 136 lib/common/crmcommon_private.h void pcmk__apply_creation_acl(xmlNode *xml, bool check_top); xml 92 lib/common/ipc_controld.c #define xml_true(xml, field) crm_is_true(crm_element_value(xml, field)) xml 395 lib/common/ipc_server.c xmlNode *xml = NULL; xml 440 lib/common/ipc_server.c xml = string2xml(text); xml 441 lib/common/ipc_server.c crm_log_xml_trace(xml, "[IPC received]"); xml 444 lib/common/ipc_server.c return xml; xml 162 lib/common/messages.c add_message_xml(xmlNode *msg, const char *field, xmlNode *xml) xml 166 lib/common/messages.c add_node_copy(holder, xml); xml 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 593 lib/common/schemas.c validate_with(xmlNode *xml, int method, gboolean to_logs) xml 607 lib/common/schemas.c CRM_CHECK(xml != NULL, return FALSE); xml 608 lib/common/schemas.c doc = getDocPtr(xml); xml 631 lib/common/schemas.c validate_with_silent(xmlNode *xml, int method) xml 635 lib/common/schemas.c rc = validate_with(xml, method, TRUE); xml 676 lib/common/schemas.c xmlNode *xml = NULL; xml 689 lib/common/schemas.c xml = xmlDocGetRootElement(doc); xml 690 lib/common/schemas.c rc = validate_xml(xml, NULL, FALSE); xml 691 lib/common/schemas.c free_xml(xml); xml 902 lib/common/schemas.c apply_transformation(xmlNode *xml, const char *transform, gboolean to_logs) xml 915 lib/common/schemas.c CRM_CHECK(xml != NULL, return FALSE); xml 916 lib/common/schemas.c doc = getDocPtr(xml); xml 967 lib/common/schemas.c apply_upgrade(xmlNode *xml, const struct schema_s *schema, gboolean to_logs) xml 977 lib/common/schemas.c upgrade = apply_transformation(xml, schema->transform_enter, to_logs); xml 985 lib/common/schemas.c upgrade = xml; xml 991 lib/common/schemas.c if (upgrade != xml) { xml 1050 lib/common/schemas.c xmlNode *xml = NULL; xml 1062 lib/common/schemas.c xml = *xml_blob; xml 1063 lib/common/schemas.c value = crm_element_value_copy(xml, XML_ATTR_VALIDATION); xml 1090 lib/common/schemas.c if (validate_with(xml, lpc, to_logs) == FALSE) { xml 1138 lib/common/schemas.c || validate_with_silent(xml, next)) { xml 1150 lib/common/schemas.c upgrade = apply_upgrade(xml, &known_schemas[lpc], to_logs); xml 1162 lib/common/schemas.c free_xml(xml); xml 1163 lib/common/schemas.c xml = upgrade; xml 1187 lib/common/schemas.c crm_xml_add(xml, XML_ATTR_VALIDATION, known_schemas[*best].name); xml 1190 lib/common/schemas.c *xml_blob = xml; xml 1196 lib/common/schemas.c cli_config_update(xmlNode **xml, int *best_version, gboolean to_logs) xml 1199 lib/common/schemas.c const char *value = crm_element_value(*xml, XML_ATTR_VALIDATION); xml 1210 lib/common/schemas.c converted = copy_xml(*xml); xml 1263 lib/common/schemas.c free_xml(*xml); xml 1264 lib/common/schemas.c *xml = converted; xml 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 1016 lib/common/xml.c pcmk__strip_xml_text(xmlNode *xml) xml 1018 lib/common/xml.c xmlNode *iter = xml->children; xml 1046 lib/common/xml.c xmlNode *xml = NULL; xml 1079 lib/common/xml.c if (output && (xml = xmlDocGetRootElement(output))) { xml 1080 lib/common/xml.c pcmk__strip_xml_text(xml); xml 1094 lib/common/xml.c crm_err("Couldn't%s parse %s", xml ? " fully" : "", filename); xml 1095 lib/common/xml.c if (xml != NULL) { xml 1096 lib/common/xml.c crm_log_xml_err(xml, "Partial"); xml 1102 lib/common/xml.c return xml; xml 1150 lib/common/xml.c crm_xml_set_id(xmlNode *xml, const char *format, ...) xml 1163 lib/common/xml.c crm_xml_add(xml, XML_ATTR_ID, id); xml 2051 lib/common/xml.c save_xml_to_file(xmlNode * xml, const char *desc, const char *filename) xml 2064 lib/common/xml.c write_xml_file(xml, filename, FALSE); xml 2076 lib/common/xml.c set_attrs_flag(xmlNode *xml, enum xml_private_flags flag) xml 2078 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 99 lib/fencing/st_client.c xmlNode *xml; xml 320 lib/fencing/st_client.c blob.xml = create_xml_node(NULL, "notify"); xml 328 lib/fencing/st_client.c crm_xml_add(blob.xml, F_TYPE, T_STONITH_NOTIFY); xml 329 lib/fencing/st_client.c crm_xml_add(blob.xml, F_SUBTYPE, T_STONITH_NOTIFY_DISCONNECT); xml 332 lib/fencing/st_client.c free_xml(blob.xml); xml 1486 lib/fencing/st_client.c blob.xml = string2xml(buffer); xml 1487 lib/fencing/st_client.c if (blob.xml == NULL) { xml 1493 lib/fencing/st_client.c type = crm_element_value(blob.xml, F_TYPE); xml 1497 lib/fencing/st_client.c stonith_perform_callback(st, blob.xml, 0, 0); xml 1505 lib/fencing/st_client.c crm_element_value_int(blob.xml, F_STONITH_TIMEOUT, &timeout); xml 1506 lib/fencing/st_client.c crm_element_value_int(blob.xml, F_STONITH_CALLID, &call_id); xml 1511 lib/fencing/st_client.c crm_log_xml_warn(blob.xml, "BadReply"); xml 1514 lib/fencing/st_client.c free_xml(blob.xml); xml 1854 lib/fencing/st_client.c if (blob->xml == NULL) { xml 1859 lib/fencing/st_client.c event = crm_element_value(blob->xml, F_SUBTYPE); xml 1878 lib/fencing/st_client.c st_event = xml_to_event(blob->xml); xml 127 lib/fencing/st_rhcs.c xmlNode *xml = NULL; xml 155 lib/fencing/st_rhcs.c xml = string2xml(buffer); xml 158 lib/fencing/st_rhcs.c if (xml == NULL) { xml 163 lib/fencing/st_rhcs.c xpathObj = xpath_search(xml, "//actions"); xml 170 lib/fencing/st_rhcs.c xpathObj = xpath_search(xml, "//action[@name='stop']"); xml 185 lib/fencing/st_rhcs.c stonith_rhcs_parameter_not_required(xml, "action"); xml 186 lib/fencing/st_rhcs.c stonith_rhcs_parameter_not_required(xml, "plug"); xml 187 lib/fencing/st_rhcs.c stonith_rhcs_parameter_not_required(xml, "port"); xml 190 lib/fencing/st_rhcs.c *metadata = xml; xml 193 lib/fencing/st_rhcs.c free_xml(xml); xml 212 lib/fencing/st_rhcs.c xmlNode *xml = NULL; xml 214 lib/fencing/st_rhcs.c int rc = stonith__rhcs_get_metadata(agent, timeout, &xml); xml 217 lib/fencing/st_rhcs.c free_xml(xml); xml 221 lib/fencing/st_rhcs.c buffer = dump_xml_formatted_with_text(xml); xml 222 lib/fencing/st_rhcs.c free_xml(xml); xml 377 lib/lrmd/lrmd_client.c xmlNode *xml = NULL; xml 404 lib/lrmd/lrmd_client.c xml = pcmk__remote_message_xml(native->remote); xml 408 lib/lrmd/lrmd_client.c xml = pcmk__remote_message_xml(native->remote); xml 414 lib/lrmd/lrmd_client.c while (xml) { xml 415 lib/lrmd/lrmd_client.c const char *msg_type = crm_element_value(xml, F_LRMD_REMOTE_MSG_TYPE); xml 417 lib/lrmd/lrmd_client.c lrmd_dispatch_internal(lrmd, xml); xml 423 lib/lrmd/lrmd_client.c crm_element_value_int(xml, F_LRMD_CALLID, &reply_id); xml 428 lib/lrmd/lrmd_client.c free_xml(xml); xml 429 lib/lrmd/lrmd_client.c xml = pcmk__remote_message_xml(native->remote); xml 722 lib/lrmd/lrmd_client.c xmlNode *xml = NULL; xml 733 lib/lrmd/lrmd_client.c rc = read_remote_reply(lrmd, timeout, global_remote_msg_id, &xml); xml 742 lib/lrmd/lrmd_client.c *reply = xml; xml 744 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 238 lib/pacemaker/pcmk_fence.c pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, unsigned int timeout, xml 243 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 253 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 281 lib/pacemaker/pcmk_fence.c pcmk_fence_installed(xmlNodePtr *xml, stonith_t *st, unsigned int timeout) { xml 285 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 293 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 317 lib/pacemaker/pcmk_fence.c pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid) { xml 321 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 329 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 361 lib/pacemaker/pcmk_fence.c pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st, const char *device_id, xml 366 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 374 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 397 lib/pacemaker/pcmk_fence.c pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, char *agent, xml 402 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 410 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 443 lib/pacemaker/pcmk_fence.c pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, xml 448 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 456 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 503 lib/pacemaker/pcmk_fence.c pcmk_fence_validate(xmlNodePtr *xml, stonith_t *st, const char *agent, xml 509 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); xml 517 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); xml 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 616 lib/pacemaker/pcmk_graph_producer.c add_node_to_xml_by_id(const char *id, xmlNode *xml) xml 620 lib/pacemaker/pcmk_graph_producer.c node_xml = create_xml_node(xml, XML_CIB_TAG_NODE); xml 634 lib/pacemaker/pcmk_graph_producer.c add_node_to_xml(const pe_node_t *node, void *xml) xml 636 lib/pacemaker/pcmk_graph_producer.c add_node_to_xml_by_id(node->details->id, (xmlNode *) xml); xml 647 lib/pacemaker/pcmk_graph_producer.c add_maintenance_nodes(xmlNode *xml, const pe_working_set_t *data_set) xml 651 lib/pacemaker/pcmk_graph_producer.c xml?create_xml_node(xml, XML_GRAPH_TAG_MAINTENANCE):NULL; xml 708 lib/pacemaker/pcmk_graph_producer.c add_downed_nodes(xmlNode *xml, const pe_action_t *action, xml 711 lib/pacemaker/pcmk_graph_producer.c CRM_CHECK(xml && action && action->node && data_set, return); xml 716 lib/pacemaker/pcmk_graph_producer.c xmlNode *downed = create_xml_node(xml, XML_GRAPH_TAG_DOWNED); xml 725 lib/pacemaker/pcmk_graph_producer.c xmlNode *downed = create_xml_node(xml, XML_GRAPH_TAG_DOWNED); xml 749 lib/pacemaker/pcmk_graph_producer.c xmlNode *downed = create_xml_node(xml, XML_GRAPH_TAG_DOWNED); xml 906 lib/pacemaker/pcmk_graph_producer.c crm_element_name(action->rsc->xml)); xml 926 lib/pacemaker/pcmk_graph_producer.c const char *xml_id = ID(action->rsc->xml); xml 239 lib/pacemaker/pcmk_output.c xmlNode *xml = NULL; xml 262 lib/pacemaker/pcmk_output.c xml = pcmk__output_create_xml_node(out, "rsc_action", xml 270 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 278 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "node", destination->details->uname); xml 282 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 289 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "node", origin->details->uname); xml 293 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 300 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "source", origin->details->uname); xml 304 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 312 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 319 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 327 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 336 lib/pacemaker/pcmk_output.c pcmk__xe_set_props(xml, xml 342 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "reason", source->reason); xml 345 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "blocked", "true"); xml 840 lib/pacemaker/pcmk_output.c xmlNode *xml = NULL; xml 842 lib/pacemaker/pcmk_output.c xml = pcmk__output_create_xml_node(out, "digests", xml 850 lib/pacemaker/pcmk_output.c add_digest_xml(xml, "all", digests->digest_all_calc, xml 852 lib/pacemaker/pcmk_output.c add_digest_xml(xml, "nonprivate", digests->digest_secure_calc, xml 854 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 116 lib/pacemaker/pcmk_sched_allocate.c value = crm_element_value(rsc->xml, attr_list[attr_lpc]); xml 889 lib/pacemaker/pcmk_sched_allocate.c class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1176 lib/pacemaker/pcmk_sched_allocate.c crm_element_name(rsc->xml), rsc->id); xml 921 lib/pacemaker/pcmk_sched_bundle.c replica->remote->xml, LOG_ERR); xml 1061 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_append_meta(pe_resource_t *rsc, xmlNode *xml) xml 1515 lib/pacemaker/pcmk_sched_clone.c clone_append_meta(pe_resource_t * rsc, xmlNode * xml) xml 1523 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pe__rsc_bool_str(rsc, pe_rsc_unique)); xml 1527 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pe__rsc_bool_str(rsc, pe_rsc_notify)); xml 1531 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_max); xml 1535 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_node_max); xml 1540 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); xml 1544 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); xml 1551 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); xml 1555 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 47 lib/pacemaker/pcmk_sched_messages.c out->message(out, crm_map_element_name(rsc->xml), 0, rsc, all, all); xml 1278 lib/pacemaker/pcmk_sched_native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 2276 lib/pacemaker/pcmk_sched_native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 2538 lib/pacemaker/pcmk_sched_native.c native_append_meta(pe_resource_t * rsc, xmlNode * xml) xml 2547 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, name, value); xml 2556 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, name, value); xml 2562 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, CRM_META"_"XML_RSC_ATTR_CONTAINER, parent->container->id); xml 222 lib/pacemaker/pcmk_sched_ordering.c get_ordering_resource(xmlNode *xml, const char *resource_attr, xml 226 lib/pacemaker/pcmk_sched_ordering.c const char *rsc_id = crm_element_value(xml, resource_attr); xml 227 lib/pacemaker/pcmk_sched_ordering.c const char *instance_id = crm_element_value(xml, instance_attr); xml 231 lib/pacemaker/pcmk_sched_ordering.c ID(xml), resource_attr); xml 238 lib/pacemaker/pcmk_sched_ordering.c "does not exist", ID(xml), rsc_id); xml 246 lib/pacemaker/pcmk_sched_ordering.c ID(xml), rsc_id, instance_id); xml 253 lib/pacemaker/pcmk_sched_ordering.c "'%s'", ID(xml), rsc_id, instance_id); xml 270 lib/pacemaker/pcmk_sched_ordering.c get_minimum_first_instances(pe_resource_t *rsc, xmlNode *xml) xml 287 lib/pacemaker/pcmk_sched_ordering.c clone_min = crm_element_value(xml, "require-all"); xml 559 lib/pacemaker/pcmk_sched_transition.c rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 560 lib/pacemaker/pcmk_sched_transition.c rtype = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 561 lib/pacemaker/pcmk_sched_transition.c rprovider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 596 lib/pacemaker/pcmk_sched_transition.c const char *node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 597 lib/pacemaker/pcmk_sched_transition.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); xml 619 lib/pacemaker/pcmk_sched_transition.c const char *operation = crm_element_value(action->xml, "operation"); xml 624 lib/pacemaker/pcmk_sched_transition.c xmlNode *action_rsc = first_named_child(action->xml, XML_CIB_TAG_RESOURCE); xml 626 lib/pacemaker/pcmk_sched_transition.c char *node = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET); xml 627 lib/pacemaker/pcmk_sched_transition.c char *uuid = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET_UUID); xml 628 lib/pacemaker/pcmk_sched_transition.c const char *router_node = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); xml 636 lib/pacemaker/pcmk_sched_transition.c crm_log_xml_err(action->xml, "Bad"); xml 747 lib/pacemaker/pcmk_sched_transition.c const char *node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); xml 748 lib/pacemaker/pcmk_sched_transition.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); xml 749 lib/pacemaker/pcmk_sched_transition.c xmlNode *rsc = first_named_child(action->xml, XML_CIB_TAG_RESOURCE); xml 761 lib/pacemaker/pcmk_sched_transition.c char *target = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET); xml 240 lib/pacemaker/pcmk_sched_utilization.c orig_rsc->id, ID(first_child->xml)); xml 521 lib/pacemaker/pcmk_simulate.c pcmk_simulate(xmlNodePtr *xml, pe_working_set_t *data_set, pcmk_injections_t *injections, xml 528 lib/pacemaker/pcmk_simulate.c rc = pcmk__out_prologue(&out, xml); xml 538 lib/pacemaker/pcmk_simulate.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 1533 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), show_opts, xml 1538 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), show_opts, xml 1543 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), show_opts, xml 1548 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), show_opts, xml 1650 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), xml 1655 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), xml 1660 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), xml 1665 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), xml 1780 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), xml 1785 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), xml 1790 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), xml 1795 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), xml 1929 lib/pengine/bundle.c free_xml(replica->ip->xml); xml 1930 lib/pengine/bundle.c replica->ip->xml = NULL; xml 1935 lib/pengine/bundle.c free_xml(replica->container->xml); xml 1936 lib/pengine/bundle.c replica->container->xml = NULL; xml 1941 lib/pengine/bundle.c free_xml(replica->remote->xml); xml 1942 lib/pengine/bundle.c replica->remote->xml = NULL; xml 1977 lib/pengine/bundle.c free_xml(bundle_data->child->xml); xml 1978 lib/pengine/bundle.c bundle_data->child->xml = NULL; xml 158 lib/pengine/clone.c xmlNode *xml_obj = rsc->xml; xml 692 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, xml 818 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, xml 968 lib/pengine/clone.c free_xml(child_rsc->xml); xml 969 lib/pengine/clone.c child_rsc->xml = NULL; xml 113 lib/pengine/complex.c pe__unpack_dataset_nvpairs(p->xml, XML_TAG_META_SETS, xml 144 lib/pengine/complex.c .standard = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS), xml 145 lib/pengine/complex.c .provider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER), xml 146 lib/pengine/complex.c .agent = crm_element_value(rsc->xml, XML_EXPR_ATTR_TYPE) xml 162 lib/pengine/complex.c for (xmlAttrPtr a = pcmk__xe_first_attr(rsc->xml); a != NULL; a = a->next) { xml 164 lib/pengine/complex.c const char *prop_value = crm_element_value(rsc->xml, prop_name); xml 169 lib/pengine/complex.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_META_SETS, &rule_data, xml 206 lib/pengine/complex.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_ATTR_SETS, &rule_data, xml 234 lib/pengine/complex.c pe_eval_versioned_attributes(data_set->input, rsc->xml, XML_TAG_ATTR_SETS, xml 426 lib/pengine/complex.c if (pcmk__str_eq(crm_element_name(rsc->xml), PCMK_XE_PROMOTABLE_LEGACY, xml 536 lib/pengine/complex.c (*rsc)->xml = expanded_xml; xml 540 lib/pengine/complex.c (*rsc)->xml = xml_obj; xml 545 lib/pengine/complex.c rclass = crm_element_value((*rsc)->xml, XML_AGENT_ATTR_CLASS); xml 548 lib/pengine/complex.c ops = find_xml_node((*rsc)->xml, "operations", FALSE); xml 551 lib/pengine/complex.c (*rsc)->variant = get_resource_type(crm_element_name((*rsc)->xml)); xml 553 lib/pengine/complex.c pe_err("Unknown resource type: %s", crm_element_name((*rsc)->xml)); xml 566 lib/pengine/complex.c value = crm_element_value((*rsc)->xml, XML_RSC_ATTR_INCARNATION); xml 615 lib/pengine/complex.c if (xml_contains_remote_node((*rsc)->xml)) { xml 772 lib/pengine/complex.c && pcmk__str_eq(crm_element_value((*rsc)->xml, XML_AGENT_ATTR_CLASS), PCMK_RESOURCE_CLASS_OCF, pcmk__str_casei) xml 773 lib/pengine/complex.c && pcmk__str_eq(crm_element_value((*rsc)->xml, XML_AGENT_ATTR_PROVIDER), "pacemaker", pcmk__str_casei) xml 774 lib/pengine/complex.c && pcmk__str_eq(crm_element_value((*rsc)->xml, XML_ATTR_TYPE), "remote", pcmk__str_casei) xml 850 lib/pengine/complex.c pe__unpack_dataset_nvpairs((*rsc)->xml, XML_TAG_UTILIZATION, &rule_data, xml 946 lib/pengine/complex.c free_xml(rsc->xml); xml 947 lib/pengine/complex.c rsc->xml = NULL; xml 953 lib/pengine/complex.c free_xml(rsc->xml); xml 954 lib/pengine/complex.c rsc->xml = NULL; xml 98 lib/pengine/failcounts.c xmlXPathObject *xpathObj = xpath_search(rsc->xml, xpath); xml 99 lib/pengine/group.c xmlNode *xml_obj = rsc->xml; xml 124 lib/pengine/group.c clone_id = crm_element_value(rsc->xml, XML_RSC_ATTR_INCARNATION); xml 296 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc, xml 350 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, xml 199 lib/pengine/native.c const char *standard = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 274 lib/pengine/native.c const char *rid = ID(rsc->xml); xml 451 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 452 lib/pengine/native.c const char *prov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 462 lib/pengine/native.c crm_element_value(rsc->xml, XML_ATTR_TYPE)); xml 545 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 547 lib/pengine/native.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 561 lib/pengine/native.c provider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 647 lib/pengine/native.c const char *desc = crm_element_value(rsc->xml, XML_ATTR_DESC); xml 677 lib/pengine/native.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 906 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 907 lib/pengine/native.c const char *prov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 929 lib/pengine/native.c crm_element_value(rsc->xml, XML_ATTR_TYPE)); xml 1105 lib/pengine/native.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1106 lib/pengine/native.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 1120 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 1461 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), show_opts | pcmk_show_rsc_only, xml 1536 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), show_opts | pcmk_show_rsc_only, xml 1609 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), show_opts | pcmk_show_rsc_only, xml 1774 lib/pengine/pe_output.c const char *class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1775 lib/pengine/pe_output.c const char *kind = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 1779 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 2391 lib/pengine/pe_output.c rsc_xml = dump_xml_formatted(rsc->orig_xml ? rsc->orig_xml : rsc->xml); xml 2393 lib/pengine/pe_output.c rsc_xml = dump_xml_formatted(rsc->xml); xml 2559 lib/pengine/pe_output.c x = out->message(out, crm_map_element_name(rsc->xml), show_opts, rsc, xml 2883 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), xml 84 lib/pengine/remote.c xml_contains_remote_node(xmlNode *xml) xml 88 lib/pengine/remote.c if (xml == NULL) { xml 92 lib/pengine/remote.c value = crm_element_value(xml, XML_ATTR_TYPE); xml 97 lib/pengine/remote.c value = crm_element_value(xml, XML_AGENT_ATTR_CLASS); xml 102 lib/pengine/remote.c value = crm_element_value(xml, XML_AGENT_ATTR_PROVIDER); xml 277 lib/pengine/rules.c update_field(crm_time_t *t, xmlNode *xml, const char *attr, xml 282 lib/pengine/rules.c if ((pcmk__scan_ll(crm_element_value(xml, attr), &value, 0LL) == pcmk_rc_ok) xml 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 2485 lib/pengine/unpack.c unpack_node_lrm(pe_node_t *node, xmlNode *xml, pe_working_set_t *data_set) xml 2490 lib/pengine/unpack.c xml = find_xml_node(xml, XML_CIB_TAG_LRM, FALSE); xml 2491 lib/pengine/unpack.c if (xml == NULL) { xml 2494 lib/pengine/unpack.c xml = find_xml_node(xml, XML_LRM_TAG_RESOURCES, FALSE); xml 2495 lib/pengine/unpack.c if (xml == NULL) { xml 2500 lib/pengine/unpack.c for (xmlNode *rsc_entry = first_named_child(xml, XML_LRM_TAG_RESOURCE); xml 2515 lib/pengine/unpack.c handle_orphaned_container_fillers(xml, data_set); xml 2547 lib/pengine/unpack.c xmlNode *xml = NULL; xml 2572 lib/pengine/unpack.c xml = get_xpath_object(xpath, data_set->input, LOG_DEBUG); xml 2574 lib/pengine/unpack.c if (xml && success_only) { xml 2578 lib/pengine/unpack.c crm_element_value_int(xml, XML_LRM_ATTR_RC, &rc); xml 2579 lib/pengine/unpack.c crm_element_value_int(xml, XML_LRM_ATTR_OPSTATUS, &status); xml 2584 lib/pengine/unpack.c return xml; xml 1077 lib/pengine/utils.c .standard = crm_element_value(action->rsc->xml, XML_AGENT_ATTR_CLASS), xml 1078 lib/pengine/utils.c .provider = crm_element_value(action->rsc->xml, XML_AGENT_ATTR_PROVIDER), xml 1079 lib/pengine/utils.c .agent = crm_element_value(action->rsc->xml, XML_EXPR_ATTR_TYPE) xml 2014 lib/pengine/utils.c return ID(rsc->xml); xml 352 tools/cibadmin.c print_xml_output(xmlNode * xml) xml 356 tools/cibadmin.c if (!xml) { xml 358 tools/cibadmin.c } else if (xml->type != XML_ELEMENT_NODE) { xml 363 tools/cibadmin.c const char *id = crm_element_value(xml, XML_ATTR_ID); xml 365 tools/cibadmin.c if (pcmk__str_eq((const char *)xml->name, "xpath-query", pcmk__str_casei)) { xml 368 tools/cibadmin.c for (child = xml->children; child; child = child->next) { xml 377 tools/cibadmin.c buffer = dump_xml_formatted(xml); xml 1817 tools/crm_mon.c handle_rsc_op(xmlNode * xml, const char *node_id) xml 1831 tools/crm_mon.c xmlNode *n = xml; xml 1832 tools/crm_mon.c xmlNode * rsc_op = xml; xml 1834 tools/crm_mon.c if(strcmp((const char*)xml->name, XML_LRM_TAG_RSC_OP) != 0) { xml 1837 tools/crm_mon.c for(cIter = xml->children; cIter; cIter = cIter->next) { xml 2018 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 59 tools/crm_resource_print.c const char *rtype = crm_element_value(rsc->xml, XML_ATTR_TYPE); xml 60 tools/crm_resource_print.c const char *rprov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 61 tools/crm_resource_print.c const char *rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 75 tools/crm_resource_print.c crm_element_name(rsc->xml), rsc->id, xml 119 tools/crm_resource_print.c out->message(out, crm_map_element_name(rsc->xml), show_opts, rsc, all, all); xml 289 tools/crm_resource_print.c const char *value = crm_element_value(rsc->xml, attr); xml 306 tools/crm_resource_print.c const char *value = crm_element_value(rsc->xml, attr); xml 357 tools/crm_resource_runtime.c const char *tag = crm_element_name(rsc->xml); xml 527 tools/crm_resource_runtime.c rsc_class = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 528 tools/crm_resource_runtime.c rsc_provider = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER), xml 529 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 1872 tools/crm_resource_runtime.c rclass = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); xml 1873 tools/crm_resource_runtime.c rprov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER); xml 1874 tools/crm_resource_runtime.c rtype = crm_element_value(rsc->xml, XML_ATTR_TYPE);