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          242 lib/common/attrd_client.c                               const char *resource, const char *operation,
resource          253 lib/common/attrd_client.c     crm_xml_add(clear_op, PCMK__XA_ATTR_RESOURCE, resource);
resource          270 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          965 lib/pacemaker/pcmk_sched_constraints.c     pe_resource_t *resource = NULL;
resource          987 lib/pacemaker/pcmk_sched_constraints.c             EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc));
resource          988 lib/pacemaker/pcmk_sched_constraints.c             unpack_rsc_location(location, resource, role, local_score, data_set, NULL);
resource         1688 lib/pacemaker/pcmk_sched_constraints.c     pe_resource_t *resource = NULL;
resource         1731 lib/pacemaker/pcmk_sched_constraints.c             EXPAND_CONSTRAINT_IDREF(id, resource, ID(xml_rsc));
resource         1732 lib/pacemaker/pcmk_sched_constraints.c             resources = g_list_append(resources, resource);
resource         1738 lib/pacemaker/pcmk_sched_constraints.c         *rsc = resource;
resource         1764 lib/pacemaker/pcmk_sched_constraints.c         resource = (pe_resource_t *) set_iter->data;
resource         1767 lib/pacemaker/pcmk_sched_constraints.c         key = pcmk__op_key(resource->id, action, 0);
resource         1786 lib/pacemaker/pcmk_sched_constraints.c                 custom_action_order(resource, strdup(key), NULL, then_rsc, then_key, NULL,
resource         1792 lib/pacemaker/pcmk_sched_constraints.c                 new_rsc_order(last, action, resource, action, flags, data_set);
resource         1794 lib/pacemaker/pcmk_sched_constraints.c             last = resource;
resource         1823 lib/pacemaker/pcmk_sched_constraints.c         resource = (pe_resource_t *) set_iter->data;
resource         1838 lib/pacemaker/pcmk_sched_constraints.c                 new_rsc_order(resource, action, last, action, flags, data_set);
resource         1840 lib/pacemaker/pcmk_sched_constraints.c             last = resource;
resource         2287 lib/pacemaker/pcmk_sched_constraints.c     pe_resource_t *resource = NULL;
resource         2313 lib/pacemaker/pcmk_sched_constraints.c                 EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc));
resource         2315 lib/pacemaker/pcmk_sched_constraints.c                     pe_rsc_trace(resource, "Colocating %s with %s", resource->id, with->id);
resource         2316 lib/pacemaker/pcmk_sched_constraints.c                     rsc_colocation_new(set_id, NULL, local_score, resource, with, role, role,
resource         2320 lib/pacemaker/pcmk_sched_constraints.c                 with = resource;
resource         2329 lib/pacemaker/pcmk_sched_constraints.c                 EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc));
resource         2331 lib/pacemaker/pcmk_sched_constraints.c                     pe_rsc_trace(resource, "Colocating %s with %s", last->id, resource->id);
resource         2332 lib/pacemaker/pcmk_sched_constraints.c                     rsc_colocation_new(set_id, NULL, local_score, last, resource, role, role,
resource         2336 lib/pacemaker/pcmk_sched_constraints.c                 last = resource;
resource         2352 lib/pacemaker/pcmk_sched_constraints.c                 EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc));
resource         2359 lib/pacemaker/pcmk_sched_constraints.c                         if (pcmk__str_eq(resource->id, ID(xml_rsc_with), pcmk__str_casei)) {
resource         2363 lib/pacemaker/pcmk_sched_constraints.c                         pe_rsc_trace(resource, "Anti-Colocating %s with %s", resource->id,
resource         2365 lib/pacemaker/pcmk_sched_constraints.c                         rsc_colocation_new(set_id, NULL, local_score, resource, with, role, role,
resource         2811 lib/pacemaker/pcmk_sched_constraints.c     pe_resource_t *resource = NULL;
resource         2830 lib/pacemaker/pcmk_sched_constraints.c         EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc));
resource         2831 lib/pacemaker/pcmk_sched_constraints.c         pe_rsc_trace(resource, "Resource '%s' depends on ticket '%s'",
resource         2832 lib/pacemaker/pcmk_sched_constraints.c                      resource->id, ticket->id);
resource         2833 lib/pacemaker/pcmk_sched_constraints.c         rsc_ticket_new(set_id, resource, ticket, role, loss_policy, data_set);
resource           80 lib/pacemaker/pcmk_sched_transition.c update_failcounts(xmlNode * cib_node, const char *resource, const char *task,
resource           93 lib/pacemaker/pcmk_sched_transition.c         name = pcmk__failcount_name(resource, task, interval_ms);
resource           97 lib/pacemaker/pcmk_sched_transition.c         name = pcmk__lastfailure_name(resource, task, interval_ms);
resource          238 lib/pacemaker/pcmk_sched_transition.c find_resource_xml(xmlNode * cib_node, const char *resource)
resource          242 lib/pacemaker/pcmk_sched_transition.c     char *xpath = crm_strdup_printf(RSC_TEMPLATE, node, resource);
resource          251 lib/pacemaker/pcmk_sched_transition.c inject_resource(xmlNode * cib_node, const char *resource, const char *lrm_name,
resource          259 lib/pacemaker/pcmk_sched_transition.c     cib_resource = find_resource_xml(cib_node, resource);
resource          268 lib/pacemaker/pcmk_sched_transition.c     if (strcmp(resource, lrm_name)) {
resource          279 lib/pacemaker/pcmk_sched_transition.c                 "  Please supply the class and type to continue\n", resource, ID(cib_node));
resource          285 lib/pacemaker/pcmk_sched_transition.c         fprintf(stderr, "Invalid class for %s: %s\n", resource, rclass);
resource          290 lib/pacemaker/pcmk_sched_transition.c         fprintf(stderr, "Please specify the provider for resource %s\n", resource);
resource          540 lib/pacemaker/pcmk_sched_transition.c         char *resource = NULL;
resource          560 lib/pacemaker/pcmk_sched_transition.c         parse_op_key(key, &resource, &task, &interval_ms);
resource          562 lib/pacemaker/pcmk_sched_transition.c         rsc = pe_find_resource(data_set->resources, resource);
resource          564 lib/pacemaker/pcmk_sched_transition.c             fprintf(stderr, " - Invalid resource name: %s\n", resource);
resource          573 lib/pacemaker/pcmk_sched_transition.c             update_failcounts(cib_node, resource, task, interval_ms, outcome);
resource          575 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         quiet_log(" * Resource action: %-15s %s on %s\n", resource, operation, node);
resource          678 lib/pacemaker/pcmk_sched_transition.c     cib_resource = inject_resource(cib_node, resource, lrm_name,
resource          690 lib/pacemaker/pcmk_sched_transition.c                   resource, op->op_type, op->interval_ms, node);
resource          692 lib/pacemaker/pcmk_sched_transition.c         quiet_log(" * Resource action: %-15s %s on %s\n", resource, op->op_type, node);
resource          701 lib/pacemaker/pcmk_sched_transition.c         key = crm_strdup_printf(PCMK__OP_FMT "@%s=", resource, op->op_type,
resource          704 lib/pacemaker/pcmk_sched_transition.c             match_name = resource;
resource          708 lib/pacemaker/pcmk_sched_transition.c         if ((match_name == NULL) && strcmp(resource, lrm_name)) {
resource          294 lib/pacemaker/pcmk_trans_unpack.c convert_graph_action(xmlNode * resource, crm_action_t * action, int status, int rc)
resource          325 lib/pacemaker/pcmk_trans_unpack.c     for (xop = pcmk__xml_first_child(resource); xop != NULL;
resource          330 lib/pacemaker/pcmk_trans_unpack.c         crm_debug("Got call_id=%d for %s", tmp, ID(resource));
resource         2462 lib/pengine/unpack.c find_lrm_op(const char *resource, const char *op, const char *node, const char *source,
resource         2472 lib/pengine/unpack.c                  resource);