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 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 536 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 544 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; xml_rsc 545 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 549 lib/pacemaker/pcmk_sched_constraints.c const char *id = ID(xml_rsc); xml_rsc 551 lib/pacemaker/pcmk_sched_constraints.c if (!pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_casei)) { xml_rsc 567 lib/pacemaker/pcmk_sched_constraints.c xmlNode *last_ref = xml_rsc; xml_rsc 610 lib/pacemaker/pcmk_sched_constraints.c tag_refs = g_list_append(tag_refs, xml_rsc); xml_rsc 962 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 981 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; xml_rsc 982 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 984 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 985 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); xml_rsc 1690 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 1734 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; xml_rsc 1735 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 1737 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 1738 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, resource, ID(xml_rsc)); xml_rsc 1861 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 1914 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 1915 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 1917 lib/pacemaker/pcmk_sched_constraints.c if (!pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 1921 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 1954 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 1955 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 1957 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 1958 lib/pacemaker/pcmk_sched_constraints.c rid = ID(xml_rsc); xml_rsc 1965 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 1966 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 1968 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 1969 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 1979 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; xml_rsc 1980 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 1982 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 1983 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, ID(xml_rsc)); xml_rsc 1992 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; xml_rsc 1993 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 1995 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 1996 lib/pacemaker/pcmk_sched_constraints.c rid = ID(xml_rsc); xml_rsc 2007 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; xml_rsc 2008 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2010 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2011 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, ID(xml_rsc)); xml_rsc 2017 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 2019 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 2020 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2022 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2023 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 2029 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 2030 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2032 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2035 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 2322 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 2351 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; xml_rsc 2352 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2354 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2355 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); xml_rsc 2370 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; xml_rsc 2371 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2373 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2374 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); xml_rsc 2394 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; xml_rsc 2395 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2397 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2401 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); xml_rsc 2431 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 2448 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 2449 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2451 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2452 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 2462 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; xml_rsc 2463 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2465 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2466 lib/pacemaker/pcmk_sched_constraints.c rid = ID(xml_rsc); xml_rsc 2480 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; xml_rsc 2481 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2483 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2484 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, ID(xml_rsc)); xml_rsc 2491 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 2492 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2494 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2495 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 2504 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; xml_rsc 2505 lib/pacemaker/pcmk_sched_constraints.c xml_rsc = pcmk__xe_next(xml_rsc)) { xml_rsc 2507 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__str_eq((const char *)xml_rsc->name, XML_TAG_RESOURCE_REF, pcmk__str_none)) { xml_rsc 2511 lib/pacemaker/pcmk_sched_constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 2876 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; xml_rsc 2893 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = first_named_child(set, XML_TAG_RESOURCE_REF); xml_rsc 2894 lib/pacemaker/pcmk_sched_constraints.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 2896 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)) {