resource           70 include/crm/common/ipc_attrd_internal.h                                    const char *resource, const char *operation,
resource           77 include/crm/common/ipc_controld.h         } resource;
resource           29 include/crm/common/roles_internal.h #define pcmk__set_rsc_flags(resource, flags_to_set) do {                    \
resource           30 include/crm/common/roles_internal.h         (resource)->flags = pcmk__set_flags_as(__func__, __LINE__,          \
resource           31 include/crm/common/roles_internal.h             LOG_TRACE, "Resource", (resource)->id, (resource)->flags,       \
resource           42 include/crm/common/roles_internal.h #define pcmk__clear_rsc_flags(resource, flags_to_clear) do {                \
resource           43 include/crm/common/roles_internal.h         (resource)->flags = pcmk__clear_flags_as(__func__, __LINE__,        \
resource           44 include/crm/common/roles_internal.h             LOG_TRACE, "Resource", (resource)->id, (resource)->flags,       \
resource          168 include/pcmki/pcmki_transition.h lrmd_event_data_t *pcmk__event_from_graph_action(const xmlNode *resource,
resource          179 lib/common/ipc_attrd.c                                const char *resource, const char *operation,
resource          202 lib/common/ipc_attrd.c               pcmk__s(resource, "all resources"), pcmk__s(node, "all nodes"));
resource          206 lib/common/ipc_attrd.c     crm_xml_add(request, PCMK__XA_ATTR_RESOURCE, resource);
resource          266 lib/common/ipc_controld.c         reply_data.data.resource.node_state = msg_data;
resource          985 lib/pacemaker/libpacemaker_private.h                                        const char *resource,
resource          993 lib/pacemaker/libpacemaker_private.h                             xmlNode *cib_node, const char *resource,
resource          838 lib/pacemaker/pcmk_graph_consumer.c pcmk__event_from_graph_action(const xmlNode *resource,
resource          870 lib/pacemaker/pcmk_graph_consumer.c     for (xmlNode *xop = pcmk__xe_first_child(resource, NULL, NULL, NULL);
resource          876 lib/pacemaker/pcmk_graph_consumer.c         crm_debug("Got call_id=%d for %s", tmp, pcmk__xe_id(resource));
resource           95 lib/pacemaker/pcmk_injections.c                        const char *resource, const char *task,
resource          105 lib/pacemaker/pcmk_injections.c               && (resource != NULL) && (task != NULL), return);
resource          113 lib/pacemaker/pcmk_injections.c     name = pcmk__failcount_name(resource, task, interval_ms);
resource          130 lib/pacemaker/pcmk_injections.c     name = pcmk__lastfailure_name(resource, task, interval_ms);
resource          377 lib/pacemaker/pcmk_injections.c find_resource_xml(xmlNode *cib_node, const char *resource)
resource          380 lib/pacemaker/pcmk_injections.c     char *xpath = crm_strdup_printf(XPATH_RSC_HISTORY, node, resource);
resource          405 lib/pacemaker/pcmk_injections.c                               const char *resource, const char *lrm_name,
resource          413 lib/pacemaker/pcmk_injections.c     cib_resource = find_resource_xml(cib_node, resource);
resource          422 lib/pacemaker/pcmk_injections.c     if (strcmp(resource, lrm_name) != 0) {
resource          434 lib/pacemaker/pcmk_injections.c                  resource, pcmk__xe_id(cib_node));
resource          444 lib/pacemaker/pcmk_injections.c         out->err(out, "Invalid class for %s: %s", resource, rclass);
resource          450 lib/pacemaker/pcmk_injections.c         out->err(out, "Please specify the provider for resource %s", resource);
resource          561 lib/pacemaker/pcmk_injections.c     char *resource = NULL;
resource          584 lib/pacemaker/pcmk_injections.c     parse_op_key(key, &resource, &task, &interval_ms);
resource          586 lib/pacemaker/pcmk_injections.c     rsc = pe_find_resource(scheduler->resources, resource);
resource          588 lib/pacemaker/pcmk_injections.c         out->err(out, "Invalid resource name: %s", resource);
resource          599 lib/pacemaker/pcmk_injections.c     pcmk__inject_failcount(out, cib, cib_node, resource, task, interval_ms,
resource          603 lib/pacemaker/pcmk_injections.c                                                  resource, resource,
resource          444 lib/pacemaker/pcmk_sched_colocation.c     pcmk_resource_t *resource = NULL;
resource          492 lib/pacemaker/pcmk_sched_colocation.c             resource = pcmk__find_constraint_resource(scheduler->resources,
resource          494 lib/pacemaker/pcmk_sched_colocation.c             if (resource == NULL) {
resource          502 lib/pacemaker/pcmk_sched_colocation.c                         | unpack_influence(coloc_id, resource, influence_s);
resource          504 lib/pacemaker/pcmk_sched_colocation.c                     pcmk__rsc_trace(resource, "Colocating %s with %s in set %s",
resource          505 lib/pacemaker/pcmk_sched_colocation.c                                     resource->id, other->id, set_id);
resource          506 lib/pacemaker/pcmk_sched_colocation.c                     pcmk__new_colocation(set_id, NULL, local_score, resource,
resource          509 lib/pacemaker/pcmk_sched_colocation.c                     pcmk__rsc_trace(resource, "Colocating %s with %s in set %s",
resource          510 lib/pacemaker/pcmk_sched_colocation.c                                     other->id, resource->id, set_id);
resource          512 lib/pacemaker/pcmk_sched_colocation.c                                          resource, role, role, flags);
resource          515 lib/pacemaker/pcmk_sched_colocation.c             other = resource;
resource          531 lib/pacemaker/pcmk_sched_colocation.c             resource = pcmk__find_constraint_resource(scheduler->resources,
resource          533 lib/pacemaker/pcmk_sched_colocation.c             if (resource == NULL) {
resource          540 lib/pacemaker/pcmk_sched_colocation.c                     | unpack_influence(coloc_id, resource, influence_s);
resource          547 lib/pacemaker/pcmk_sched_colocation.c                 if (pcmk__str_eq(resource->id, xml_rsc_id, pcmk__str_none)) {
resource          554 lib/pacemaker/pcmk_sched_colocation.c                                      resource, other, role, role, flags);
resource          494 lib/pacemaker/pcmk_sched_location.c     pcmk_resource_t *resource = NULL;
resource          515 lib/pacemaker/pcmk_sched_location.c         resource = pcmk__find_constraint_resource(scheduler->resources,
resource          517 lib/pacemaker/pcmk_sched_location.c         if (resource == NULL) {
resource          523 lib/pacemaker/pcmk_sched_location.c         unpack_rsc_location(location, resource, role, local_score, NULL, 0,
resource          608 lib/pacemaker/pcmk_sched_ordering.c     pcmk_resource_t *resource = NULL;
resource          642 lib/pacemaker/pcmk_sched_ordering.c         EXPAND_CONSTRAINT_IDREF(id, resource, pcmk__xe_id(xml_rsc));
resource          643 lib/pacemaker/pcmk_sched_ordering.c         resources = g_list_append(resources, resource);
resource          653 lib/pacemaker/pcmk_sched_ordering.c         resource = (pcmk_resource_t *) set_iter->data;
resource          656 lib/pacemaker/pcmk_sched_ordering.c         key = pcmk__op_key(resource->id, action, 0);
resource          665 lib/pacemaker/pcmk_sched_ordering.c                 pcmk__new_ordering(resource, strdup(key), NULL, then_rsc,
resource          671 lib/pacemaker/pcmk_sched_ordering.c                 pcmk__order_resource_actions(last, action, resource, action,
resource          674 lib/pacemaker/pcmk_sched_ordering.c             last = resource;
resource          691 lib/pacemaker/pcmk_sched_ordering.c         resource = (pcmk_resource_t *) set_iter->data;
resource          696 lib/pacemaker/pcmk_sched_ordering.c                 pcmk__order_resource_actions(resource, action, last, action,
resource          699 lib/pacemaker/pcmk_sched_ordering.c             last = resource;
resource          259 lib/pacemaker/pcmk_sched_tickets.c         pcmk_resource_t *resource = NULL;
resource          261 lib/pacemaker/pcmk_sched_tickets.c         resource = pcmk__find_constraint_resource(scheduler->resources,
resource          263 lib/pacemaker/pcmk_sched_tickets.c         if (resource == NULL) {
resource          268 lib/pacemaker/pcmk_sched_tickets.c         pcmk__rsc_trace(resource, "Resource '%s' depends on ticket '%s'",
resource          269 lib/pacemaker/pcmk_sched_tickets.c                         resource->id, ticket->id);
resource          270 lib/pacemaker/pcmk_sched_tickets.c         rsc_ticket_new(set_id, resource, ticket, role, loss_policy);
resource          505 lib/pacemaker/pcmk_simulate.c     const char *resource = NULL;
resource          545 lib/pacemaker/pcmk_simulate.c     resource = resource_config_name;
resource          546 lib/pacemaker/pcmk_simulate.c     if (pe_find_resource(fake_resource_list, resource) == NULL) {
resource          551 lib/pacemaker/pcmk_simulate.c             resource = longname;
resource          558 lib/pacemaker/pcmk_simulate.c         out->message(out, "inject-rsc-action", resource, operation, node,
resource          580 lib/pacemaker/pcmk_simulate.c     cib_resource = pcmk__inject_resource_history(out, cib_node, resource,
resource          585 lib/pacemaker/pcmk_simulate.c                 action->id, resource);
resource          594 lib/pacemaker/pcmk_simulate.c     out->message(out, "inject-rsc-action", resource, op->op_type, node,
resource          605 lib/pacemaker/pcmk_simulate.c         key = crm_strdup_printf(PCMK__OP_FMT "@%s=", resource, op->op_type,
resource          608 lib/pacemaker/pcmk_simulate.c             match_name = resource;
resource          614 lib/pacemaker/pcmk_simulate.c             && (strcmp(resource, resource_config_name) != 0)) {
resource         2968 lib/pengine/unpack.c find_lrm_op(const char *resource, const char *op, const char *node, const char *source,
resource         2974 lib/pengine/unpack.c     CRM_CHECK((resource != NULL) && (op != NULL) && (node != NULL),
resource         2980 lib/pengine/unpack.c                    SUB_XPATH_LRM_RESOURCE "[@" PCMK_XA_ID "='", resource, "']"