resource           39 include/crm/common/attrd_internal.h                                   const char *resource, const char *operation,
resource           76 include/crm/common/ipc_controld.h         } resource;
resource           47 include/crm/pengine/internal.h #define pe__set_resource_flags(resource, flags_to_set) do {                 \
resource           48 include/crm/pengine/internal.h         (resource)->flags = pcmk__set_flags_as(__func__, __LINE__,          \
resource           49 include/crm/pengine/internal.h             LOG_TRACE, "Resource", (resource)->id, (resource)->flags,       \
resource           53 include/crm/pengine/internal.h #define pe__clear_resource_flags(resource, flags_to_clear) do {             \
resource           54 include/crm/pengine/internal.h         (resource)->flags = pcmk__clear_flags_as(__func__, __LINE__,        \
resource           55 include/crm/pengine/internal.h             LOG_TRACE, "Resource", (resource)->id, (resource)->flags,       \
resource          136 include/pcmki/pcmki_transition.h lrmd_event_data_t *convert_graph_action(xmlNode * resource, crm_action_t * action, int status,
resource          240 lib/common/attrd_client.c                               const char *resource, const char *operation,
resource          251 lib/common/attrd_client.c     crm_xml_add(clear_op, PCMK__XA_ATTR_RESOURCE, resource);
resource          268 lib/common/attrd_client.c               interval_desc, op_desc, (resource? resource : "all resources"),
resource          220 lib/common/ipc_controld.c         reply_data.data.resource.node_state = msg_data;
resource          962 lib/pacemaker/pcmk_sched_constraints.c     pe_resource_t *resource = NULL;
resource          984 lib/pacemaker/pcmk_sched_constraints.c             EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc));
resource          985 lib/pacemaker/pcmk_sched_constraints.c             unpack_rsc_location(location, resource, role, local_score, data_set, NULL);
resource         1694 lib/pacemaker/pcmk_sched_constraints.c     pe_resource_t *resource = NULL;
resource         1737 lib/pacemaker/pcmk_sched_constraints.c             EXPAND_CONSTRAINT_IDREF(id, resource, ID(xml_rsc));
resource         1738 lib/pacemaker/pcmk_sched_constraints.c             resources = g_list_append(resources, resource);
resource         1744 lib/pacemaker/pcmk_sched_constraints.c         *rsc = resource;
resource         1770 lib/pacemaker/pcmk_sched_constraints.c         resource = (pe_resource_t *) set_iter->data;
resource         1773 lib/pacemaker/pcmk_sched_constraints.c         key = pcmk__op_key(resource->id, action, 0);
resource         1792 lib/pacemaker/pcmk_sched_constraints.c                 custom_action_order(resource, strdup(key), NULL, then_rsc, then_key, NULL,
resource         1798 lib/pacemaker/pcmk_sched_constraints.c                 new_rsc_order(last, action, resource, action, flags, data_set);
resource         1800 lib/pacemaker/pcmk_sched_constraints.c             last = resource;
resource         1829 lib/pacemaker/pcmk_sched_constraints.c         resource = (pe_resource_t *) set_iter->data;
resource         1844 lib/pacemaker/pcmk_sched_constraints.c                 new_rsc_order(resource, action, last, action, flags, data_set);
resource         1846 lib/pacemaker/pcmk_sched_constraints.c             last = resource;
resource         2322 lib/pacemaker/pcmk_sched_constraints.c     pe_resource_t *resource = NULL;
resource         2353 lib/pacemaker/pcmk_sched_constraints.c                 EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc));
resource         2355 lib/pacemaker/pcmk_sched_constraints.c                     pe_rsc_trace(resource, "Colocating %s with %s", resource->id, with->id);
resource         2356 lib/pacemaker/pcmk_sched_constraints.c                     pcmk__new_colocation(set_id, NULL, local_score, resource,
resource         2358 lib/pacemaker/pcmk_sched_constraints.c                                          unpack_influence(coloc_id, resource,
resource         2363 lib/pacemaker/pcmk_sched_constraints.c                 with = resource;
resource         2372 lib/pacemaker/pcmk_sched_constraints.c                 EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc));
resource         2374 lib/pacemaker/pcmk_sched_constraints.c                     pe_rsc_trace(resource, "Colocating %s with %s", last->id, resource->id);
resource         2376 lib/pacemaker/pcmk_sched_constraints.c                                          resource, role, role,
resource         2382 lib/pacemaker/pcmk_sched_constraints.c                 last = resource;
resource         2399 lib/pacemaker/pcmk_sched_constraints.c                 EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc));
resource         2400 lib/pacemaker/pcmk_sched_constraints.c                 influence = unpack_influence(coloc_id, resource, influence_s);
resource         2407 lib/pacemaker/pcmk_sched_constraints.c                         if (pcmk__str_eq(resource->id, ID(xml_rsc_with), pcmk__str_casei)) {
resource         2411 lib/pacemaker/pcmk_sched_constraints.c                         pe_rsc_trace(resource, "Anti-Colocating %s with %s", resource->id,
resource         2414 lib/pacemaker/pcmk_sched_constraints.c                                              resource, with, role, role,
resource         2875 lib/pacemaker/pcmk_sched_constraints.c     pe_resource_t *resource = NULL;
resource         2894 lib/pacemaker/pcmk_sched_constraints.c         EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc));
resource         2895 lib/pacemaker/pcmk_sched_constraints.c         pe_rsc_trace(resource, "Resource '%s' depends on ticket '%s'",
resource         2896 lib/pacemaker/pcmk_sched_constraints.c                      resource->id, ticket->id);
resource         2897 lib/pacemaker/pcmk_sched_constraints.c         rsc_ticket_new(set_id, resource, ticket, role, loss_policy, data_set);
resource           68 lib/pacemaker/pcmk_sched_transition.c update_failcounts(xmlNode * cib_node, const char *resource, const char *task,
resource           81 lib/pacemaker/pcmk_sched_transition.c         name = pcmk__failcount_name(resource, task, interval_ms);
resource           85 lib/pacemaker/pcmk_sched_transition.c         name = pcmk__lastfailure_name(resource, task, interval_ms);
resource          226 lib/pacemaker/pcmk_sched_transition.c find_resource_xml(xmlNode * cib_node, const char *resource)
resource          230 lib/pacemaker/pcmk_sched_transition.c     char *xpath = crm_strdup_printf(RSC_TEMPLATE, node, resource);
resource          239 lib/pacemaker/pcmk_sched_transition.c inject_resource(xmlNode * cib_node, const char *resource, const char *lrm_name,
resource          247 lib/pacemaker/pcmk_sched_transition.c     cib_resource = find_resource_xml(cib_node, resource);
resource          256 lib/pacemaker/pcmk_sched_transition.c     if (strcmp(resource, lrm_name)) {
resource          267 lib/pacemaker/pcmk_sched_transition.c                  "  Please supply the class and type to continue", resource, ID(cib_node));
resource          273 lib/pacemaker/pcmk_sched_transition.c         out->err(out, "Invalid class for %s: %s", resource, rclass);
resource          278 lib/pacemaker/pcmk_sched_transition.c         out->err(out, "Please specify the provider for resource %s", resource);
resource          536 lib/pacemaker/pcmk_sched_transition.c         char *resource = NULL;
resource          556 lib/pacemaker/pcmk_sched_transition.c         parse_op_key(key, &resource, &task, &interval_ms);
resource          558 lib/pacemaker/pcmk_sched_transition.c         rsc = pe_find_resource(data_set->resources, resource);
resource          560 lib/pacemaker/pcmk_sched_transition.c             out->err(out, "Invalid resource name: %s", resource);
resource          569 lib/pacemaker/pcmk_sched_transition.c             update_failcounts(cib_node, resource, task, interval_ms, outcome);
resource          571 lib/pacemaker/pcmk_sched_transition.c             cib_resource = inject_resource(cib_node, resource, resource,
resource          619 lib/pacemaker/pcmk_sched_transition.c     const char *resource = NULL;
resource          648 lib/pacemaker/pcmk_sched_transition.c     resource = crm_element_value(action_rsc, XML_ATTR_ID);
resource          649 lib/pacemaker/pcmk_sched_transition.c     CRM_ASSERT(resource != NULL); // makes static analysis happy
resource          650 lib/pacemaker/pcmk_sched_transition.c     lrm_name = resource; // Preferred name when writing history
resource          651 lib/pacemaker/pcmk_sched_transition.c     if (pe_find_resource(fake_resource_list, resource) == NULL) {
resource          655 lib/pacemaker/pcmk_sched_transition.c             resource = longname;
resource          660 lib/pacemaker/pcmk_sched_transition.c         out->message(out, "inject-rsc-action", resource, operation, node, (guint) 0);
resource          676 lib/pacemaker/pcmk_sched_transition.c     cib_resource = inject_resource(cib_node, resource, lrm_name,
resource          687 lib/pacemaker/pcmk_sched_transition.c     out->message(out, "inject-rsc-action", resource, op->op_type, node, op->interval_ms);
resource          695 lib/pacemaker/pcmk_sched_transition.c         key = crm_strdup_printf(PCMK__OP_FMT "@%s=", resource, op->op_type,
resource          698 lib/pacemaker/pcmk_sched_transition.c             match_name = resource;
resource          702 lib/pacemaker/pcmk_sched_transition.c         if ((match_name == NULL) && strcmp(resource, lrm_name)) {
resource          304 lib/pacemaker/pcmk_trans_unpack.c convert_graph_action(xmlNode * resource, crm_action_t * action, int status, int rc)
resource          334 lib/pacemaker/pcmk_trans_unpack.c     for (xop = pcmk__xml_first_child(resource); xop != NULL;
resource          339 lib/pacemaker/pcmk_trans_unpack.c         crm_debug("Got call_id=%d for %s", tmp, ID(resource));
resource         2545 lib/pengine/unpack.c find_lrm_op(const char *resource, const char *op, const char *node, const char *source,
resource         2555 lib/pengine/unpack.c                  resource);