rsc_xml 907 daemons/controld/controld_execd.c get_lrm_resource(lrm_state_t *lrm_state, const xmlNode *rsc_xml, rsc_xml 910 daemons/controld/controld_execd.c const char *id = ID(rsc_xml); rsc_xml 912 daemons/controld/controld_execd.c CRM_CHECK(lrm_state && rsc_xml && rsc_info, return -EINVAL); rsc_xml 924 daemons/controld/controld_execd.c const char *long_id = crm_element_value(rsc_xml, XML_ATTR_ID_LONG); rsc_xml 932 daemons/controld/controld_execd.c const char *class = crm_element_value(rsc_xml, XML_AGENT_ATTR_CLASS); rsc_xml 933 daemons/controld/controld_execd.c const char *provider = crm_element_value(rsc_xml, XML_AGENT_ATTR_PROVIDER); rsc_xml 934 daemons/controld/controld_execd.c const char *type = crm_element_value(rsc_xml, XML_ATTR_TYPE); rsc_xml 698 daemons/controld/controld_messages.c xmlNode *rsc_xml = NULL; rsc_xml 701 daemons/controld/controld_messages.c rsc_xml = first_named_child(msg_data, XML_CIB_TAG_RESOURCE); rsc_xml 702 daemons/controld/controld_messages.c CRM_CHECK(rsc_xml != NULL, return I_NULL); rsc_xml 704 daemons/controld/controld_messages.c rsc_id = ID(rsc_xml); rsc_xml 277 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" F_LRMD_RSC, msg, LOG_ERR); rsc_xml 284 daemons/execd/execd_commands.c rsc->rsc_id = crm_element_value_copy(rsc_xml, F_LRMD_RSC_ID); rsc_xml 285 daemons/execd/execd_commands.c rsc->class = crm_element_value_copy(rsc_xml, F_LRMD_CLASS); rsc_xml 286 daemons/execd/execd_commands.c rsc->provider = crm_element_value_copy(rsc_xml, F_LRMD_PROVIDER); rsc_xml 287 daemons/execd/execd_commands.c rsc->type = crm_element_value_copy(rsc_xml, F_LRMD_TYPE); rsc_xml 301 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" F_LRMD_RSC, msg, LOG_ERR); rsc_xml 311 daemons/execd/execd_commands.c crm_element_value_ms(rsc_xml, F_LRMD_RSC_INTERVAL, &cmd->interval_ms); rsc_xml 312 daemons/execd/execd_commands.c crm_element_value_int(rsc_xml, F_LRMD_TIMEOUT, &cmd->timeout); rsc_xml 313 daemons/execd/execd_commands.c crm_element_value_int(rsc_xml, F_LRMD_RSC_START_DELAY, &cmd->start_delay); rsc_xml 316 daemons/execd/execd_commands.c cmd->origin = crm_element_value_copy(rsc_xml, F_LRMD_ORIGIN); rsc_xml 317 daemons/execd/execd_commands.c cmd->action = crm_element_value_copy(rsc_xml, F_LRMD_RSC_ACTION); rsc_xml 318 daemons/execd/execd_commands.c cmd->userdata_str = crm_element_value_copy(rsc_xml, F_LRMD_RSC_USERDATA_STR); rsc_xml 319 daemons/execd/execd_commands.c cmd->rsc_id = crm_element_value_copy(rsc_xml, F_LRMD_RSC_ID); rsc_xml 321 daemons/execd/execd_commands.c cmd->params = xml2list(rsc_xml); rsc_xml 687 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" F_LRMD_RSC, request, LOG_ERR); rsc_xml 688 daemons/execd/execd_commands.c const char *rsc_id = crm_element_value(rsc_xml, F_LRMD_RSC_ID); rsc_xml 1545 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" F_LRMD_RSC, request, LOG_ERR); rsc_xml 1546 daemons/execd/execd_commands.c const char *rsc_id = crm_element_value(rsc_xml, F_LRMD_RSC_ID); rsc_xml 1576 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" F_LRMD_RSC, request, LOG_ERR); rsc_xml 1577 daemons/execd/execd_commands.c const char *rsc_id = crm_element_value(rsc_xml, F_LRMD_RSC_ID); rsc_xml 1607 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" F_LRMD_RSC, request, LOG_ERR); rsc_xml 1608 daemons/execd/execd_commands.c const char *rsc_id = crm_element_value(rsc_xml, F_LRMD_RSC_ID); rsc_xml 1730 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" F_LRMD_RSC, request, LOG_ERR); rsc_xml 1731 daemons/execd/execd_commands.c const char *rsc_id = crm_element_value(rsc_xml, F_LRMD_RSC_ID); rsc_xml 1732 daemons/execd/execd_commands.c const char *action = crm_element_value(rsc_xml, F_LRMD_RSC_ACTION); rsc_xml 1735 daemons/execd/execd_commands.c crm_element_value_ms(rsc_xml, F_LRMD_RSC_INTERVAL, &interval_ms); rsc_xml 1747 daemons/execd/execd_commands.c xmlNode *rsc_xml = create_xml_node(reply, F_LRMD_RSC); rsc_xml 1749 daemons/execd/execd_commands.c crm_xml_add(rsc_xml, F_LRMD_RSC_ID, rsc->rsc_id); rsc_xml 1752 daemons/execd/execd_commands.c xmlNode *op_xml = create_xml_node(rsc_xml, T_LRMD_RSC_OP); rsc_xml 1768 daemons/execd/execd_commands.c xmlNode *rsc_xml = NULL; rsc_xml 1771 daemons/execd/execd_commands.c rsc_xml = first_named_child(request, F_LRMD_CALLDATA); rsc_xml 1772 daemons/execd/execd_commands.c if (rsc_xml) { rsc_xml 1773 daemons/execd/execd_commands.c rsc_xml = first_named_child(rsc_xml, F_LRMD_RSC); rsc_xml 1775 daemons/execd/execd_commands.c if (rsc_xml) { rsc_xml 1776 daemons/execd/execd_commands.c rsc_id = crm_element_value(rsc_xml, F_LRMD_RSC_ID); rsc_xml 1866 lib/lrmd/lrmd_client.c for (xmlNode *rsc_xml = first_named_child(output_xml, F_LRMD_RSC); rsc_xml 1867 lib/lrmd/lrmd_client.c (rsc_xml != NULL) && (rc == pcmk_ok); rsc_xml 1868 lib/lrmd/lrmd_client.c rsc_xml = crm_next_same_xml(rsc_xml)) { rsc_xml 1870 lib/lrmd/lrmd_client.c rsc_id = crm_element_value(rsc_xml, F_LRMD_RSC_ID); rsc_xml 1875 lib/lrmd/lrmd_client.c for (xmlNode *op_xml = first_named_child(rsc_xml, T_LRMD_RSC_OP); rsc_xml 247 lib/pacemaker/pcmk_graph_producer.c xmlNode *rsc_xml = NULL; rsc_xml 264 lib/pacemaker/pcmk_graph_producer.c rsc_xml = create_xml_node(action_xml, rsc_xml 278 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(rsc_xml, XML_ATTR_ID, action->rsc->clone_name); rsc_xml 279 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(rsc_xml, XML_ATTR_ID_LONG, action->rsc->id); rsc_xml 300 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(rsc_xml, XML_ATTR_ID, xml_id); rsc_xml 304 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(rsc_xml, XML_ATTR_ID_LONG, action->rsc->clone_name); rsc_xml 306 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(rsc_xml, XML_ATTR_ID_LONG, action->rsc->id); rsc_xml 311 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(rsc_xml, XML_ATTR_ID, action->rsc->id); rsc_xml 315 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(rsc_xml, attr_list[lpc], rsc_xml 2680 lib/pengine/pe_output.c char *rsc_xml = formatted_xml_buf(rsc, raw); rsc_xml 2682 lib/pengine/pe_output.c out->output_xml(out, "xml", rsc_xml); rsc_xml 2684 lib/pengine/pe_output.c free(rsc_xml); rsc_xml 2694 lib/pengine/pe_output.c char *rsc_xml = formatted_xml_buf(rsc, raw); rsc_xml 2697 lib/pengine/pe_output.c out->output_xml(out, "xml", rsc_xml); rsc_xml 2699 lib/pengine/pe_output.c free(rsc_xml);