rsc_lh 170 include/crm/pengine/internal.h pe_resource_t *rsc_lh; // Resource being located rsc_lh 31 include/pcmki/pcmki_sched_utils.h pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 35 include/pcmki/pcmki_sched_utils.h extern gboolean rsc_ticket_new(const char *id, pe_resource_t * rsc_lh, pe_ticket_t * ticket, rsc_lh 72 include/pcmki/pcmki_sched_utils.h filter_colocation_constraint(pe_resource_t * rsc_lh, pe_resource_t * rsc_rh, rsc_lh 42 include/pcmki/pcmki_scheduler.h pe_resource_t *rsc_lh; rsc_lh 61 include/pcmki/pcmki_scheduler.h pe_resource_t *rsc_lh; rsc_lh 49 lib/pacemaker/pcmk_output.c "rsc", cons->rsc_lh->id, rsc_lh 444 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->rsc_lh->flags, pe_rsc_allocating)) { rsc_lh 445 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s (id=%s - loop)", cons->rsc_lh->id, cons->id); rsc_lh 449 lib/pacemaker/pcmk_output.c hdr = colocations_header(cons->rsc_lh, cons, TRUE); rsc_lh 456 lib/pacemaker/pcmk_output.c out->message(out, "locations-list", cons->rsc_lh); rsc_lh 458 lib/pacemaker/pcmk_output.c out->message(out, "rscs-colocated-with-list", cons->rsc_lh, recursive); rsc_lh 484 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->rsc_lh->flags, pe_rsc_allocating)) { rsc_lh 485 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->rsc_lh, cons); rsc_lh 489 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->rsc_lh, cons); rsc_lh 490 lib/pacemaker/pcmk_output.c do_locations_list_xml(out, cons->rsc_lh, false); rsc_lh 493 lib/pacemaker/pcmk_output.c out->message(out, "rscs-colocated-with-list", cons->rsc_lh, recursive); rsc_lh 602 lib/pacemaker/pcmk_sched_allocate.c cons->rsc_lh->cmds->rsc_location(cons->rsc_lh, cons); rsc_lh 369 lib/pacemaker/pcmk_sched_bundle.c compatible_replica_for_node(pe_resource_t *rsc_lh, pe_node_t *candidate, rsc_lh 379 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->id, rsc->id, candidate->details->uname); rsc_lh 387 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->id, replica->container->id, rsc_lh 393 lib/pacemaker/pcmk_sched_bundle.c crm_trace("Can't pair %s with %s", rsc_lh->id, rsc->id); rsc_lh 398 lib/pacemaker/pcmk_sched_bundle.c compatible_replica(pe_resource_t *rsc_lh, pe_resource_t *rsc, rsc_lh 406 lib/pacemaker/pcmk_sched_bundle.c active_node_lh = rsc_lh->fns->location(rsc_lh, NULL, current); rsc_lh 408 lib/pacemaker/pcmk_sched_bundle.c return compatible_replica_for_node(rsc_lh, active_node_lh, rsc, filter, rsc_lh 412 lib/pacemaker/pcmk_sched_bundle.c scratch = g_hash_table_get_values(rsc_lh->allowed_nodes); rsc_lh 418 lib/pacemaker/pcmk_sched_bundle.c pair = compatible_replica_for_node(rsc_lh, node, rsc, filter, current); rsc_lh 424 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 484 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_rsc_colocation_rh(pe_resource_t *rsc_lh, pe_resource_t *rsc, rsc_lh 492 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); rsc_lh 494 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(rsc_lh->variant == pe_native); rsc_lh 500 lib/pacemaker/pcmk_sched_bundle.c } else if(constraint->rsc_lh->variant > pe_group) { rsc_lh 501 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *rh_child = compatible_replica(rsc_lh, rsc, rsc_lh 506 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_debug(rsc, "Pairing %s with %s", rsc_lh->id, rh_child->id); rsc_lh 507 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->cmds->rsc_colocation_lh(rsc_lh, rh_child, constraint, rsc_lh 511 lib/pacemaker/pcmk_sched_bundle.c crm_notice("Cannot pair %s with instance of %s", rsc_lh->id, rsc->id); rsc_lh 512 lib/pacemaker/pcmk_sched_bundle.c assign_node(rsc_lh, NULL, TRUE); rsc_lh 515 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_debug(rsc, "Cannot pair %s with instance of %s", rsc_lh->id, rsc->id); rsc_lh 523 lib/pacemaker/pcmk_sched_bundle.c constraint->id, rsc_lh->id, rsc->id, constraint->score); rsc_lh 530 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->rsc_colocation_rh(rsc_lh, rsc_lh 557 lib/pacemaker/pcmk_sched_bundle.c node_list_exclude(rsc_lh->allowed_nodes, allocated_rhs, FALSE); rsc_lh 143 lib/pacemaker/pcmk_sched_clone.c hash1 = pcmk__native_merge_weights(constraint->rsc_lh, rsc1->id, hash1, rsc_lh 173 lib/pacemaker/pcmk_sched_clone.c hash2 = pcmk__native_merge_weights(constraint->rsc_lh, rsc2->id, hash2, rsc_lh 718 lib/pacemaker/pcmk_sched_clone.c constraint->rsc_lh->cmds->merge_weights(constraint->rsc_lh, rsc->id, rsc->allowed_nodes, rsc_lh 1110 lib/pacemaker/pcmk_sched_clone.c clone_rsc_colocation_lh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 1122 lib/pacemaker/pcmk_sched_clone.c clone_rsc_colocation_rh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 1131 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); rsc_lh 1133 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_lh->variant == pe_native, return); rsc_lh 1136 lib/pacemaker/pcmk_sched_clone.c constraint->id, rsc_lh->id, rsc_rh->id, constraint->score); rsc_lh 1145 lib/pacemaker/pcmk_sched_clone.c promotable_colocation_rh(rsc_lh, rsc_rh, constraint, data_set); rsc_lh 1151 lib/pacemaker/pcmk_sched_clone.c interleave_s = g_hash_table_lookup(constraint->rsc_lh->meta, XML_RSC_ATTR_INTERLEAVE); rsc_lh 1152 lib/pacemaker/pcmk_sched_clone.c if(crm_is_true(interleave_s) && constraint->rsc_lh->variant > pe_group) { rsc_lh 1154 lib/pacemaker/pcmk_sched_clone.c if (copies_per_node(constraint->rsc_lh) != copies_per_node(constraint->rsc_rh)) { rsc_lh 1157 lib/pacemaker/pcmk_sched_clone.c constraint->rsc_lh->id, constraint->rsc_rh->id); rsc_lh 1171 lib/pacemaker/pcmk_sched_clone.c rh_child = find_compatible_child(rsc_lh, rsc_rh, RSC_ROLE_UNKNOWN, rsc_lh 1175 lib/pacemaker/pcmk_sched_clone.c pe_rsc_debug(rsc_rh, "Pairing %s with %s", rsc_lh->id, rh_child->id); rsc_lh 1176 lib/pacemaker/pcmk_sched_clone.c rsc_lh->cmds->rsc_colocation_lh(rsc_lh, rh_child, constraint, rsc_lh 1180 lib/pacemaker/pcmk_sched_clone.c crm_notice("Cannot pair %s with instance of %s", rsc_lh->id, rsc_rh->id); rsc_lh 1181 lib/pacemaker/pcmk_sched_clone.c assign_node(rsc_lh, NULL, TRUE); rsc_lh 1184 lib/pacemaker/pcmk_sched_clone.c pe_rsc_debug(rsc_rh, "Cannot pair %s with instance of %s", rsc_lh->id, rsc_rh->id); rsc_lh 1203 lib/pacemaker/pcmk_sched_clone.c node_list_exclude(rsc_lh->allowed_nodes, rhs, FALSE); rsc_lh 1212 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_colocation_rh(rsc_lh, child_rsc, constraint, rsc_lh 714 lib/pacemaker/pcmk_sched_constraints.c static void unpack_rsc_location(xmlNode *xml_obj, pe_resource_t *rsc_lh, rsc_lh 726 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = pe_find_constraint_resource(data_set->resources, value); rsc_lh 728 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_location(xml_obj, rsc_lh, NULL, NULL, data_set, NULL); rsc_lh 793 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_location(xmlNode *xml_obj, pe_resource_t *rsc_lh, const char *role, rsc_lh 803 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { rsc_lh 820 lib/pacemaker/pcmk_sched_constraints.c location = rsc2node_new(id, rsc_lh, score_i, discovery, match, data_set); rsc_lh 834 lib/pacemaker/pcmk_sched_constraints.c generate_location_rule(rsc_lh, rule_xml, discovery, next_change, rsc_lh 888 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; rsc_lh 920 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id_lh, &rsc_lh, &tag_lh) == FALSE) { rsc_lh 925 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_lh) { rsc_lh 1221 lib/pacemaker/pcmk_sched_constraints.c CRM_ASSERT(rsc_constraint1->rsc_lh != NULL); rsc_lh 1224 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_lh->priority > rsc_constraint2->rsc_lh->priority) { rsc_lh 1228 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_lh->priority < rsc_constraint2->rsc_lh->priority) { rsc_lh 1233 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_lh->variant > rsc_constraint2->rsc_lh->variant) { rsc_lh 1235 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_constraint1->rsc_lh->variant < rsc_constraint2->rsc_lh->variant) { rsc_lh 1243 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_lh->variant == pe_clone) { rsc_lh 1244 lib/pacemaker/pcmk_sched_constraints.c if (pcmk_is_set(rsc_constraint1->rsc_lh->flags, pe_rsc_promotable) rsc_lh 1245 lib/pacemaker/pcmk_sched_constraints.c && !pcmk_is_set(rsc_constraint2->rsc_lh->flags, pe_rsc_promotable)) { rsc_lh 1247 lib/pacemaker/pcmk_sched_constraints.c } else if (!pcmk_is_set(rsc_constraint1->rsc_lh->flags, pe_rsc_promotable) rsc_lh 1248 lib/pacemaker/pcmk_sched_constraints.c && pcmk_is_set(rsc_constraint2->rsc_lh->flags, pe_rsc_promotable)) { rsc_lh 1253 lib/pacemaker/pcmk_sched_constraints.c return strcmp(rsc_constraint1->rsc_lh->id, rsc_constraint2->rsc_lh->id); rsc_lh 1269 lib/pacemaker/pcmk_sched_constraints.c CRM_ASSERT(rsc_constraint1->rsc_lh != NULL); rsc_lh 1348 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 1358 lib/pacemaker/pcmk_sched_constraints.c if ((rsc_lh == NULL) || (rsc_rh == NULL)) { rsc_lh 1378 lib/pacemaker/pcmk_sched_constraints.c new_con->rsc_lh = rsc_lh; rsc_lh 1390 lib/pacemaker/pcmk_sched_constraints.c pe_rsc_trace(rsc_lh, "%s ==> %s (%s %d)", rsc_lh->id, rsc_rh->id, node_attr, score); rsc_lh 1392 lib/pacemaker/pcmk_sched_constraints.c rsc_lh->rsc_cons = g_list_insert_sorted(rsc_lh->rsc_cons, new_con, sort_cons_priority_rh); rsc_lh 1400 lib/pacemaker/pcmk_sched_constraints.c anti_colocation_order(rsc_lh, new_con->role_lh, rsc_rh, new_con->role_rh, data_set); rsc_lh 1401 lib/pacemaker/pcmk_sched_constraints.c anti_colocation_order(rsc_rh, new_con->role_rh, rsc_lh, new_con->role_lh, data_set); rsc_lh 2548 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = pe_find_constraint_resource(data_set->resources, id_lh); rsc_lh 2551 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { rsc_lh 2561 lib/pacemaker/pcmk_sched_constraints.c } else if (instance_lh && pe_rsc_is_clone(rsc_lh) == FALSE) { rsc_lh 2575 lib/pacemaker/pcmk_sched_constraints.c rsc_lh = find_clone_instance(rsc_lh, instance_lh, data_set); rsc_lh 2576 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { rsc_lh 2604 lib/pacemaker/pcmk_sched_constraints.c pcmk__new_colocation(id, attr, score_i, rsc_lh, rsc_rh, state_lh, state_rh, rsc_lh 2605 lib/pacemaker/pcmk_sched_constraints.c unpack_influence(id, rsc_lh, influence_s), data_set); rsc_lh 2617 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; rsc_lh 2654 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id_lh, &rsc_lh, &tag_lh) == FALSE) { rsc_lh 2666 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh && rsc_rh) { rsc_lh 2782 lib/pacemaker/pcmk_sched_constraints.c rsc_ticket_new(const char *id, pe_resource_t * rsc_lh, pe_ticket_t * ticket, rsc_lh 2787 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { rsc_lh 2804 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->rsc_lh = rsc_lh; rsc_lh 2820 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 2825 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 2831 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 2837 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 2844 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 2850 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 2856 lib/pacemaker/pcmk_sched_constraints.c pe_rsc_trace(rsc_lh, "%s (%s) ==> %s", rsc_lh->id, role2text(new_rsc_ticket->role_lh), rsc_lh 2859 lib/pacemaker/pcmk_sched_constraints.c rsc_lh->rsc_tickets = g_list_append(rsc_lh->rsc_tickets, new_rsc_ticket); rsc_lh 2864 lib/pacemaker/pcmk_sched_constraints.c rsc_ticket_constraint(rsc_lh, new_rsc_ticket, data_set); rsc_lh 2918 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; rsc_lh 2947 lib/pacemaker/pcmk_sched_constraints.c rsc_lh = pe_find_constraint_resource(data_set->resources, id_lh); rsc_lh 2950 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { rsc_lh 2955 lib/pacemaker/pcmk_sched_constraints.c } else if (instance_lh && pe_rsc_is_clone(rsc_lh) == FALSE) { rsc_lh 2963 lib/pacemaker/pcmk_sched_constraints.c rsc_lh = find_clone_instance(rsc_lh, instance_lh, data_set); rsc_lh 2964 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { rsc_lh 2972 lib/pacemaker/pcmk_sched_constraints.c rsc_ticket_new(id, rsc_lh, ticket, state_lh, loss_policy, data_set); rsc_lh 2983 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; rsc_lh 3015 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id_lh, &rsc_lh, &tag_lh) == FALSE) { rsc_lh 3020 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_lh) { rsc_lh 521 lib/pacemaker/pcmk_sched_graph.c mark_start_blocked(colocate_with->rsc_lh, action->rsc, data_set); rsc_lh 334 lib/pacemaker/pcmk_sched_group.c group_rsc_colocation_lh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 341 lib/pacemaker/pcmk_sched_group.c if (rsc_lh == NULL) { rsc_lh 350 lib/pacemaker/pcmk_sched_group.c gIter = rsc_lh->children; rsc_lh 351 lib/pacemaker/pcmk_sched_group.c pe_rsc_trace(rsc_lh, "Processing constraints from %s", rsc_lh->id); rsc_lh 353 lib/pacemaker/pcmk_sched_group.c get_group_variant_data(group_data, rsc_lh); rsc_lh 364 lib/pacemaker/pcmk_sched_group.c rsc_lh->id, rsc_rh->id); rsc_lh 377 lib/pacemaker/pcmk_sched_group.c group_rsc_colocation_rh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 385 lib/pacemaker/pcmk_sched_group.c CRM_CHECK(rsc_lh->variant == pe_native, return); rsc_lh 388 lib/pacemaker/pcmk_sched_group.c rsc_rh->id, constraint->id, rsc_lh->id); rsc_lh 396 lib/pacemaker/pcmk_sched_group.c group_data->last_child->cmds->rsc_colocation_rh(rsc_lh, rsc_lh 402 lib/pacemaker/pcmk_sched_group.c group_data->first_child->cmds->rsc_colocation_rh(rsc_lh, rsc_lh 412 lib/pacemaker/pcmk_sched_group.c " non-colocated group %s", rsc_lh->id, rsc_rh->id); rsc_lh 419 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_rh(rsc_lh, child_rsc, constraint, rsc_lh 563 lib/pacemaker/pcmk_sched_group.c nodes = pcmk__native_merge_weights(constraint->rsc_lh, rsc->id, nodes, rsc_lh 448 lib/pacemaker/pcmk_sched_native.c other = constraint->rsc_lh; rsc_lh 452 lib/pacemaker/pcmk_sched_native.c constraint->id, constraint->rsc_lh->id, rsc_lh 567 lib/pacemaker/pcmk_sched_native.c constraint->id, constraint->rsc_lh->id, rsc_lh 570 lib/pacemaker/pcmk_sched_native.c constraint->rsc_lh->cmds->merge_weights(constraint->rsc_lh, rsc->id, rsc->allowed_nodes, rsc_lh 1710 lib/pacemaker/pcmk_sched_native.c native_rsc_colocation_lh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 1714 lib/pacemaker/pcmk_sched_native.c if (rsc_lh == NULL) { rsc_lh 1723 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "Processing colocation constraint between %s and %s", rsc_lh->id, rsc_lh 1726 lib/pacemaker/pcmk_sched_native.c rsc_rh->cmds->rsc_colocation_rh(rsc_lh, rsc_rh, constraint, data_set); rsc_lh 1730 lib/pacemaker/pcmk_sched_native.c filter_colocation_constraint(pe_resource_t * rsc_lh, pe_resource_t * rsc_rh, rsc_lh 1739 lib/pacemaker/pcmk_sched_native.c rsc_lh->parent && pcmk_is_set(rsc_lh->parent->flags, pe_rsc_promotable) rsc_lh 1740 lib/pacemaker/pcmk_sched_native.c && !pcmk_is_set(rsc_lh->flags, pe_rsc_provisional)) { rsc_lh 1747 lib/pacemaker/pcmk_sched_native.c if (!preview && !pcmk_is_set(rsc_lh->flags, pe_rsc_provisional)) { rsc_lh 1751 lib/pacemaker/pcmk_sched_native.c if (rsc_lh->allocated_to == NULL) { rsc_lh 1760 lib/pacemaker/pcmk_sched_native.c || (rh_node->details != rsc_lh->allocated_to->details)) { rsc_lh 1762 lib/pacemaker/pcmk_sched_native.c rsc_lh->id, rsc_rh->id, rsc_lh 1763 lib/pacemaker/pcmk_sched_native.c rsc_lh->allocated_to->details->uname, rsc_lh 1771 lib/pacemaker/pcmk_sched_native.c && (rsc_lh->allocated_to->details == rh_node->details)) { rsc_lh 1774 lib/pacemaker/pcmk_sched_native.c rsc_lh->id, rsc_rh->id, rh_node->details->uname); rsc_lh 1781 lib/pacemaker/pcmk_sched_native.c && constraint->role_lh != RSC_ROLE_UNKNOWN && constraint->role_lh != rsc_lh->next_role) { rsc_lh 1783 lib/pacemaker/pcmk_sched_native.c role2text(constraint->role_lh), role2text(rsc_lh->next_role)); rsc_lh 1794 lib/pacemaker/pcmk_sched_native.c && constraint->role_lh != RSC_ROLE_UNKNOWN && constraint->role_lh == rsc_lh->next_role) { rsc_lh 1811 lib/pacemaker/pcmk_sched_native.c influence_priority(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 1819 lib/pacemaker/pcmk_sched_native.c if (!rsc_rh->allocated_to || !rsc_lh->allocated_to) { rsc_lh 1827 lib/pacemaker/pcmk_sched_native.c lh_value = pe_node_attribute_raw(rsc_lh->allocated_to, attribute); rsc_lh 1833 lib/pacemaker/pcmk_sched_native.c rsc_lh->priority = -INFINITY; rsc_lh 1846 lib/pacemaker/pcmk_sched_native.c rsc_lh->priority = pe__add_scores(score_multiplier * constraint->score, rsc_lh 1847 lib/pacemaker/pcmk_sched_native.c rsc_lh->priority); rsc_lh 1851 lib/pacemaker/pcmk_sched_native.c colocation_match(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 1872 lib/pacemaker/pcmk_sched_native.c work = pcmk__copy_node_table(rsc_lh->allowed_nodes); rsc_lh 1877 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "%s: %s@%s -= %d (%s inactive)", rsc_lh 1878 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc_lh->id, node->details->uname, rsc_lh 1884 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "%s: %s@%s += %d", rsc_lh 1885 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc_lh->id, rsc_lh 1891 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "%s: %s@%s -= %d (%s mismatch)", rsc_lh 1892 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc_lh->id, node->details->uname, rsc_lh 1900 lib/pacemaker/pcmk_sched_native.c g_hash_table_destroy(rsc_lh->allowed_nodes); rsc_lh 1901 lib/pacemaker/pcmk_sched_native.c rsc_lh->allowed_nodes = work; rsc_lh 1905 lib/pacemaker/pcmk_sched_native.c pe_rsc_info(rsc_lh, rsc_lh 1907 lib/pacemaker/pcmk_sched_native.c rsc_lh->id, rsc_rh->id); rsc_lh 1916 lib/pacemaker/pcmk_sched_native.c native_rsc_colocation_rh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 1922 lib/pacemaker/pcmk_sched_native.c CRM_ASSERT(rsc_lh); rsc_lh 1924 lib/pacemaker/pcmk_sched_native.c filter_results = filter_colocation_constraint(rsc_lh, rsc_rh, constraint, FALSE); rsc_lh 1925 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "%s %s with %s (%s, score=%d, filter=%d)", rsc_lh 1927 lib/pacemaker/pcmk_sched_native.c rsc_lh->id, rsc_rh->id, constraint->id, constraint->score, filter_results); rsc_lh 1931 lib/pacemaker/pcmk_sched_native.c influence_priority(rsc_lh, rsc_rh, constraint); rsc_lh 1934 lib/pacemaker/pcmk_sched_native.c colocation_match(rsc_lh, rsc_rh, constraint); rsc_lh 1943 lib/pacemaker/pcmk_sched_native.c filter_rsc_ticket(pe_resource_t * rsc_lh, rsc_ticket_t * rsc_ticket) rsc_lh 1945 lib/pacemaker/pcmk_sched_native.c if (rsc_ticket->role_lh != RSC_ROLE_UNKNOWN && rsc_ticket->role_lh != rsc_lh->role) { rsc_lh 1946 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "LH: Skipping constraint: \"%s\" state filter", rsc_lh 1955 lib/pacemaker/pcmk_sched_native.c rsc_ticket_constraint(pe_resource_t * rsc_lh, rsc_ticket_t * rsc_ticket, pe_working_set_t * data_set) rsc_lh 1962 lib/pacemaker/pcmk_sched_native.c if (rsc_lh == NULL) { rsc_lh 1971 lib/pacemaker/pcmk_sched_native.c if (rsc_lh->children) { rsc_lh 1972 lib/pacemaker/pcmk_sched_native.c GList *gIter = rsc_lh->children; rsc_lh 1974 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "Processing ticket dependencies from %s", rsc_lh->id); rsc_lh 1984 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "%s: Processing ticket dependency on %s (%s, %s)", rsc_lh 1985 lib/pacemaker/pcmk_sched_native.c rsc_lh->id, rsc_ticket->ticket->id, rsc_ticket->id, rsc_lh 1989 lib/pacemaker/pcmk_sched_native.c && (rsc_lh->running_on != NULL)) { rsc_lh 1995 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); rsc_lh 2001 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); rsc_lh 2006 lib/pacemaker/pcmk_sched_native.c if (filter_rsc_ticket(rsc_lh, rsc_ticket) == FALSE) { rsc_lh 2010 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); rsc_lh 2012 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc_lh->running_on; gIter != NULL; gIter = gIter->next) { rsc_lh 2020 lib/pacemaker/pcmk_sched_native.c if (filter_rsc_ticket(rsc_lh, rsc_ticket) == FALSE) { rsc_lh 2023 lib/pacemaker/pcmk_sched_native.c if (rsc_lh->running_on != NULL) { rsc_lh 2024 lib/pacemaker/pcmk_sched_native.c pe__clear_resource_flags(rsc_lh, pe_rsc_managed); rsc_lh 2025 lib/pacemaker/pcmk_sched_native.c pe__set_resource_flags(rsc_lh, pe_rsc_block); rsc_lh 2034 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__no_ticket__", data_set); rsc_lh 2041 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__ticket_standby__", data_set); rsc_lh 336 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "RHS: %s with %s: %d", constraint->rsc_lh->id, constraint->rsc_rh->id, rsc_lh 358 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "LHS: %s with %s: %d", constraint->rsc_lh->id, constraint->rsc_rh->id, rsc_lh 361 lib/pacemaker/pcmk_sched_promotable.c constraint->rsc_lh->cmds->merge_weights(constraint->rsc_lh, rsc->id, rsc_lh 974 lib/pacemaker/pcmk_sched_promotable.c promotable_colocation_rh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 980 lib/pacemaker/pcmk_sched_promotable.c if (pcmk_is_set(rsc_lh->flags, pe_rsc_provisional)) { rsc_lh 993 lib/pacemaker/pcmk_sched_promotable.c node_hash_update_one(rsc_lh->allowed_nodes, chosen, rsc_lh 1008 lib/pacemaker/pcmk_sched_promotable.c node_list_exclude(rsc_lh->allowed_nodes, rhs, TRUE); rsc_lh 1014 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *rh_child = find_compatible_child(rsc_lh, rsc_rh, rsc_lh 1019 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc_lh, "%s can't be promoted %s", rsc_lh->id, constraint->id); rsc_lh 1020 lib/pacemaker/pcmk_sched_promotable.c rsc_lh->priority = -INFINITY; rsc_lh 1023 lib/pacemaker/pcmk_sched_promotable.c int new_priority = pe__add_scores(rsc_lh->priority, rsc_lh 1026 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_debug(rsc_lh, "Applying %s to %s", constraint->id, rsc_lh->id); rsc_lh 1027 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_debug(rsc_lh, "\t%s: %d->%d", rsc_lh->id, rsc_lh->priority, new_priority); rsc_lh 1028 lib/pacemaker/pcmk_sched_promotable.c rsc_lh->priority = new_priority; rsc_lh 317 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *rsc_lh = constraint->rsc_lh; rsc_lh 320 lib/pacemaker/pcmk_sched_utilization.c if (rsc_lh == orig_rsc) { rsc_lh 324 lib/pacemaker/pcmk_sched_utilization.c if (pe_rsc_is_clone(rsc_lh) == FALSE && pe_rsc_is_clone(rsc)) { rsc_lh 330 lib/pacemaker/pcmk_sched_utilization.c && filter_colocation_constraint(rsc_lh, rsc, constraint, TRUE) == influence_rsc_location) { rsc_lh 332 lib/pacemaker/pcmk_sched_utilization.c if (rsc_lh->variant == pe_group) { rsc_lh 334 lib/pacemaker/pcmk_sched_utilization.c colocated_rscs = group_find_colocated_rscs(colocated_rscs, rsc_lh, orig_rsc); rsc_lh 337 lib/pacemaker/pcmk_sched_utilization.c colocated_rscs = find_colocated_rscs(colocated_rscs, rsc_lh, orig_rsc); rsc_lh 34 lib/pacemaker/pcmk_sched_utils.c new_con->rsc_lh = rsc; rsc_lh 596 lib/pengine/pe_output.c location->id, location->rsc_lh->id, rsc_lh 616 lib/pengine/pe_output.c location->id, location->rsc_lh->id, rsc_lh 635 lib/pengine/pe_output.c "resource", location->rsc_lh->id, rsc_lh 673 lib/pengine/pe_output.c if (!pcmk__str_in_list(only_rsc, rsc_printable_id(location->rsc_lh), pcmk__str_none) && rsc_lh 674 lib/pengine/pe_output.c !pcmk__str_in_list(only_rsc, rsc_printable_id(uber_parent(location->rsc_lh)), pcmk__str_none)) { rsc_lh 413 tools/crm_resource_runtime.c pe_resource_t *peer = cons->rsc_lh;