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 171 include/pcmki/pcmki_transition.h lrmd_event_data_t *pcmk__event_from_graph_action(xmlNode *resource, 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 812 lib/pacemaker/pcmk_graph_consumer.c pcmk__event_from_graph_action(xmlNode *resource, crm_action_t *action, resource 841 lib/pacemaker/pcmk_graph_consumer.c for (xmlNode *xop = pcmk__xml_first_child(resource); xop != NULL; resource 846 lib/pacemaker/pcmk_graph_consumer.c crm_debug("Got call_id=%d for %s", tmp, ID(resource)); resource 291 lib/pacemaker/pcmk_sched_colocation.c pe_resource_t *resource = NULL; resource 321 lib/pacemaker/pcmk_sched_colocation.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); resource 323 lib/pacemaker/pcmk_sched_colocation.c pe_rsc_trace(resource, "Colocating %s with %s", resource->id, with->id); resource 324 lib/pacemaker/pcmk_sched_colocation.c pcmk__new_colocation(set_id, NULL, local_score, resource, resource 326 lib/pacemaker/pcmk_sched_colocation.c unpack_influence(coloc_id, resource, resource 329 lib/pacemaker/pcmk_sched_colocation.c with = resource; resource 338 lib/pacemaker/pcmk_sched_colocation.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); resource 340 lib/pacemaker/pcmk_sched_colocation.c pe_rsc_trace(resource, "Colocating %s with %s", resource 341 lib/pacemaker/pcmk_sched_colocation.c last->id, resource->id); resource 343 lib/pacemaker/pcmk_sched_colocation.c resource, role, role, resource 348 lib/pacemaker/pcmk_sched_colocation.c last = resource; resource 363 lib/pacemaker/pcmk_sched_colocation.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); resource 364 lib/pacemaker/pcmk_sched_colocation.c influence = unpack_influence(coloc_id, resource, influence_s); resource 370 lib/pacemaker/pcmk_sched_colocation.c if (pcmk__str_eq(resource->id, ID(xml_rsc_with), resource 375 lib/pacemaker/pcmk_sched_colocation.c pe_rsc_trace(resource, "Anti-Colocating %s with %s", resource->id, resource 378 lib/pacemaker/pcmk_sched_colocation.c resource, with, role, role, resource 444 lib/pacemaker/pcmk_sched_location.c pe_resource_t *resource = NULL; resource 465 lib/pacemaker/pcmk_sched_location.c resource = pcmk__find_constraint_resource(data_set->resources, resource 467 lib/pacemaker/pcmk_sched_location.c if (resource == NULL) { resource 473 lib/pacemaker/pcmk_sched_location.c unpack_rsc_location(location, resource, role, local_score, data_set, resource 741 lib/pacemaker/pcmk_sched_ordering.c pe_resource_t *resource = NULL; resource 773 lib/pacemaker/pcmk_sched_ordering.c EXPAND_CONSTRAINT_IDREF(id, resource, ID(xml_rsc)); resource 774 lib/pacemaker/pcmk_sched_ordering.c resources = g_list_append(resources, resource); resource 784 lib/pacemaker/pcmk_sched_ordering.c resource = (pe_resource_t *) set_iter->data; resource 787 lib/pacemaker/pcmk_sched_ordering.c key = pcmk__op_key(resource->id, action, 0); resource 796 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(resource, strdup(key), NULL, then_rsc, resource 802 lib/pacemaker/pcmk_sched_ordering.c pcmk__order_resource_actions(last, action, resource, action, resource 805 lib/pacemaker/pcmk_sched_ordering.c last = resource; resource 822 lib/pacemaker/pcmk_sched_ordering.c resource = (pe_resource_t *) set_iter->data; resource 827 lib/pacemaker/pcmk_sched_ordering.c pcmk__order_resource_actions(resource, action, last, action, resource 830 lib/pacemaker/pcmk_sched_ordering.c last = resource; resource 247 lib/pacemaker/pcmk_sched_tickets.c pe_resource_t *resource = NULL; resource 249 lib/pacemaker/pcmk_sched_tickets.c resource = pcmk__find_constraint_resource(data_set->resources, resource 251 lib/pacemaker/pcmk_sched_tickets.c if (resource == NULL) { resource 256 lib/pacemaker/pcmk_sched_tickets.c pe_rsc_trace(resource, "Resource '%s' depends on ticket '%s'", resource 257 lib/pacemaker/pcmk_sched_tickets.c resource->id, ticket->id); resource 258 lib/pacemaker/pcmk_sched_tickets.c rsc_ticket_new(set_id, resource, ticket, role, loss_policy, data_set); resource 69 lib/pacemaker/pcmk_sched_transition.c update_failcounts(xmlNode * cib_node, const char *resource, const char *task, resource 82 lib/pacemaker/pcmk_sched_transition.c name = pcmk__failcount_name(resource, task, interval_ms); resource 86 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 533 lib/pacemaker/pcmk_sched_transition.c char *resource = NULL; resource 553 lib/pacemaker/pcmk_sched_transition.c parse_op_key(key, &resource, &task, &interval_ms); resource 555 lib/pacemaker/pcmk_sched_transition.c rsc = pe_find_resource(data_set->resources, resource); resource 557 lib/pacemaker/pcmk_sched_transition.c out->err(out, "Invalid resource name: %s", resource); resource 566 lib/pacemaker/pcmk_sched_transition.c update_failcounts(cib_node, resource, task, interval_ms, outcome); resource 568 lib/pacemaker/pcmk_sched_transition.c cib_resource = inject_resource(cib_node, resource, resource, resource 616 lib/pacemaker/pcmk_sched_transition.c const char *resource = NULL; resource 645 lib/pacemaker/pcmk_sched_transition.c resource = crm_element_value(action_rsc, XML_ATTR_ID); resource 646 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(resource != NULL); // makes static analysis happy resource 647 lib/pacemaker/pcmk_sched_transition.c lrm_name = resource; // Preferred name when writing history resource 648 lib/pacemaker/pcmk_sched_transition.c if (pe_find_resource(fake_resource_list, resource) == NULL) { resource 652 lib/pacemaker/pcmk_sched_transition.c resource = longname; resource 657 lib/pacemaker/pcmk_sched_transition.c out->message(out, "inject-rsc-action", resource, operation, node, (guint) 0); resource 673 lib/pacemaker/pcmk_sched_transition.c cib_resource = inject_resource(cib_node, resource, lrm_name, resource 685 lib/pacemaker/pcmk_sched_transition.c out->message(out, "inject-rsc-action", resource, op->op_type, node, op->interval_ms); resource 693 lib/pacemaker/pcmk_sched_transition.c key = crm_strdup_printf(PCMK__OP_FMT "@%s=", resource, op->op_type, resource 696 lib/pacemaker/pcmk_sched_transition.c match_name = resource; resource 700 lib/pacemaker/pcmk_sched_transition.c if ((match_name == NULL) && strcmp(resource, lrm_name)) { resource 2542 lib/pengine/unpack.c find_lrm_op(const char *resource, const char *op, const char *node, const char *source, resource 2552 lib/pengine/unpack.c resource);