xml_rsc 785 daemons/controld/controld_execd.c xmlNode *xml_rsc = create_xml_node(rsc_list, XML_LRM_TAG_RESOURCE); xml_rsc 787 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_ATTR_ID, entry->id); xml_rsc 788 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_ATTR_TYPE, entry->rsc.type); xml_rsc 789 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_AGENT_ATTR_CLASS, entry->rsc.standard); xml_rsc 790 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_AGENT_ATTR_PROVIDER, entry->rsc.provider); xml_rsc 796 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_RSC_ATTR_CONTAINER, container); xml_rsc 799 daemons/controld/controld_execd.c build_operation_update(xml_rsc, &(entry->rsc), entry->failed, lrm_state->node_name, xml_rsc 801 daemons/controld/controld_execd.c build_operation_update(xml_rsc, &(entry->rsc), entry->last, lrm_state->node_name, xml_rsc 804 daemons/controld/controld_execd.c build_operation_update(xml_rsc, &(entry->rsc), gIter->data, lrm_state->node_name, xml_rsc 1446 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(action, XML_CIB_TAG_RESOURCE, TRUE); xml_rsc 1448 daemons/controld/controld_execd.c if ((xml_rsc == NULL) || (ID(xml_rsc) == NULL)) { xml_rsc 1458 daemons/controld/controld_execd.c ID(xml_rsc), rc, target_node); xml_rsc 1462 daemons/controld/controld_execd.c op = construct_op(lrm_state, action, ID(xml_rsc), operation); xml_rsc 1506 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(xml, XML_CIB_TAG_RESOURCE, TRUE); xml_rsc 1508 daemons/controld/controld_execd.c CRM_CHECK(xml_rsc != NULL, return); xml_rsc 1518 daemons/controld/controld_execd.c op = construct_op(lrm_state, xml, ID(xml_rsc), "asyncmon"); xml_rsc 1527 daemons/controld/controld_execd.c crm_err("%s does not have permission to fail %s", user_name, ID(xml_rsc)); xml_rsc 1528 daemons/controld/controld_execd.c controld_ack_event_directly(from_host, from_sys, NULL, op, ID(xml_rsc)); xml_rsc 1534 daemons/controld/controld_execd.c if (get_lrm_resource(lrm_state, xml_rsc, TRUE, &rsc) == pcmk_ok) { xml_rsc 1547 daemons/controld/controld_execd.c controld_ack_event_directly(from_host, from_sys, NULL, op, ID(xml_rsc)); xml_rsc 1813 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(input->xml, XML_CIB_TAG_RESOURCE, TRUE); xml_rsc 1819 daemons/controld/controld_execd.c CRM_CHECK(xml_rsc && ID(xml_rsc), return); xml_rsc 1821 daemons/controld/controld_execd.c rc = get_lrm_resource(lrm_state, xml_rsc, create_rsc, &rsc); xml_rsc 1834 daemons/controld/controld_execd.c ID(xml_rsc), operation, xml_rsc 1836 daemons/controld/controld_execd.c delete_rsc_entry(lrm_state, input, ID(xml_rsc), NULL, pcmk_ok, xml_rsc 1842 daemons/controld/controld_execd.c crm_err("Invalid resource definition for %s", ID(xml_rsc)); xml_rsc 1852 daemons/controld/controld_execd.c ID(xml_rsc), pcmk_strerror(rc), rc); xml_rsc 600 daemons/controld/controld_messages.c xmlNode *xml_rsc = first_named_child(xml_op, XML_CIB_TAG_RESOURCE); xml_rsc 603 daemons/controld/controld_messages.c if (xml_rsc) { xml_rsc 604 daemons/controld/controld_messages.c rsc = ID(xml_rsc); xml_rsc 498 lib/common/ipc_controld.c xmlNode *request, *msg_data, *xml_rsc, *params; xml_rsc 528 lib/common/ipc_controld.c xml_rsc = create_xml_node(msg_data, XML_CIB_TAG_RESOURCE); xml_rsc 529 lib/common/ipc_controld.c crm_xml_add(xml_rsc, XML_ATTR_ID, rsc_id); xml_rsc 530 lib/common/ipc_controld.c crm_xml_add(xml_rsc, XML_ATTR_ID_LONG, rsc_long_id); xml_rsc 531 lib/common/ipc_controld.c crm_xml_add(xml_rsc, XML_AGENT_ATTR_CLASS, standard); xml_rsc 532 lib/common/ipc_controld.c crm_xml_add(xml_rsc, XML_AGENT_ATTR_PROVIDER, provider); xml_rsc 533 lib/common/ipc_controld.c crm_xml_add(xml_rsc, XML_ATTR_TYPE, type); xml_rsc 533 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 541 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; xml_rsc 542 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 546 lib/pacemaker/pcmk_sched_constraints.c const char *id = ID(xml_rsc); xml_rsc 548 lib/pacemaker/pcmk_sched_constraints.c if (!pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_casei)) { xml_rsc 564 lib/pacemaker/pcmk_sched_constraints.c xmlNode *last_ref = xml_rsc; xml_rsc 607 lib/pacemaker/pcmk_sched_constraints.c tag_refs = g_list_append(tag_refs, xml_rsc); xml_rsc 964 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 983 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; xml_rsc 984 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 986 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 987 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); xml_rsc 1683 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 1727 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; xml_rsc 1728 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 1730 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 1731 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, resource, ID(xml_rsc)); xml_rsc 1854 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 1907 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 1908 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 1910 lib/pacemaker/pcmk_sched_constraints.c if (!pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 1914 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 1947 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 1948 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 1950 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 1951 lib/pacemaker/pcmk_sched_constraints.c rid = ID(xml_rsc); xml_rsc 1958 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 1959 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 1961 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 1962 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 1972 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; xml_rsc 1973 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 1975 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 1976 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, ID(xml_rsc)); xml_rsc 1985 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; xml_rsc 1986 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 1988 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 1989 lib/pacemaker/pcmk_sched_constraints.c rid = ID(xml_rsc); xml_rsc 2000 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; xml_rsc 2001 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2003 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2004 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, ID(xml_rsc)); xml_rsc 2010 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 2012 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 2013 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2015 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2016 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 2022 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 2023 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2025 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2028 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 2285 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 2309 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; xml_rsc 2310 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2312 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2313 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); xml_rsc 2325 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; xml_rsc 2326 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2328 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2329 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); xml_rsc 2346 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; xml_rsc 2347 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2349 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2352 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); xml_rsc 2380 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 2392 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 2393 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2395 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2396 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 2406 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; xml_rsc 2407 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2409 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2410 lib/pacemaker/pcmk_sched_constraints.c rid = ID(xml_rsc); xml_rsc 2420 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; xml_rsc 2421 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2423 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2424 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, ID(xml_rsc)); xml_rsc 2430 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 2431 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2433 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2434 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 2440 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 2441 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2443 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2446 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 2810 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 2827 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = first_named_child(set, XML_TAG_RESOURCE_REF); xml_rsc 2828 lib/pacemaker/pcmk_sched_constraints.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 2830 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); xml_rsc 1617 lib/pengine/unpack.c xmlNode *xml_rsc = create_xml_node(NULL, XML_CIB_TAG_RESOURCE); xml_rsc 1619 lib/pengine/unpack.c copy_in_properties(xml_rsc, rsc_entry); xml_rsc 1620 lib/pengine/unpack.c crm_xml_add(xml_rsc, XML_ATTR_ID, rsc_id); xml_rsc 1621 lib/pengine/unpack.c crm_log_xml_debug(xml_rsc, "Orphan resource"); xml_rsc 1623 lib/pengine/unpack.c if (!common_unpack(xml_rsc, &rsc, NULL, data_set)) { xml_rsc 1627 lib/pengine/unpack.c if (xml_contains_remote_node(xml_rsc)) {