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           64 include/crm/pengine/internal.h #define pe__set_resource_flags(resource, flags_to_set) do {                 \
resource           65 include/crm/pengine/internal.h         (resource)->flags = pcmk__set_flags_as(__func__, __LINE__,          \
resource           66 include/crm/pengine/internal.h             LOG_TRACE, "Resource", (resource)->id, (resource)->flags,       \
resource           70 include/crm/pengine/internal.h #define pe__clear_resource_flags(resource, flags_to_clear) do {             \
resource           71 include/crm/pengine/internal.h         (resource)->flags = pcmk__clear_flags_as(__func__, __LINE__,        \
resource           72 include/crm/pengine/internal.h             LOG_TRACE, "Resource", (resource)->id, (resource)->flags,       \
resource          169 include/pcmki/pcmki_transition.h lrmd_event_data_t *pcmk__event_from_graph_action(const xmlNode *resource,
resource          201 lib/common/ipc_attrd.c                                const char *resource, const char *operation,
resource          217 lib/common/ipc_attrd.c     crm_xml_add(request, PCMK__XA_ATTR_RESOURCE, resource);
resource          250 lib/common/ipc_attrd.c               interval_desc, op_desc, (resource? resource : "all resources"),
resource          258 lib/common/ipc_controld.c         reply_data.data.resource.node_state = msg_data;
resource         1020 lib/pacemaker/libpacemaker_private.h                                        const char *resource,
resource         1028 lib/pacemaker/libpacemaker_private.h                             const char *resource, const char *task,
resource          839 lib/pacemaker/pcmk_graph_consumer.c pcmk__event_from_graph_action(const xmlNode *resource,
resource          869 lib/pacemaker/pcmk_graph_consumer.c     for (xmlNode *xop = pcmk__xml_first_child(resource); xop != NULL;
resource          874 lib/pacemaker/pcmk_graph_consumer.c         crm_debug("Got call_id=%d for %s", tmp, ID(resource));
resource           91 lib/pacemaker/pcmk_injections.c                        const char *resource, const char *task,
resource          104 lib/pacemaker/pcmk_injections.c         name = pcmk__failcount_name(resource, task, interval_ms);
resource          108 lib/pacemaker/pcmk_injections.c         name = pcmk__lastfailure_name(resource, task, interval_ms);
resource          351 lib/pacemaker/pcmk_injections.c find_resource_xml(xmlNode *cib_node, const char *resource)
resource          354 lib/pacemaker/pcmk_injections.c     char *xpath = crm_strdup_printf(XPATH_RSC_HISTORY, node, resource);
resource          379 lib/pacemaker/pcmk_injections.c                               const char *resource, const char *lrm_name,
resource          387 lib/pacemaker/pcmk_injections.c     cib_resource = find_resource_xml(cib_node, resource);
resource          396 lib/pacemaker/pcmk_injections.c     if (strcmp(resource, lrm_name) != 0) {
resource          408 lib/pacemaker/pcmk_injections.c                  resource, ID(cib_node));
resource          418 lib/pacemaker/pcmk_injections.c         out->err(out, "Invalid class for %s: %s", resource, rclass);
resource          424 lib/pacemaker/pcmk_injections.c         out->err(out, "Please specify the provider for resource %s", resource);
resource          568 lib/pacemaker/pcmk_injections.c     char *resource = NULL;
resource          591 lib/pacemaker/pcmk_injections.c     parse_op_key(key, &resource, &task, &interval_ms);
resource          593 lib/pacemaker/pcmk_injections.c     rsc = pe_find_resource(scheduler->resources, resource);
resource          595 lib/pacemaker/pcmk_injections.c         out->err(out, "Invalid resource name: %s", resource);
resource          606 lib/pacemaker/pcmk_injections.c     pcmk__inject_failcount(out, cib_node, resource, task, interval_ms, outcome);
resource          609 lib/pacemaker/pcmk_injections.c                                                  resource, resource,
resource          445 lib/pacemaker/pcmk_sched_colocation.c     pcmk_resource_t *resource = NULL;
resource          487 lib/pacemaker/pcmk_sched_colocation.c             resource = pcmk__find_constraint_resource(scheduler->resources,
resource          489 lib/pacemaker/pcmk_sched_colocation.c             if (resource == NULL) {
resource          497 lib/pacemaker/pcmk_sched_colocation.c                         | unpack_influence(coloc_id, resource, influence_s);
resource          499 lib/pacemaker/pcmk_sched_colocation.c                     pe_rsc_trace(resource, "Colocating %s with %s in set %s",
resource          500 lib/pacemaker/pcmk_sched_colocation.c                                  resource->id, other->id, set_id);
resource          501 lib/pacemaker/pcmk_sched_colocation.c                     pcmk__new_colocation(set_id, NULL, local_score, resource,
resource          504 lib/pacemaker/pcmk_sched_colocation.c                     pe_rsc_trace(resource, "Colocating %s with %s in set %s",
resource          505 lib/pacemaker/pcmk_sched_colocation.c                                  other->id, resource->id, set_id);
resource          507 lib/pacemaker/pcmk_sched_colocation.c                                          resource, role, role, flags);
resource          510 lib/pacemaker/pcmk_sched_colocation.c             other = resource;
resource          525 lib/pacemaker/pcmk_sched_colocation.c             resource = pcmk__find_constraint_resource(scheduler->resources,
resource          527 lib/pacemaker/pcmk_sched_colocation.c             if (resource == NULL) {
resource          534 lib/pacemaker/pcmk_sched_colocation.c                     | unpack_influence(coloc_id, resource, influence_s);
resource          540 lib/pacemaker/pcmk_sched_colocation.c                 if (pcmk__str_eq(resource->id, xml_rsc_id, pcmk__str_none)) {
resource          547 lib/pacemaker/pcmk_sched_colocation.c                                      resource, other, role, role, flags);
resource          445 lib/pacemaker/pcmk_sched_location.c     pcmk_resource_t *resource = NULL;
resource          466 lib/pacemaker/pcmk_sched_location.c         resource = pcmk__find_constraint_resource(scheduler->resources,
resource          468 lib/pacemaker/pcmk_sched_location.c         if (resource == NULL) {
resource          474 lib/pacemaker/pcmk_sched_location.c         unpack_rsc_location(location, resource, role, local_score, NULL);
resource          600 lib/pacemaker/pcmk_sched_ordering.c     pcmk_resource_t *resource = NULL;
resource          632 lib/pacemaker/pcmk_sched_ordering.c         EXPAND_CONSTRAINT_IDREF(id, resource, ID(xml_rsc));
resource          633 lib/pacemaker/pcmk_sched_ordering.c         resources = g_list_append(resources, resource);
resource          643 lib/pacemaker/pcmk_sched_ordering.c         resource = (pcmk_resource_t *) set_iter->data;
resource          646 lib/pacemaker/pcmk_sched_ordering.c         key = pcmk__op_key(resource->id, action, 0);
resource          655 lib/pacemaker/pcmk_sched_ordering.c                 pcmk__new_ordering(resource, strdup(key), NULL, then_rsc,
resource          661 lib/pacemaker/pcmk_sched_ordering.c                 pcmk__order_resource_actions(last, action, resource, action,
resource          664 lib/pacemaker/pcmk_sched_ordering.c             last = resource;
resource          681 lib/pacemaker/pcmk_sched_ordering.c         resource = (pcmk_resource_t *) set_iter->data;
resource          686 lib/pacemaker/pcmk_sched_ordering.c                 pcmk__order_resource_actions(resource, action, last, action,
resource          689 lib/pacemaker/pcmk_sched_ordering.c             last = resource;
resource          258 lib/pacemaker/pcmk_sched_tickets.c         pcmk_resource_t *resource = NULL;
resource          260 lib/pacemaker/pcmk_sched_tickets.c         resource = pcmk__find_constraint_resource(scheduler->resources,
resource          262 lib/pacemaker/pcmk_sched_tickets.c         if (resource == NULL) {
resource          267 lib/pacemaker/pcmk_sched_tickets.c         pe_rsc_trace(resource, "Resource '%s' depends on ticket '%s'",
resource          268 lib/pacemaker/pcmk_sched_tickets.c                      resource->id, ticket->id);
resource          269 lib/pacemaker/pcmk_sched_tickets.c         rsc_ticket_new(set_id, resource, ticket, role, loss_policy);
resource          500 lib/pacemaker/pcmk_simulate.c     const char *resource = NULL;
resource          539 lib/pacemaker/pcmk_simulate.c     resource = resource_config_name;
resource          540 lib/pacemaker/pcmk_simulate.c     if (pe_find_resource(fake_resource_list, resource) == NULL) {
resource          545 lib/pacemaker/pcmk_simulate.c             resource = longname;
resource          552 lib/pacemaker/pcmk_simulate.c         out->message(out, "inject-rsc-action", resource, operation, node,
resource          574 lib/pacemaker/pcmk_simulate.c     cib_resource = pcmk__inject_resource_history(out, cib_node, resource,
resource          579 lib/pacemaker/pcmk_simulate.c                 action->id, resource);
resource          588 lib/pacemaker/pcmk_simulate.c     out->message(out, "inject-rsc-action", resource, op->op_type, node,
resource          599 lib/pacemaker/pcmk_simulate.c         key = crm_strdup_printf(PCMK__OP_FMT "@%s=", resource, op->op_type,
resource          602 lib/pacemaker/pcmk_simulate.c             match_name = resource;
resource          608 lib/pacemaker/pcmk_simulate.c             && (strcmp(resource, resource_config_name) != 0)) {
resource         2834 lib/pengine/unpack.c find_lrm_op(const char *resource, const char *op, const char *node, const char *source,
resource         2840 lib/pengine/unpack.c     CRM_CHECK((resource != NULL) && (op != NULL) && (node != NULL),
resource         2846 lib/pengine/unpack.c                    SUB_XPATH_LRM_RESOURCE "[@" XML_ATTR_ID "='", resource, "']"