resource 1260 crmd/lrm.c get_lrm_resource(lrm_state_t * lrm_state, xmlNode * resource, xmlNode * op_msg, gboolean do_create) resource 1263 crmd/lrm.c const char *id = ID(resource); resource 1264 crmd/lrm.c const char *type = crm_element_value(resource, XML_ATTR_TYPE); resource 1265 crmd/lrm.c const char *class = crm_element_value(resource, XML_AGENT_ATTR_CLASS); resource 1266 crmd/lrm.c const char *provider = crm_element_value(resource, XML_AGENT_ATTR_PROVIDER); resource 1267 crmd/lrm.c const char *long_id = crm_element_value(resource, XML_ATTR_ID_LONG); resource 32 include/crm/attrd.h int attrd_clear_delegate(crm_ipc_t *ipc, const char *host, const char *resource, resource 150 include/crm/transition.h lrmd_event_data_t *convert_graph_action(xmlNode * resource, crm_action_t * action, int status, resource 236 lib/common/attrd_client.c attrd_clear_delegate(crm_ipc_t *ipc, const char *host, const char *resource, resource 245 lib/common/attrd_client.c crm_xml_add(clear_op, F_ATTRD_RESOURCE, resource); resource 256 lib/common/attrd_client.c (resource? resource : "all resources"), resource 2377 lib/pengine/unpack.c find_lrm_op(const char *resource, const char *op, const char *node, const char *source, resource 2386 lib/pengine/unpack.c resource); resource 297 lib/transition/unpack.c convert_graph_action(xmlNode * resource, crm_action_t * action, int status, int rc) resource 332 lib/transition/unpack.c for (xop = __xml_first_child(resource); xop != NULL; xop = __xml_next(xop)) { resource 336 lib/transition/unpack.c crm_debug("Got call_id=%d for %s", tmp, ID(resource)); resource 886 pengine/constraints.c resource_t *resource = NULL; resource 907 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); resource 908 pengine/constraints.c unpack_rsc_location(location, resource, role, local_score, data_set, NULL); resource 1577 pengine/constraints.c resource_t *resource = NULL; resource 1615 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(id, resource, ID(xml_rsc)); resource 1616 pengine/constraints.c resources = g_list_append(resources, resource); resource 1622 pengine/constraints.c *rsc = resource; resource 1648 pengine/constraints.c resource = (resource_t *) set_iter->data; resource 1651 pengine/constraints.c key = generate_op_key(resource->id, action, 0); resource 1670 pengine/constraints.c custom_action_order(resource, strdup(key), NULL, then_rsc, then_key, NULL, resource 1676 pengine/constraints.c new_rsc_order(last, action, resource, action, flags, data_set); resource 1678 pengine/constraints.c last = resource; resource 1714 pengine/constraints.c resource = (resource_t *) set_iter->data; resource 1729 pengine/constraints.c new_rsc_order(resource, action, last, action, flags, data_set); resource 1731 pengine/constraints.c last = resource; resource 2160 pengine/constraints.c resource_t *resource = NULL; resource 2183 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); resource 2185 pengine/constraints.c pe_rsc_trace(resource, "Colocating %s with %s", resource->id, with->id); resource 2186 pengine/constraints.c rsc_colocation_new(set_id, NULL, local_score, resource, with, role, role, resource 2190 pengine/constraints.c with = resource; resource 2197 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); resource 2199 pengine/constraints.c pe_rsc_trace(resource, "Colocating %s with %s", last->id, resource->id); resource 2200 pengine/constraints.c rsc_colocation_new(set_id, NULL, local_score, last, resource, role, role, resource 2204 pengine/constraints.c last = resource; resource 2218 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); resource 2223 pengine/constraints.c if (safe_str_eq(resource->id, ID(xml_rsc_with))) { resource 2225 pengine/constraints.c } else if (resource == NULL) { resource 2231 pengine/constraints.c pe_rsc_trace(resource, "Anti-Colocating %s with %s", resource->id, resource 2233 pengine/constraints.c rsc_colocation_new(set_id, NULL, local_score, resource, with, role, role, resource 2657 pengine/constraints.c resource_t *resource = NULL; resource 2675 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(set_id, resource, ID(xml_rsc)); resource 2676 pengine/constraints.c pe_rsc_trace(resource, "Resource '%s' depends on ticket '%s'", resource 2677 pengine/constraints.c resource->id, ticket->id); resource 2678 pengine/constraints.c rsc_ticket_new(set_id, resource, ticket, role, loss_policy, data_set); resource 91 tools/fake_transition.c update_failcounts(xmlNode * cib_node, const char *resource, const char *task, resource 104 tools/fake_transition.c name = crm_failcount_name(resource, task, interval); resource 108 tools/fake_transition.c name = crm_lastfailure_name(resource, task, interval); resource 255 tools/fake_transition.c find_resource_xml(xmlNode * cib_node, const char *resource) resource 260 tools/fake_transition.c int max = strlen(rsc_template) + strlen(node) + strlen(resource) + 1; resource 264 tools/fake_transition.c snprintf(xpath, max, rsc_template, node, resource); resource 273 tools/fake_transition.c inject_resource(xmlNode * cib_node, const char *resource, const char *rclass, const char *rtype, resource 281 tools/fake_transition.c cib_resource = find_resource_xml(cib_node, resource); resource 290 tools/fake_transition.c " Please supply the class and type to continue\n", resource, ID(cib_node)); resource 300 tools/fake_transition.c fprintf(stderr, "Invalid class for %s: %s\n", resource, rclass); resource 304 tools/fake_transition.c fprintf(stderr, "Please specify the provider for resource %s\n", resource); resource 309 tools/fake_transition.c crm_info("Injecting new resource %s into %s '%s'", resource, xpath, ID(cib_node)); resource 326 tools/fake_transition.c crm_xml_add(cib_resource, XML_ATTR_ID, resource); resource 552 tools/fake_transition.c char *resource = NULL; resource 572 tools/fake_transition.c parse_op_key(key, &resource, &task, &interval); resource 574 tools/fake_transition.c rsc = pe_find_resource(data_set->resources, resource); resource 576 tools/fake_transition.c fprintf(stderr, " - Invalid resource name: %s\n", resource); resource 585 tools/fake_transition.c update_failcounts(cib_node, resource, task, interval, outcome); resource 587 tools/fake_transition.c cib_resource = inject_resource(cib_node, resource, rclass, rtype, rprovider); resource 631 tools/fake_transition.c const char *resource = NULL; resource 660 tools/fake_transition.c resource = crm_element_value(action_rsc, XML_ATTR_ID); resource 661 tools/fake_transition.c if (pe_find_resource(fake_resource_list, resource) == NULL) { resource 665 tools/fake_transition.c resource = longname; resource 670 tools/fake_transition.c quiet_log(" * Resource action: %-15s %s on %s\n", resource, operation, node); resource 692 tools/fake_transition.c cib_resource = inject_resource(cib_node, resource, rclass, rtype, rprovider); resource 697 tools/fake_transition.c quiet_log(" * Resource action: %-15s %s=%d on %s\n", resource, op->op_type, op->interval, resource 700 tools/fake_transition.c quiet_log(" * Resource action: %-15s %s on %s\n", resource, op->op_type, node); resource 708 tools/fake_transition.c snprintf(key, strlen(spec), "%s_%s_%d@%s=", resource, op->op_type, op->interval, node); resource 724 tools/fake_transition.c update_failcounts(cib_node, resource, op->op_type, op->interval, op->rc);