xml_rsc 790 daemons/controld/controld_execd.c xmlNode *xml_rsc = create_xml_node(rsc_list, XML_LRM_TAG_RESOURCE); xml_rsc 792 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_ATTR_ID, entry->id); xml_rsc 793 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_ATTR_TYPE, entry->rsc.type); xml_rsc 794 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_AGENT_ATTR_CLASS, entry->rsc.standard); xml_rsc 795 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_AGENT_ATTR_PROVIDER, entry->rsc.provider); xml_rsc 801 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_RSC_ATTR_CONTAINER, container); xml_rsc 804 daemons/controld/controld_execd.c build_operation_update(xml_rsc, &(entry->rsc), entry->failed, lrm_state->node_name, xml_rsc 806 daemons/controld/controld_execd.c build_operation_update(xml_rsc, &(entry->rsc), entry->last, lrm_state->node_name, xml_rsc 809 daemons/controld/controld_execd.c build_operation_update(xml_rsc, &(entry->rsc), gIter->data, lrm_state->node_name, xml_rsc 1454 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(action, XML_CIB_TAG_RESOURCE, TRUE); xml_rsc 1456 daemons/controld/controld_execd.c if ((xml_rsc == NULL) || (ID(xml_rsc) == NULL)) { xml_rsc 1466 daemons/controld/controld_execd.c ID(xml_rsc), rc, target_node); xml_rsc 1470 daemons/controld/controld_execd.c op = construct_op(lrm_state, action, ID(xml_rsc), operation); xml_rsc 1514 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(xml, XML_CIB_TAG_RESOURCE, TRUE); xml_rsc 1516 daemons/controld/controld_execd.c CRM_CHECK(xml_rsc != NULL, return); xml_rsc 1526 daemons/controld/controld_execd.c op = construct_op(lrm_state, xml, ID(xml_rsc), "asyncmon"); xml_rsc 1533 daemons/controld/controld_execd.c crm_err("%s does not have permission to fail %s", user_name, ID(xml_rsc)); xml_rsc 1537 daemons/controld/controld_execd.c controld_ack_event_directly(from_host, from_sys, NULL, op, ID(xml_rsc)); xml_rsc 1543 daemons/controld/controld_execd.c if (get_lrm_resource(lrm_state, xml_rsc, TRUE, &rsc) == pcmk_ok) { xml_rsc 1558 daemons/controld/controld_execd.c controld_ack_event_directly(from_host, from_sys, NULL, op, ID(xml_rsc)); xml_rsc 1812 daemons/controld/controld_execd.c xmlNode *xml_rsc = find_xml_node(input->xml, XML_CIB_TAG_RESOURCE, TRUE); xml_rsc 1818 daemons/controld/controld_execd.c CRM_CHECK(xml_rsc && ID(xml_rsc), return); xml_rsc 1820 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 1853 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 289 lib/pacemaker/pcmk_sched_colocation.c xmlNode *xml_rsc = NULL; xml_rsc 318 lib/pacemaker/pcmk_sched_colocation.c for (xml_rsc = first_named_child(set, XML_TAG_RESOURCE_REF); xml_rsc 319 lib/pacemaker/pcmk_sched_colocation.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 321 lib/pacemaker/pcmk_sched_colocation.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); xml_rsc 335 lib/pacemaker/pcmk_sched_colocation.c for (xml_rsc = first_named_child(set, XML_TAG_RESOURCE_REF); xml_rsc 336 lib/pacemaker/pcmk_sched_colocation.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 338 lib/pacemaker/pcmk_sched_colocation.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); xml_rsc 357 lib/pacemaker/pcmk_sched_colocation.c for (xml_rsc = first_named_child(set, XML_TAG_RESOURCE_REF); xml_rsc 358 lib/pacemaker/pcmk_sched_colocation.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 363 lib/pacemaker/pcmk_sched_colocation.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); xml_rsc 389 lib/pacemaker/pcmk_sched_colocation.c xmlNode *xml_rsc = NULL; xml_rsc 406 lib/pacemaker/pcmk_sched_colocation.c xml_rsc = first_named_child(set1, XML_TAG_RESOURCE_REF); xml_rsc 407 lib/pacemaker/pcmk_sched_colocation.c if (xml_rsc != NULL) { xml_rsc 408 lib/pacemaker/pcmk_sched_colocation.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 416 lib/pacemaker/pcmk_sched_colocation.c for (xml_rsc = first_named_child(set2, XML_TAG_RESOURCE_REF); xml_rsc 417 lib/pacemaker/pcmk_sched_colocation.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 419 lib/pacemaker/pcmk_sched_colocation.c rid = ID(xml_rsc); xml_rsc 432 lib/pacemaker/pcmk_sched_colocation.c for (xml_rsc = first_named_child(set2, XML_TAG_RESOURCE_REF); xml_rsc 433 lib/pacemaker/pcmk_sched_colocation.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 435 lib/pacemaker/pcmk_sched_colocation.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, ID(xml_rsc)); xml_rsc 441 lib/pacemaker/pcmk_sched_colocation.c for (xml_rsc = first_named_child(set1, XML_TAG_RESOURCE_REF); xml_rsc 442 lib/pacemaker/pcmk_sched_colocation.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 444 lib/pacemaker/pcmk_sched_colocation.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 452 lib/pacemaker/pcmk_sched_colocation.c for (xml_rsc = first_named_child(set1, XML_TAG_RESOURCE_REF); xml_rsc 453 lib/pacemaker/pcmk_sched_colocation.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 458 lib/pacemaker/pcmk_sched_colocation.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 232 lib/pacemaker/pcmk_sched_constraints.c for (xmlNode *xml_rsc = first_named_child(set, XML_TAG_RESOURCE_REF); xml_rsc 233 lib/pacemaker/pcmk_sched_constraints.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 238 lib/pacemaker/pcmk_sched_constraints.c if (!pcmk__valid_resource_or_tag(data_set, ID(xml_rsc), &rsc, xml_rsc 242 lib/pacemaker/pcmk_sched_constraints.c ID(xml_obj), ID(xml_rsc)); xml_rsc 251 lib/pacemaker/pcmk_sched_constraints.c xmlNode *last_ref = xml_rsc; xml_rsc 292 lib/pacemaker/pcmk_sched_constraints.c tag_refs = g_list_append(tag_refs, xml_rsc); xml_rsc 443 lib/pacemaker/pcmk_sched_location.c xmlNode *xml_rsc = NULL; xml_rsc 462 lib/pacemaker/pcmk_sched_location.c for (xml_rsc = first_named_child(set, XML_TAG_RESOURCE_REF); xml_rsc 463 lib/pacemaker/pcmk_sched_location.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 466 lib/pacemaker/pcmk_sched_location.c ID(xml_rsc)); xml_rsc 469 lib/pacemaker/pcmk_sched_location.c set_id, ID(xml_rsc)); xml_rsc 736 lib/pacemaker/pcmk_sched_ordering.c xmlNode *xml_rsc = NULL; xml_rsc 770 lib/pacemaker/pcmk_sched_ordering.c for (xml_rsc = first_named_child(set, XML_TAG_RESOURCE_REF); xml_rsc 771 lib/pacemaker/pcmk_sched_ordering.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 773 lib/pacemaker/pcmk_sched_ordering.c EXPAND_CONSTRAINT_IDREF(id, resource, ID(xml_rsc)); xml_rsc 857 lib/pacemaker/pcmk_sched_ordering.c xmlNode *xml_rsc = NULL; xml_rsc 910 lib/pacemaker/pcmk_sched_ordering.c for (xml_rsc = first_named_child(set1, XML_TAG_RESOURCE_REF); xml_rsc 911 lib/pacemaker/pcmk_sched_ordering.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 913 lib/pacemaker/pcmk_sched_ordering.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 944 lib/pacemaker/pcmk_sched_ordering.c xml_rsc = first_named_child(set1, XML_TAG_RESOURCE_REF); xml_rsc 945 lib/pacemaker/pcmk_sched_ordering.c if (xml_rsc != NULL) { xml_rsc 946 lib/pacemaker/pcmk_sched_ordering.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 953 lib/pacemaker/pcmk_sched_ordering.c for (xml_rsc = first_named_child(set1, XML_TAG_RESOURCE_REF); xml_rsc 954 lib/pacemaker/pcmk_sched_ordering.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 956 lib/pacemaker/pcmk_sched_ordering.c rid = ID(xml_rsc); xml_rsc 967 lib/pacemaker/pcmk_sched_ordering.c for (xml_rsc = first_named_child(set2, XML_TAG_RESOURCE_REF); xml_rsc 968 lib/pacemaker/pcmk_sched_ordering.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 970 lib/pacemaker/pcmk_sched_ordering.c rid = ID(xml_rsc); xml_rsc 976 lib/pacemaker/pcmk_sched_ordering.c xml_rsc = first_named_child(set2, XML_TAG_RESOURCE_REF); xml_rsc 977 lib/pacemaker/pcmk_sched_ordering.c if (xml_rsc != NULL) { xml_rsc 978 lib/pacemaker/pcmk_sched_ordering.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, ID(xml_rsc)); xml_rsc 988 lib/pacemaker/pcmk_sched_ordering.c for (xml_rsc = first_named_child(set2, XML_TAG_RESOURCE_REF); xml_rsc 989 lib/pacemaker/pcmk_sched_ordering.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 991 lib/pacemaker/pcmk_sched_ordering.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, ID(xml_rsc)); xml_rsc 997 lib/pacemaker/pcmk_sched_ordering.c for (xml_rsc = first_named_child(set1, XML_TAG_RESOURCE_REF); xml_rsc 998 lib/pacemaker/pcmk_sched_ordering.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 1000 lib/pacemaker/pcmk_sched_ordering.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 1006 lib/pacemaker/pcmk_sched_ordering.c for (xml_rsc = first_named_child(set1, XML_TAG_RESOURCE_REF); xml_rsc 1007 lib/pacemaker/pcmk_sched_ordering.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 1009 lib/pacemaker/pcmk_sched_ordering.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); xml_rsc 244 lib/pacemaker/pcmk_sched_tickets.c for (xmlNode *xml_rsc = first_named_child(set, XML_TAG_RESOURCE_REF); xml_rsc 245 lib/pacemaker/pcmk_sched_tickets.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { xml_rsc 250 lib/pacemaker/pcmk_sched_tickets.c ID(xml_rsc)); xml_rsc 253 lib/pacemaker/pcmk_sched_tickets.c set_id, ID(xml_rsc)); xml_rsc 1669 lib/pengine/unpack.c xmlNode *xml_rsc = create_xml_node(NULL, XML_CIB_TAG_RESOURCE); xml_rsc 1671 lib/pengine/unpack.c copy_in_properties(xml_rsc, rsc_entry); xml_rsc 1672 lib/pengine/unpack.c crm_xml_add(xml_rsc, XML_ATTR_ID, rsc_id); xml_rsc 1673 lib/pengine/unpack.c crm_log_xml_debug(xml_rsc, "Orphan resource"); xml_rsc 1675 lib/pengine/unpack.c if (!common_unpack(xml_rsc, &rsc, NULL, data_set)) { xml_rsc 1679 lib/pengine/unpack.c if (xml_contains_remote_node(xml_rsc)) {