rsc_xml 1251 daemons/controld/controld_execd.c get_lrm_resource(lrm_state_t *lrm_state, const xmlNode *rsc_xml, rsc_xml 1254 daemons/controld/controld_execd.c const char *id = ID(rsc_xml); rsc_xml 1256 daemons/controld/controld_execd.c CRM_CHECK(lrm_state && rsc_xml && rsc_info, return -EINVAL); rsc_xml 1268 daemons/controld/controld_execd.c const char *long_id = crm_element_value(rsc_xml, XML_ATTR_ID_LONG); rsc_xml 1276 daemons/controld/controld_execd.c const char *class = crm_element_value(rsc_xml, XML_AGENT_ATTR_CLASS); rsc_xml 1277 daemons/controld/controld_execd.c const char *provider = crm_element_value(rsc_xml, XML_AGENT_ATTR_PROVIDER); rsc_xml 1278 daemons/controld/controld_execd.c const char *type = crm_element_value(rsc_xml, XML_ATTR_TYPE); rsc_xml 660 daemons/controld/controld_messages.c xmlNode *rsc_xml = NULL; rsc_xml 663 daemons/controld/controld_messages.c rsc_xml = first_named_child(msg_data, XML_CIB_TAG_RESOURCE); rsc_xml 664 daemons/controld/controld_messages.c CRM_CHECK(rsc_xml != NULL, return I_NULL); rsc_xml 666 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 1532 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" F_LRMD_RSC, request, LOG_ERR); rsc_xml 1533 daemons/execd/execd_commands.c const char *rsc_id = crm_element_value(rsc_xml, F_LRMD_RSC_ID); rsc_xml 1563 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" F_LRMD_RSC, request, LOG_ERR); rsc_xml 1564 daemons/execd/execd_commands.c const char *rsc_id = crm_element_value(rsc_xml, F_LRMD_RSC_ID); rsc_xml 1594 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" F_LRMD_RSC, request, LOG_ERR); rsc_xml 1595 daemons/execd/execd_commands.c const char *rsc_id = crm_element_value(rsc_xml, F_LRMD_RSC_ID); rsc_xml 1717 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" F_LRMD_RSC, request, LOG_ERR); rsc_xml 1718 daemons/execd/execd_commands.c const char *rsc_id = crm_element_value(rsc_xml, F_LRMD_RSC_ID); rsc_xml 1719 daemons/execd/execd_commands.c const char *action = crm_element_value(rsc_xml, F_LRMD_RSC_ACTION); rsc_xml 1722 daemons/execd/execd_commands.c crm_element_value_ms(rsc_xml, F_LRMD_RSC_INTERVAL, &interval_ms); rsc_xml 1734 daemons/execd/execd_commands.c xmlNode *rsc_xml = create_xml_node(reply, F_LRMD_RSC); rsc_xml 1736 daemons/execd/execd_commands.c crm_xml_add(rsc_xml, F_LRMD_RSC_ID, rsc->rsc_id); rsc_xml 1739 daemons/execd/execd_commands.c xmlNode *op_xml = create_xml_node(rsc_xml, T_LRMD_RSC_OP); rsc_xml 1755 daemons/execd/execd_commands.c xmlNode *rsc_xml = NULL; rsc_xml 1758 daemons/execd/execd_commands.c rsc_xml = first_named_child(request, F_LRMD_CALLDATA); rsc_xml 1759 daemons/execd/execd_commands.c if (rsc_xml) { rsc_xml 1760 daemons/execd/execd_commands.c rsc_xml = first_named_child(rsc_xml, F_LRMD_RSC); rsc_xml 1762 daemons/execd/execd_commands.c if (rsc_xml) { rsc_xml 1763 daemons/execd/execd_commands.c rsc_id = crm_element_value(rsc_xml, F_LRMD_RSC_ID); rsc_xml 1833 lib/lrmd/lrmd_client.c for (xmlNode *rsc_xml = first_named_child(output_xml, F_LRMD_RSC); rsc_xml 1834 lib/lrmd/lrmd_client.c (rsc_xml != NULL) && (rc == pcmk_ok); rsc_xml 1835 lib/lrmd/lrmd_client.c rsc_xml = crm_next_same_xml(rsc_xml)) { rsc_xml 1837 lib/lrmd/lrmd_client.c rsc_id = crm_element_value(rsc_xml, F_LRMD_RSC_ID); rsc_xml 1842 lib/lrmd/lrmd_client.c for (xmlNode *op_xml = first_named_child(rsc_xml, T_LRMD_RSC_OP); rsc_xml 242 lib/pacemaker/pcmk_graph_producer.c xmlNode *rsc_xml = NULL; rsc_xml 259 lib/pacemaker/pcmk_graph_producer.c rsc_xml = create_xml_node(action_xml, crm_element_name(action->rsc->xml)); rsc_xml 272 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(rsc_xml, XML_ATTR_ID, action->rsc->clone_name); rsc_xml 273 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(rsc_xml, XML_ATTR_ID_LONG, action->rsc->id); rsc_xml 294 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(rsc_xml, XML_ATTR_ID, xml_id); rsc_xml 298 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(rsc_xml, XML_ATTR_ID_LONG, action->rsc->clone_name); rsc_xml 300 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(rsc_xml, XML_ATTR_ID_LONG, action->rsc->id); rsc_xml 305 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(rsc_xml, XML_ATTR_ID, action->rsc->id); rsc_xml 309 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(rsc_xml, attr_list[lpc], rsc_xml 2539 lib/pengine/pe_output.c char *rsc_xml = formatted_xml_buf(rsc, raw); rsc_xml 2541 lib/pengine/pe_output.c out->output_xml(out, "xml", rsc_xml); rsc_xml 2543 lib/pengine/pe_output.c free(rsc_xml); rsc_xml 2553 lib/pengine/pe_output.c char *rsc_xml = formatted_xml_buf(rsc, raw); rsc_xml 2556 lib/pengine/pe_output.c out->output_xml(out, "xml", rsc_xml); rsc_xml 2558 lib/pengine/pe_output.c free(rsc_xml);