xml_rsc           541 daemons/controld/controld_execd.c         xmlNode *xml_rsc = pcmk__xe_create(rsc_list, PCMK__XE_LRM_RESOURCE);
xml_rsc           543 daemons/controld/controld_execd.c         crm_xml_add(xml_rsc, PCMK_XA_ID, entry->id);
xml_rsc           544 daemons/controld/controld_execd.c         crm_xml_add(xml_rsc, PCMK_XA_TYPE, entry->rsc.type);
xml_rsc           545 daemons/controld/controld_execd.c         crm_xml_add(xml_rsc, PCMK_XA_CLASS, entry->rsc.standard);
xml_rsc           546 daemons/controld/controld_execd.c         crm_xml_add(xml_rsc, PCMK_XA_PROVIDER, entry->rsc.provider);
xml_rsc           555 daemons/controld/controld_execd.c                 crm_xml_add(xml_rsc, PCMK__META_CONTAINER, container);
xml_rsc           558 daemons/controld/controld_execd.c         controld_add_resource_history_xml(xml_rsc, &(entry->rsc), entry->failed,
xml_rsc           560 daemons/controld/controld_execd.c         controld_add_resource_history_xml(xml_rsc, &(entry->rsc), entry->last,
xml_rsc           563 daemons/controld/controld_execd.c             controld_add_resource_history_xml(xml_rsc, &(entry->rsc), gIter->data,
xml_rsc          1104 daemons/controld/controld_execd.c     xmlNode *xml_rsc = pcmk__xe_first_child(action, PCMK_XE_PRIMITIVE, NULL,
xml_rsc          1107 daemons/controld/controld_execd.c     if ((xml_rsc == NULL) || (pcmk__xe_id(xml_rsc) == NULL)) {
xml_rsc          1117 daemons/controld/controld_execd.c                  pcmk__xe_id(xml_rsc), rc, target_node);
xml_rsc          1121 daemons/controld/controld_execd.c     op = construct_op(lrm_state, action, pcmk__xe_id(xml_rsc), operation);
xml_rsc          1167 daemons/controld/controld_execd.c     xmlNode *xml_rsc = pcmk__xe_first_child(xml, PCMK_XE_PRIMITIVE, NULL, NULL);
xml_rsc          1169 daemons/controld/controld_execd.c     CRM_CHECK(xml_rsc != NULL, return);
xml_rsc          1179 daemons/controld/controld_execd.c     op = construct_op(lrm_state, xml, pcmk__xe_id(xml_rsc), "asyncmon");
xml_rsc          1187 daemons/controld/controld_execd.c                 user_name, pcmk__xe_id(xml_rsc));
xml_rsc          1192 daemons/controld/controld_execd.c                                     pcmk__xe_id(xml_rsc));
xml_rsc          1198 daemons/controld/controld_execd.c     if (get_lrm_resource(lrm_state, xml_rsc, TRUE, &rsc) == pcmk_ok) {
xml_rsc          1214 daemons/controld/controld_execd.c                                 pcmk__xe_id(xml_rsc));
xml_rsc          1498 daemons/controld/controld_execd.c         xmlNode *xml_rsc = pcmk__xe_first_child(input->xml, PCMK_XE_PRIMITIVE,
xml_rsc          1505 daemons/controld/controld_execd.c         CRM_CHECK((xml_rsc != NULL) && (pcmk__xe_id(xml_rsc) != NULL), return);
xml_rsc          1507 daemons/controld/controld_execd.c         rc = get_lrm_resource(lrm_state, xml_rsc, create_rsc, &rsc);
xml_rsc          1521 daemons/controld/controld_execd.c                        pcmk__xe_id(xml_rsc), operation,
xml_rsc          1523 daemons/controld/controld_execd.c             delete_rsc_entry(lrm_state, input, pcmk__xe_id(xml_rsc), NULL,
xml_rsc          1529 daemons/controld/controld_execd.c             crm_err("Invalid resource definition for %s", pcmk__xe_id(xml_rsc));
xml_rsc          1540 daemons/controld/controld_execd.c                     pcmk__xe_id(xml_rsc), pcmk_strerror(rc), rc);
xml_rsc           651 daemons/controld/controld_messages.c         xmlNode *xml_rsc = pcmk__xe_first_child(xml_op, PCMK_XE_PRIMITIVE, NULL,
xml_rsc           656 daemons/controld/controld_messages.c         if (xml_rsc) {
xml_rsc           657 daemons/controld/controld_messages.c             rsc = pcmk__xe_id(xml_rsc);
xml_rsc           488 lib/common/ipc_controld.c     xmlNode *request, *msg_data, *xml_rsc, *params;
xml_rsc           518 lib/common/ipc_controld.c     xml_rsc = pcmk__xe_create(msg_data, PCMK_XE_PRIMITIVE);
xml_rsc           519 lib/common/ipc_controld.c     crm_xml_add(xml_rsc, PCMK_XA_ID, rsc_id);
xml_rsc           520 lib/common/ipc_controld.c     crm_xml_add(xml_rsc, PCMK__XA_LONG_ID, rsc_long_id);
xml_rsc           521 lib/common/ipc_controld.c     crm_xml_add(xml_rsc, PCMK_XA_CLASS, standard);
xml_rsc           522 lib/common/ipc_controld.c     crm_xml_add(xml_rsc, PCMK_XA_PROVIDER, provider);
xml_rsc           523 lib/common/ipc_controld.c     crm_xml_add(xml_rsc, PCMK_XA_TYPE, type);
xml_rsc           442 lib/pacemaker/pcmk_sched_colocation.c     xmlNode *xml_rsc = NULL;
xml_rsc           487 lib/pacemaker/pcmk_sched_colocation.c         for (xml_rsc = pcmk__xe_first_child(set, PCMK_XE_RESOURCE_REF, NULL,
xml_rsc           489 lib/pacemaker/pcmk_sched_colocation.c              xml_rsc != NULL; xml_rsc = pcmk__xe_next_same(xml_rsc)) {
xml_rsc           491 lib/pacemaker/pcmk_sched_colocation.c             xml_rsc_id = pcmk__xe_id(xml_rsc);
xml_rsc           524 lib/pacemaker/pcmk_sched_colocation.c         for (xml_rsc = pcmk__xe_first_child(set, PCMK_XE_RESOURCE_REF, NULL,
xml_rsc           526 lib/pacemaker/pcmk_sched_colocation.c              xml_rsc != NULL; xml_rsc = pcmk__xe_next_same(xml_rsc)) {
xml_rsc           530 lib/pacemaker/pcmk_sched_colocation.c             xml_rsc_id = pcmk__xe_id(xml_rsc);
xml_rsc           577 lib/pacemaker/pcmk_sched_colocation.c     xmlNode *xml_rsc = NULL;
xml_rsc           599 lib/pacemaker/pcmk_sched_colocation.c         xml_rsc = pcmk__xe_first_child(set1, PCMK_XE_RESOURCE_REF, NULL, NULL);
xml_rsc           600 lib/pacemaker/pcmk_sched_colocation.c         if (xml_rsc != NULL) {
xml_rsc           601 lib/pacemaker/pcmk_sched_colocation.c             xml_rsc_id = pcmk__xe_id(xml_rsc);
xml_rsc           618 lib/pacemaker/pcmk_sched_colocation.c         for (xml_rsc = pcmk__xe_first_child(set2, PCMK_XE_RESOURCE_REF, NULL,
xml_rsc           620 lib/pacemaker/pcmk_sched_colocation.c              xml_rsc != NULL; xml_rsc = pcmk__xe_next_same(xml_rsc)) {
xml_rsc           622 lib/pacemaker/pcmk_sched_colocation.c             xml_rsc_id = pcmk__xe_id(xml_rsc);
xml_rsc           642 lib/pacemaker/pcmk_sched_colocation.c         for (xml_rsc = pcmk__xe_first_child(set2, PCMK_XE_RESOURCE_REF, NULL,
xml_rsc           644 lib/pacemaker/pcmk_sched_colocation.c              xml_rsc != NULL; xml_rsc = pcmk__xe_next_same(xml_rsc)) {
xml_rsc           646 lib/pacemaker/pcmk_sched_colocation.c             xml_rsc_id = pcmk__xe_id(xml_rsc);
xml_rsc           662 lib/pacemaker/pcmk_sched_colocation.c         for (xml_rsc = pcmk__xe_first_child(set1, PCMK_XE_RESOURCE_REF, NULL,
xml_rsc           664 lib/pacemaker/pcmk_sched_colocation.c              xml_rsc != NULL; xml_rsc = pcmk__xe_next_same(xml_rsc)) {
xml_rsc           666 lib/pacemaker/pcmk_sched_colocation.c             xml_rsc_id = pcmk__xe_id(xml_rsc);
xml_rsc           684 lib/pacemaker/pcmk_sched_colocation.c         for (xml_rsc = pcmk__xe_first_child(set1, PCMK_XE_RESOURCE_REF, NULL,
xml_rsc           686 lib/pacemaker/pcmk_sched_colocation.c              xml_rsc != NULL; xml_rsc = pcmk__xe_next_same(xml_rsc)) {
xml_rsc           690 lib/pacemaker/pcmk_sched_colocation.c             xml_rsc_id = pcmk__xe_id(xml_rsc);
xml_rsc           716 lib/pacemaker/pcmk_sched_colocation.c                                      pcmk__xe_id(set1), pcmk__xe_id(xml_rsc),
xml_rsc           242 lib/pacemaker/pcmk_sched_constraints.c         for (xmlNode *xml_rsc = pcmk__xe_first_child(set, PCMK_XE_RESOURCE_REF,
xml_rsc           244 lib/pacemaker/pcmk_sched_constraints.c              xml_rsc != NULL; xml_rsc = pcmk__xe_next_same(xml_rsc)) {
xml_rsc           249 lib/pacemaker/pcmk_sched_constraints.c             if (!pcmk__valid_resource_or_tag(scheduler, pcmk__xe_id(xml_rsc),
xml_rsc           253 lib/pacemaker/pcmk_sched_constraints.c                                  pcmk__xe_id(xml_obj), pcmk__xe_id(xml_rsc));
xml_rsc           264 lib/pacemaker/pcmk_sched_constraints.c                 xmlNode *last_ref = xml_rsc;
xml_rsc           301 lib/pacemaker/pcmk_sched_constraints.c                 tag_refs = g_list_append(tag_refs, xml_rsc);
xml_rsc           493 lib/pacemaker/pcmk_sched_location.c     xmlNode *xml_rsc = NULL;
xml_rsc           512 lib/pacemaker/pcmk_sched_location.c     for (xml_rsc = pcmk__xe_first_child(set, PCMK_XE_RESOURCE_REF, NULL, NULL);
xml_rsc           513 lib/pacemaker/pcmk_sched_location.c          xml_rsc != NULL; xml_rsc = pcmk__xe_next_same(xml_rsc)) {
xml_rsc           516 lib/pacemaker/pcmk_sched_location.c                                                   pcmk__xe_id(xml_rsc));
xml_rsc           519 lib/pacemaker/pcmk_sched_location.c                              set_id, pcmk__xe_id(xml_rsc));
xml_rsc           637 lib/pacemaker/pcmk_sched_ordering.c     for (const xmlNode *xml_rsc = pcmk__xe_first_child(set,
xml_rsc           640 lib/pacemaker/pcmk_sched_ordering.c          xml_rsc != NULL; xml_rsc = pcmk__xe_next_same(xml_rsc)) {
xml_rsc           642 lib/pacemaker/pcmk_sched_ordering.c         EXPAND_CONSTRAINT_IDREF(id, resource, pcmk__xe_id(xml_rsc));
xml_rsc           726 lib/pacemaker/pcmk_sched_ordering.c     const xmlNode *xml_rsc = NULL;
xml_rsc           777 lib/pacemaker/pcmk_sched_ordering.c         for (xml_rsc = pcmk__xe_first_child(set1, PCMK_XE_RESOURCE_REF, NULL,
xml_rsc           779 lib/pacemaker/pcmk_sched_ordering.c              xml_rsc != NULL; xml_rsc = pcmk__xe_next_same(xml_rsc)) {
xml_rsc           781 lib/pacemaker/pcmk_sched_ordering.c             EXPAND_CONSTRAINT_IDREF(id, rsc_1, pcmk__xe_id(xml_rsc));
xml_rsc           815 lib/pacemaker/pcmk_sched_ordering.c             xml_rsc = pcmk__xe_first_child(set1, PCMK_XE_RESOURCE_REF, NULL,
xml_rsc           817 lib/pacemaker/pcmk_sched_ordering.c             if (xml_rsc != NULL) {
xml_rsc           818 lib/pacemaker/pcmk_sched_ordering.c                 EXPAND_CONSTRAINT_IDREF(id, rsc_1, pcmk__xe_id(xml_rsc));
xml_rsc           825 lib/pacemaker/pcmk_sched_ordering.c             for (xml_rsc = pcmk__xe_first_child(set1, PCMK_XE_RESOURCE_REF,
xml_rsc           827 lib/pacemaker/pcmk_sched_ordering.c                  xml_rsc != NULL; xml_rsc = pcmk__xe_next_same(xml_rsc)) {
xml_rsc           829 lib/pacemaker/pcmk_sched_ordering.c                 rid = pcmk__xe_id(xml_rsc);
xml_rsc           840 lib/pacemaker/pcmk_sched_ordering.c             for (xml_rsc = pcmk__xe_first_child(set2, PCMK_XE_RESOURCE_REF,
xml_rsc           842 lib/pacemaker/pcmk_sched_ordering.c                  xml_rsc != NULL; xml_rsc = pcmk__xe_next_same(xml_rsc)) {
xml_rsc           844 lib/pacemaker/pcmk_sched_ordering.c                 rid = pcmk__xe_id(xml_rsc);
xml_rsc           850 lib/pacemaker/pcmk_sched_ordering.c             xml_rsc = pcmk__xe_first_child(set2, PCMK_XE_RESOURCE_REF, NULL,
xml_rsc           852 lib/pacemaker/pcmk_sched_ordering.c             if (xml_rsc != NULL) {
xml_rsc           853 lib/pacemaker/pcmk_sched_ordering.c                 EXPAND_CONSTRAINT_IDREF(id, rsc_2, pcmk__xe_id(xml_rsc));
xml_rsc           862 lib/pacemaker/pcmk_sched_ordering.c         for (xml_rsc = pcmk__xe_first_child(set2, PCMK_XE_RESOURCE_REF, NULL,
xml_rsc           864 lib/pacemaker/pcmk_sched_ordering.c              xml_rsc != NULL; xml_rsc = pcmk__xe_next_same(xml_rsc)) {
xml_rsc           866 lib/pacemaker/pcmk_sched_ordering.c             EXPAND_CONSTRAINT_IDREF(id, rsc_2, pcmk__xe_id(xml_rsc));
xml_rsc           872 lib/pacemaker/pcmk_sched_ordering.c         for (xml_rsc = pcmk__xe_first_child(set1, PCMK_XE_RESOURCE_REF, NULL,
xml_rsc           874 lib/pacemaker/pcmk_sched_ordering.c              xml_rsc != NULL; xml_rsc = pcmk__xe_next_same(xml_rsc)) {
xml_rsc           876 lib/pacemaker/pcmk_sched_ordering.c             EXPAND_CONSTRAINT_IDREF(id, rsc_1, pcmk__xe_id(xml_rsc));
xml_rsc           882 lib/pacemaker/pcmk_sched_ordering.c         for (xml_rsc = pcmk__xe_first_child(set1, PCMK_XE_RESOURCE_REF, NULL,
xml_rsc           884 lib/pacemaker/pcmk_sched_ordering.c              xml_rsc != NULL; xml_rsc = pcmk__xe_next_same(xml_rsc)) {
xml_rsc           886 lib/pacemaker/pcmk_sched_ordering.c             EXPAND_CONSTRAINT_IDREF(id, rsc_1, pcmk__xe_id(xml_rsc));
xml_rsc           255 lib/pacemaker/pcmk_sched_tickets.c     for (xmlNode *xml_rsc = pcmk__xe_first_child(set, PCMK_XE_RESOURCE_REF,
xml_rsc           257 lib/pacemaker/pcmk_sched_tickets.c          xml_rsc != NULL; xml_rsc = pcmk__xe_next_same(xml_rsc)) {
xml_rsc           262 lib/pacemaker/pcmk_sched_tickets.c                                                   pcmk__xe_id(xml_rsc));
xml_rsc           265 lib/pacemaker/pcmk_sched_tickets.c                              set_id, pcmk__xe_id(xml_rsc));
xml_rsc          2029 lib/pengine/unpack.c     xmlNode *xml_rsc = pcmk__xe_create(NULL, PCMK_XE_PRIMITIVE);
xml_rsc          2031 lib/pengine/unpack.c     pcmk__xe_copy_attrs(xml_rsc, rsc_entry, pcmk__xaf_none);
xml_rsc          2032 lib/pengine/unpack.c     crm_xml_add(xml_rsc, PCMK_XA_ID, rsc_id);
xml_rsc          2033 lib/pengine/unpack.c     crm_log_xml_debug(xml_rsc, "Orphan resource");
xml_rsc          2035 lib/pengine/unpack.c     if (pe__unpack_resource(xml_rsc, &rsc, NULL, scheduler) != pcmk_rc_ok) {
xml_rsc          2039 lib/pengine/unpack.c     if (xml_contains_remote_node(xml_rsc)) {