rsc_lh 170 include/crm/pengine/internal.h pe_resource_t *rsc_lh; // Resource being located rsc_lh 61 include/pcmki/pcmki_scheduler.h pe_resource_t *rsc_lh; rsc_lh 350 lib/pacemaker/pcmk_sched_bundle.c compatible_replica_for_node(pe_resource_t *rsc_lh, pe_node_t *candidate, rsc_lh 360 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->id, rsc->id, candidate->details->uname); rsc_lh 368 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->id, replica->container->id, rsc_lh 374 lib/pacemaker/pcmk_sched_bundle.c crm_trace("Can't pair %s with %s", rsc_lh->id, rsc->id); rsc_lh 379 lib/pacemaker/pcmk_sched_bundle.c compatible_replica(pe_resource_t *rsc_lh, pe_resource_t *rsc, rsc_lh 387 lib/pacemaker/pcmk_sched_bundle.c active_node_lh = rsc_lh->fns->location(rsc_lh, NULL, current); rsc_lh 389 lib/pacemaker/pcmk_sched_bundle.c return compatible_replica_for_node(rsc_lh, active_node_lh, rsc, filter, rsc_lh 393 lib/pacemaker/pcmk_sched_bundle.c scratch = g_hash_table_get_values(rsc_lh->allowed_nodes); rsc_lh 399 lib/pacemaker/pcmk_sched_bundle.c pair = compatible_replica_for_node(rsc_lh, node, rsc, filter, current); rsc_lh 405 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_debug(rsc, "Can't pair %s with %s", rsc_lh->id, (rsc? rsc->id : "none")); rsc_lh 200 lib/pacemaker/pcmk_sched_location.c unpack_rsc_location(xmlNode *xml_obj, pe_resource_t *rsc_lh, const char *role, rsc_lh 210 lib/pacemaker/pcmk_sched_location.c if (rsc_lh == NULL) { rsc_lh 227 lib/pacemaker/pcmk_sched_location.c location = pcmk__new_location(id, rsc_lh, score_i, discovery, match, rsc_lh 242 lib/pacemaker/pcmk_sched_location.c generate_location_rule(rsc_lh, rule_xml, discovery, next_change, rsc_lh 296 lib/pacemaker/pcmk_sched_location.c pe_resource_t *rsc_lh; rsc_lh 298 lib/pacemaker/pcmk_sched_location.c rsc_lh = pcmk__find_constraint_resource(data_set->resources, value); rsc_lh 299 lib/pacemaker/pcmk_sched_location.c unpack_rsc_location(xml_obj, rsc_lh, NULL, NULL, data_set, NULL); rsc_lh 373 lib/pacemaker/pcmk_sched_location.c pe_resource_t *rsc_lh = NULL; rsc_lh 400 lib/pacemaker/pcmk_sched_location.c if (!pcmk__valid_resource_or_tag(data_set, id_lh, &rsc_lh, &tag_lh)) { rsc_lh 405 lib/pacemaker/pcmk_sched_location.c } else if (rsc_lh != NULL) { rsc_lh 556 lib/pacemaker/pcmk_sched_location.c new_con->rsc_lh = rsc; rsc_lh 604 lib/pacemaker/pcmk_sched_location.c location->rsc_lh->cmds->rsc_location(location->rsc_lh, location); rsc_lh 31 lib/pacemaker/pcmk_sched_tickets.c ticket_role_matches(pe_resource_t *rsc_lh, rsc_ticket_t *rsc_ticket) rsc_lh 34 lib/pacemaker/pcmk_sched_tickets.c || (rsc_ticket->role_lh == rsc_lh->role)) { rsc_lh 37 lib/pacemaker/pcmk_sched_tickets.c pe_rsc_trace(rsc_lh, "LH: Skipping constraint: \"%s\" state filter", rsc_lh 50 lib/pacemaker/pcmk_sched_tickets.c constraints_for_ticket(pe_resource_t *rsc_lh, rsc_ticket_t *rsc_ticket, rsc_lh 55 lib/pacemaker/pcmk_sched_tickets.c CRM_CHECK((rsc_lh != NULL) && (rsc_ticket != NULL), return); rsc_lh 61 lib/pacemaker/pcmk_sched_tickets.c if (rsc_lh->children) { rsc_lh 62 lib/pacemaker/pcmk_sched_tickets.c pe_rsc_trace(rsc_lh, "Processing ticket dependencies from %s", rsc_lh->id); rsc_lh 63 lib/pacemaker/pcmk_sched_tickets.c for (gIter = rsc_lh->children; gIter != NULL; gIter = gIter->next) { rsc_lh 70 lib/pacemaker/pcmk_sched_tickets.c pe_rsc_trace(rsc_lh, "%s: Processing ticket dependency on %s (%s, %s)", rsc_lh 71 lib/pacemaker/pcmk_sched_tickets.c rsc_lh->id, rsc_ticket->ticket->id, rsc_ticket->id, rsc_lh 74 lib/pacemaker/pcmk_sched_tickets.c if (!rsc_ticket->ticket->granted && (rsc_lh->running_on != NULL)) { rsc_lh 78 lib/pacemaker/pcmk_sched_tickets.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", rsc_lh 85 lib/pacemaker/pcmk_sched_tickets.c resource_location(rsc_lh, NULL, -INFINITY, rsc_lh 91 lib/pacemaker/pcmk_sched_tickets.c if (!ticket_role_matches(rsc_lh, rsc_ticket)) { rsc_lh 95 lib/pacemaker/pcmk_sched_tickets.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", rsc_lh 98 lib/pacemaker/pcmk_sched_tickets.c for (gIter = rsc_lh->running_on; gIter != NULL; rsc_lh 106 lib/pacemaker/pcmk_sched_tickets.c if (!ticket_role_matches(rsc_lh, rsc_ticket)) { rsc_lh 109 lib/pacemaker/pcmk_sched_tickets.c if (rsc_lh->running_on != NULL) { rsc_lh 110 lib/pacemaker/pcmk_sched_tickets.c pe__clear_resource_flags(rsc_lh, pe_rsc_managed); rsc_lh 111 lib/pacemaker/pcmk_sched_tickets.c pe__set_resource_flags(rsc_lh, pe_rsc_block); rsc_lh 120 lib/pacemaker/pcmk_sched_tickets.c resource_location(rsc_lh, NULL, -INFINITY, "__no_ticket__", rsc_lh 128 lib/pacemaker/pcmk_sched_tickets.c resource_location(rsc_lh, NULL, -INFINITY, "__ticket_standby__", rsc_lh 135 lib/pacemaker/pcmk_sched_tickets.c rsc_ticket_new(const char *id, pe_resource_t *rsc_lh, pe_ticket_t *ticket, rsc_lh 141 lib/pacemaker/pcmk_sched_tickets.c if (rsc_lh == NULL) { rsc_lh 159 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->rsc_lh = rsc_lh; rsc_lh 175 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 180 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 186 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 192 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 199 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 205 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 211 lib/pacemaker/pcmk_sched_tickets.c pe_rsc_trace(rsc_lh, "%s (%s) ==> %s", rsc_lh 212 lib/pacemaker/pcmk_sched_tickets.c rsc_lh->id, role2text(new_rsc_ticket->role_lh), ticket->id); rsc_lh 214 lib/pacemaker/pcmk_sched_tickets.c rsc_lh->rsc_tickets = g_list_append(rsc_lh->rsc_tickets, new_rsc_ticket); rsc_lh 220 lib/pacemaker/pcmk_sched_tickets.c constraints_for_ticket(rsc_lh, new_rsc_ticket, data_set); rsc_lh 281 lib/pacemaker/pcmk_sched_tickets.c pe_resource_t *rsc_lh = NULL; rsc_lh 310 lib/pacemaker/pcmk_sched_tickets.c rsc_lh = pcmk__find_constraint_resource(data_set->resources, id_lh); rsc_lh 313 lib/pacemaker/pcmk_sched_tickets.c if (rsc_lh == NULL) { rsc_lh 318 lib/pacemaker/pcmk_sched_tickets.c } else if ((instance_lh != NULL) && !pe_rsc_is_clone(rsc_lh)) { rsc_lh 326 lib/pacemaker/pcmk_sched_tickets.c rsc_lh = find_clone_instance(rsc_lh, instance_lh, data_set); rsc_lh 327 lib/pacemaker/pcmk_sched_tickets.c if (rsc_lh == NULL) { rsc_lh 335 lib/pacemaker/pcmk_sched_tickets.c rsc_ticket_new(id, rsc_lh, ticket, state_lh, loss_policy, data_set); rsc_lh 347 lib/pacemaker/pcmk_sched_tickets.c pe_resource_t *rsc_lh = NULL; rsc_lh 375 lib/pacemaker/pcmk_sched_tickets.c if (!pcmk__valid_resource_or_tag(data_set, id_lh, &rsc_lh, &tag_lh)) { rsc_lh 380 lib/pacemaker/pcmk_sched_tickets.c } else if (rsc_lh) { rsc_lh 549 lib/pengine/pe_output.c location->id, location->rsc_lh->id, rsc_lh 569 lib/pengine/pe_output.c location->id, location->rsc_lh->id, rsc_lh 588 lib/pengine/pe_output.c "resource", location->rsc_lh->id, rsc_lh 626 lib/pengine/pe_output.c if (!pcmk__str_in_list(rsc_printable_id(location->rsc_lh), only_rsc, pcmk__str_star_matches) && rsc_lh 627 lib/pengine/pe_output.c !pcmk__str_in_list(rsc_printable_id(uber_parent(location->rsc_lh)), only_rsc, pcmk__str_star_matches)) {