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 77 include/crm/pengine/internal.h #define pe__set_resource_flags(resource, flags_to_set) do { \ resource 78 include/crm/pengine/internal.h (resource)->flags = pcmk__set_flags_as(__func__, __LINE__, \ resource 79 include/crm/pengine/internal.h LOG_TRACE, "Resource", (resource)->id, (resource)->flags, \ resource 83 include/crm/pengine/internal.h #define pe__clear_resource_flags(resource, flags_to_clear) do { \ resource 84 include/crm/pengine/internal.h (resource)->flags = pcmk__clear_flags_as(__func__, __LINE__, \ resource 85 include/crm/pengine/internal.h LOG_TRACE, "Resource", (resource)->id, (resource)->flags, \ resource 167 include/pcmki/pcmki_transition.h lrmd_event_data_t *pcmk__event_from_graph_action(const xmlNode *resource, resource 204 lib/common/ipc_attrd.c const char *resource, const char *operation, resource 220 lib/common/ipc_attrd.c crm_xml_add(request, PCMK__XA_ATTR_RESOURCE, resource); resource 253 lib/common/ipc_attrd.c interval_desc, op_desc, (resource? resource : "all resources"), resource 270 lib/common/ipc_controld.c reply_data.data.resource.node_state = msg_data; resource 849 lib/pacemaker/libpacemaker_private.h const char *resource, resource 857 lib/pacemaker/libpacemaker_private.h const char *resource, const char *task, resource 831 lib/pacemaker/pcmk_graph_consumer.c pcmk__event_from_graph_action(const xmlNode *resource, resource 861 lib/pacemaker/pcmk_graph_consumer.c for (xmlNode *xop = pcmk__xml_first_child(resource); xop != NULL; resource 866 lib/pacemaker/pcmk_graph_consumer.c crm_debug("Got call_id=%d for %s", tmp, ID(resource)); resource 90 lib/pacemaker/pcmk_injections.c const char *resource, const char *task, resource 103 lib/pacemaker/pcmk_injections.c name = pcmk__failcount_name(resource, task, interval_ms); resource 107 lib/pacemaker/pcmk_injections.c name = pcmk__lastfailure_name(resource, task, interval_ms); resource 349 lib/pacemaker/pcmk_injections.c find_resource_xml(xmlNode *cib_node, const char *resource) resource 352 lib/pacemaker/pcmk_injections.c char *xpath = crm_strdup_printf(XPATH_RSC_HISTORY, node, resource); resource 377 lib/pacemaker/pcmk_injections.c const char *resource, const char *lrm_name, resource 385 lib/pacemaker/pcmk_injections.c cib_resource = find_resource_xml(cib_node, resource); resource 394 lib/pacemaker/pcmk_injections.c if (strcmp(resource, lrm_name) != 0) { resource 404 lib/pacemaker/pcmk_injections.c " Please supply the class and type to continue", resource, ID(cib_node)); resource 414 lib/pacemaker/pcmk_injections.c out->err(out, "Invalid class for %s: %s", resource, rclass); resource 420 lib/pacemaker/pcmk_injections.c out->err(out, "Please specify the provider for resource %s", resource); resource 564 lib/pacemaker/pcmk_injections.c char *resource = NULL; resource 587 lib/pacemaker/pcmk_injections.c parse_op_key(key, &resource, &task, &interval_ms); resource 589 lib/pacemaker/pcmk_injections.c rsc = pe_find_resource(data_set->resources, resource); resource 591 lib/pacemaker/pcmk_injections.c out->err(out, "Invalid resource name: %s", resource); resource 602 lib/pacemaker/pcmk_injections.c pcmk__inject_failcount(out, cib_node, resource, task, interval_ms, outcome); resource 605 lib/pacemaker/pcmk_injections.c resource, resource, resource 400 lib/pacemaker/pcmk_sched_colocation.c pe_resource_t *resource = NULL; resource 430 lib/pacemaker/pcmk_sched_colocation.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); resource 432 lib/pacemaker/pcmk_sched_colocation.c pe_rsc_trace(resource, "Colocating %s with %s", resource->id, with->id); resource 433 lib/pacemaker/pcmk_sched_colocation.c pcmk__new_colocation(set_id, NULL, local_score, resource, resource 435 lib/pacemaker/pcmk_sched_colocation.c unpack_influence(coloc_id, resource, resource 438 lib/pacemaker/pcmk_sched_colocation.c with = resource; resource 447 lib/pacemaker/pcmk_sched_colocation.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); resource 449 lib/pacemaker/pcmk_sched_colocation.c pe_rsc_trace(resource, "Colocating %s with %s", resource 450 lib/pacemaker/pcmk_sched_colocation.c last->id, resource->id); resource 452 lib/pacemaker/pcmk_sched_colocation.c resource, role, role, resource 457 lib/pacemaker/pcmk_sched_colocation.c last = resource; resource 472 lib/pacemaker/pcmk_sched_colocation.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); resource 473 lib/pacemaker/pcmk_sched_colocation.c influence = unpack_influence(coloc_id, resource, influence_s); resource 479 lib/pacemaker/pcmk_sched_colocation.c if (pcmk__str_eq(resource->id, ID(xml_rsc_with), resource 484 lib/pacemaker/pcmk_sched_colocation.c pe_rsc_trace(resource, "Anti-Colocating %s with %s", resource->id, resource 487 lib/pacemaker/pcmk_sched_colocation.c resource, with, role, role, resource 443 lib/pacemaker/pcmk_sched_location.c pe_resource_t *resource = NULL; resource 464 lib/pacemaker/pcmk_sched_location.c resource = pcmk__find_constraint_resource(data_set->resources, resource 466 lib/pacemaker/pcmk_sched_location.c if (resource == NULL) { resource 472 lib/pacemaker/pcmk_sched_location.c unpack_rsc_location(location, resource, role, local_score, data_set, resource 596 lib/pacemaker/pcmk_sched_ordering.c pe_resource_t *resource = NULL; resource 628 lib/pacemaker/pcmk_sched_ordering.c EXPAND_CONSTRAINT_IDREF(id, resource, ID(xml_rsc)); resource 629 lib/pacemaker/pcmk_sched_ordering.c resources = g_list_append(resources, resource); resource 639 lib/pacemaker/pcmk_sched_ordering.c resource = (pe_resource_t *) set_iter->data; resource 642 lib/pacemaker/pcmk_sched_ordering.c key = pcmk__op_key(resource->id, action, 0); resource 651 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(resource, strdup(key), NULL, then_rsc, resource 657 lib/pacemaker/pcmk_sched_ordering.c pcmk__order_resource_actions(last, action, resource, action, resource 660 lib/pacemaker/pcmk_sched_ordering.c last = resource; resource 677 lib/pacemaker/pcmk_sched_ordering.c resource = (pe_resource_t *) set_iter->data; resource 682 lib/pacemaker/pcmk_sched_ordering.c pcmk__order_resource_actions(resource, action, last, action, resource 685 lib/pacemaker/pcmk_sched_ordering.c last = resource; resource 262 lib/pacemaker/pcmk_sched_tickets.c pe_resource_t *resource = NULL; resource 264 lib/pacemaker/pcmk_sched_tickets.c resource = pcmk__find_constraint_resource(data_set->resources, resource 266 lib/pacemaker/pcmk_sched_tickets.c if (resource == NULL) { resource 271 lib/pacemaker/pcmk_sched_tickets.c pe_rsc_trace(resource, "Resource '%s' depends on ticket '%s'", resource 272 lib/pacemaker/pcmk_sched_tickets.c resource->id, ticket->id); resource 273 lib/pacemaker/pcmk_sched_tickets.c rsc_ticket_new(set_id, resource, ticket, role, loss_policy, data_set); resource 496 lib/pacemaker/pcmk_simulate.c const char *resource = NULL; resource 535 lib/pacemaker/pcmk_simulate.c resource = resource_config_name; resource 536 lib/pacemaker/pcmk_simulate.c if (pe_find_resource(fake_resource_list, resource) == NULL) { resource 541 lib/pacemaker/pcmk_simulate.c resource = longname; resource 547 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-rsc-action", resource, operation, node, resource 569 lib/pacemaker/pcmk_simulate.c cib_resource = pcmk__inject_resource_history(out, cib_node, resource, resource 574 lib/pacemaker/pcmk_simulate.c action->id, resource); resource 583 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-rsc-action", resource, op->op_type, node, resource 594 lib/pacemaker/pcmk_simulate.c key = crm_strdup_printf(PCMK__OP_FMT "@%s=", resource, op->op_type, resource 597 lib/pacemaker/pcmk_simulate.c match_name = resource; resource 603 lib/pacemaker/pcmk_simulate.c && (strcmp(resource, resource_config_name) != 0)) { resource 2606 lib/pengine/unpack.c find_lrm_op(const char *resource, const char *op, const char *node, const char *source, resource 2612 lib/pengine/unpack.c CRM_CHECK((resource != NULL) && (op != NULL) && (node != NULL), resource 2618 lib/pengine/unpack.c SUB_XPATH_LRM_RESOURCE "[@" XML_ATTR_ID "='", resource, "']"