xml_rsc 782 daemons/controld/controld_execd.c xmlNode *xml_rsc = create_xml_node(rsc_list, XML_LRM_TAG_RESOURCE); xml_rsc 784 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_ATTR_ID, entry->id); xml_rsc 785 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_ATTR_TYPE, entry->rsc.type); xml_rsc 786 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_AGENT_ATTR_CLASS, entry->rsc.standard); xml_rsc 787 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_AGENT_ATTR_PROVIDER, entry->rsc.provider); xml_rsc 793 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_RSC_ATTR_CONTAINER, container); xml_rsc 796 daemons/controld/controld_execd.c build_operation_update(xml_rsc, &(entry->rsc), entry->failed, lrm_state->node_name, xml_rsc 798 daemons/controld/controld_execd.c build_operation_update(xml_rsc, &(entry->rsc), entry->last, lrm_state->node_name, xml_rsc 801 daemons/controld/controld_execd.c build_operation_update(xml_rsc, &(entry->rsc), gIter->data, lrm_state->node_name, xml_rsc 1443 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(action, XML_CIB_TAG_RESOURCE, TRUE); xml_rsc 1445 daemons/controld/controld_execd.c if ((xml_rsc == NULL) || (ID(xml_rsc) == NULL)) { xml_rsc 1455 daemons/controld/controld_execd.c ID(xml_rsc), rc, target_node); xml_rsc 1459 daemons/controld/controld_execd.c op = construct_op(lrm_state, action, ID(xml_rsc), operation); xml_rsc 1503 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(xml, XML_CIB_TAG_RESOURCE, TRUE); xml_rsc 1505 daemons/controld/controld_execd.c CRM_CHECK(xml_rsc != NULL, return); xml_rsc 1515 daemons/controld/controld_execd.c op = construct_op(lrm_state, xml, ID(xml_rsc), "asyncmon"); xml_rsc 1523 daemons/controld/controld_execd.c crm_err("%s does not have permission to fail %s", user_name, ID(xml_rsc)); xml_rsc 1524 daemons/controld/controld_execd.c controld_ack_event_directly(from_host, from_sys, NULL, op, ID(xml_rsc)); xml_rsc 1529 daemons/controld/controld_execd.c if (get_lrm_resource(lrm_state, xml_rsc, TRUE, &rsc) == pcmk_ok) { xml_rsc 1542 daemons/controld/controld_execd.c controld_ack_event_directly(from_host, from_sys, NULL, op, ID(xml_rsc)); xml_rsc 1797 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(input->xml, XML_CIB_TAG_RESOURCE, TRUE); xml_rsc 1803 daemons/controld/controld_execd.c CRM_CHECK(xml_rsc && ID(xml_rsc), return); xml_rsc 1805 daemons/controld/controld_execd.c rc = get_lrm_resource(lrm_state, xml_rsc, create_rsc, &rsc); xml_rsc 1818 daemons/controld/controld_execd.c ID(xml_rsc), operation, xml_rsc 1820 daemons/controld/controld_execd.c delete_rsc_entry(lrm_state, input, ID(xml_rsc), NULL, pcmk_ok, xml_rsc 1826 daemons/controld/controld_execd.c crm_err("Invalid resource definition for %s", ID(xml_rsc)); xml_rsc 1836 daemons/controld/controld_execd.c ID(xml_rsc), pcmk_strerror(rc), rc); xml_rsc 595 daemons/controld/controld_messages.c xmlNode *xml_rsc = first_named_child(xml_op, XML_CIB_TAG_RESOURCE); xml_rsc 598 daemons/controld/controld_messages.c if (xml_rsc) { xml_rsc 599 daemons/controld/controld_messages.c rsc = ID(xml_rsc); xml_rsc 443 lib/common/ipc_controld.c xmlNode *request, *msg_data, *xml_rsc, *params; xml_rsc 473 lib/common/ipc_controld.c xml_rsc = create_xml_node(msg_data, XML_CIB_TAG_RESOURCE); xml_rsc 474 lib/common/ipc_controld.c crm_xml_add(xml_rsc, XML_ATTR_ID, rsc_id); xml_rsc 475 lib/common/ipc_controld.c crm_xml_add(xml_rsc, XML_ATTR_ID_LONG, rsc_long_id); xml_rsc 476 lib/common/ipc_controld.c crm_xml_add(xml_rsc, XML_AGENT_ATTR_CLASS, standard); xml_rsc 477 lib/common/ipc_controld.c crm_xml_add(xml_rsc, XML_AGENT_ATTR_PROVIDER, provider); xml_rsc 478 lib/common/ipc_controld.c crm_xml_add(xml_rsc, XML_ATTR_TYPE, type); xml_rsc 535 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 543 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; xml_rsc 544 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 548 lib/pacemaker/pcmk_sched_constraints.c const char *id = ID(xml_rsc); xml_rsc 550 lib/pacemaker/pcmk_sched_constraints.c if (!pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_casei)) { xml_rsc 566 lib/pacemaker/pcmk_sched_constraints.c xmlNode *last_ref = xml_rsc; xml_rsc 609 lib/pacemaker/pcmk_sched_constraints.c tag_refs = g_list_append(tag_refs, xml_rsc); xml_rsc 961 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 980 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; xml_rsc 981 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 983 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 984 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); xml_rsc 1689 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 1733 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; xml_rsc 1734 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 1736 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 1737 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, resource, ID(xml_rsc)); xml_rsc 1860 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 1912 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 1913 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 1915 lib/pacemaker/pcmk_sched_constraints.c if (!pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 1919 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 1952 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 1953 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 1955 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 1956 lib/pacemaker/pcmk_sched_constraints.c rid = ID(xml_rsc); xml_rsc 1963 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 1964 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 1966 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 1967 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 1977 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; xml_rsc 1978 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 1980 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 1981 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, ID(xml_rsc)); xml_rsc 1990 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; xml_rsc 1991 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 1993 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 1994 lib/pacemaker/pcmk_sched_constraints.c rid = ID(xml_rsc); xml_rsc 2005 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; xml_rsc 2006 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2008 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2009 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, ID(xml_rsc)); xml_rsc 2015 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 2017 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 2018 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2020 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2021 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 2027 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 2028 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2030 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2033 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 2320 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 2349 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; xml_rsc 2350 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2352 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2353 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); xml_rsc 2368 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; xml_rsc 2369 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2371 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2372 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); xml_rsc 2392 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); 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 2399 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); xml_rsc 2429 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 2446 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 2447 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2449 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2450 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 2460 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; xml_rsc 2461 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2463 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2464 lib/pacemaker/pcmk_sched_constraints.c rid = ID(xml_rsc); xml_rsc 2478 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; xml_rsc 2479 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2481 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2482 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, ID(xml_rsc)); xml_rsc 2489 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 2490 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2492 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2493 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 2502 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 2503 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2505 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2509 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 2874 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 2891 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = first_named_child(set, XML_TAG_RESOURCE_REF); xml_rsc 2892 lib/pacemaker/pcmk_sched_constraints.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 2894 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); xml_rsc 1675 lib/pengine/unpack.c xmlNode *xml_rsc = create_xml_node(NULL, XML_CIB_TAG_RESOURCE); xml_rsc 1677 lib/pengine/unpack.c copy_in_properties(xml_rsc, rsc_entry); xml_rsc 1678 lib/pengine/unpack.c crm_xml_add(xml_rsc, XML_ATTR_ID, rsc_id); xml_rsc 1679 lib/pengine/unpack.c crm_log_xml_debug(xml_rsc, "Orphan resource"); xml_rsc 1681 lib/pengine/unpack.c if (!common_unpack(xml_rsc, &rsc, NULL, data_set)) { xml_rsc 1685 lib/pengine/unpack.c if (xml_contains_remote_node(xml_rsc)) {