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 48 lib/pacemaker/pcmk_output.c "rsc", cons->rsc_lh->id, rsc_lh 443 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->rsc_lh->flags, pe_rsc_allocating)) { rsc_lh 444 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s (id=%s - loop)", cons->rsc_lh->id, cons->id); rsc_lh 448 lib/pacemaker/pcmk_output.c hdr = colocations_header(cons->rsc_lh, cons, TRUE); rsc_lh 455 lib/pacemaker/pcmk_output.c out->message(out, "locations-list", cons->rsc_lh); rsc_lh 457 lib/pacemaker/pcmk_output.c out->message(out, "rscs-colocated-with-list", cons->rsc_lh, recursive); rsc_lh 483 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->rsc_lh->flags, pe_rsc_allocating)) { rsc_lh 484 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->rsc_lh, cons); rsc_lh 488 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->rsc_lh, cons); rsc_lh 489 lib/pacemaker/pcmk_output.c do_locations_list_xml(out, cons->rsc_lh, false); rsc_lh 492 lib/pacemaker/pcmk_output.c out->message(out, "rscs-colocated-with-list", cons->rsc_lh, recursive); rsc_lh 630 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 1111 lib/pacemaker/pcmk_sched_clone.c clone_rsc_colocation_lh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 1123 lib/pacemaker/pcmk_sched_clone.c clone_rsc_colocation_rh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 1132 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); rsc_lh 1134 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_lh->variant == pe_native, return); rsc_lh 1137 lib/pacemaker/pcmk_sched_clone.c constraint->id, rsc_lh->id, rsc_rh->id, constraint->score); rsc_lh 1146 lib/pacemaker/pcmk_sched_clone.c promotable_colocation_rh(rsc_lh, rsc_rh, constraint, data_set); rsc_lh 1152 lib/pacemaker/pcmk_sched_clone.c interleave_s = g_hash_table_lookup(constraint->rsc_lh->meta, XML_RSC_ATTR_INTERLEAVE); rsc_lh 1153 lib/pacemaker/pcmk_sched_clone.c if(crm_is_true(interleave_s) && constraint->rsc_lh->variant > pe_group) { rsc_lh 1155 lib/pacemaker/pcmk_sched_clone.c if (copies_per_node(constraint->rsc_lh) != copies_per_node(constraint->rsc_rh)) { rsc_lh 1158 lib/pacemaker/pcmk_sched_clone.c constraint->rsc_lh->id, constraint->rsc_rh->id); rsc_lh 1172 lib/pacemaker/pcmk_sched_clone.c rh_child = find_compatible_child(rsc_lh, rsc_rh, RSC_ROLE_UNKNOWN, rsc_lh 1176 lib/pacemaker/pcmk_sched_clone.c pe_rsc_debug(rsc_rh, "Pairing %s with %s", rsc_lh->id, rh_child->id); rsc_lh 1177 lib/pacemaker/pcmk_sched_clone.c rsc_lh->cmds->rsc_colocation_lh(rsc_lh, rh_child, constraint, rsc_lh 1181 lib/pacemaker/pcmk_sched_clone.c crm_notice("Cannot pair %s with instance of %s", rsc_lh->id, rsc_rh->id); rsc_lh 1182 lib/pacemaker/pcmk_sched_clone.c assign_node(rsc_lh, NULL, TRUE); rsc_lh 1185 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 1204 lib/pacemaker/pcmk_sched_clone.c node_list_exclude(rsc_lh->allowed_nodes, rhs, FALSE); rsc_lh 1213 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_colocation_rh(rsc_lh, child_rsc, constraint, rsc_lh 715 lib/pacemaker/pcmk_sched_constraints.c static void unpack_rsc_location(xmlNode *xml_obj, pe_resource_t *rsc_lh, rsc_lh 727 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = pe_find_constraint_resource(data_set->resources, value); rsc_lh 729 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_location(xml_obj, rsc_lh, NULL, NULL, data_set, NULL); rsc_lh 794 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_location(xmlNode *xml_obj, pe_resource_t *rsc_lh, const char *role, rsc_lh 804 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { rsc_lh 821 lib/pacemaker/pcmk_sched_constraints.c location = rsc2node_new(id, rsc_lh, score_i, discovery, match, data_set); rsc_lh 835 lib/pacemaker/pcmk_sched_constraints.c generate_location_rule(rsc_lh, rule_xml, discovery, next_change, rsc_lh 889 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; rsc_lh 921 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id_lh, &rsc_lh, &tag_lh) == FALSE) { rsc_lh 926 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_lh) { rsc_lh 1222 lib/pacemaker/pcmk_sched_constraints.c CRM_ASSERT(rsc_constraint1->rsc_lh != NULL); rsc_lh 1225 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_lh->priority > rsc_constraint2->rsc_lh->priority) { rsc_lh 1229 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_lh->priority < rsc_constraint2->rsc_lh->priority) { rsc_lh 1234 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_lh->variant > rsc_constraint2->rsc_lh->variant) { rsc_lh 1236 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_constraint1->rsc_lh->variant < rsc_constraint2->rsc_lh->variant) { rsc_lh 1244 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_lh->variant == pe_clone) { rsc_lh 1245 lib/pacemaker/pcmk_sched_constraints.c if (pcmk_is_set(rsc_constraint1->rsc_lh->flags, pe_rsc_promotable) rsc_lh 1246 lib/pacemaker/pcmk_sched_constraints.c && !pcmk_is_set(rsc_constraint2->rsc_lh->flags, pe_rsc_promotable)) { rsc_lh 1248 lib/pacemaker/pcmk_sched_constraints.c } else if (!pcmk_is_set(rsc_constraint1->rsc_lh->flags, pe_rsc_promotable) rsc_lh 1249 lib/pacemaker/pcmk_sched_constraints.c && pcmk_is_set(rsc_constraint2->rsc_lh->flags, pe_rsc_promotable)) { rsc_lh 1254 lib/pacemaker/pcmk_sched_constraints.c return strcmp(rsc_constraint1->rsc_lh->id, rsc_constraint2->rsc_lh->id); rsc_lh 1270 lib/pacemaker/pcmk_sched_constraints.c CRM_ASSERT(rsc_constraint1->rsc_lh != NULL); rsc_lh 1349 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 1359 lib/pacemaker/pcmk_sched_constraints.c if ((rsc_lh == NULL) || (rsc_rh == NULL)) { rsc_lh 1379 lib/pacemaker/pcmk_sched_constraints.c new_con->rsc_lh = rsc_lh; rsc_lh 1391 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 1393 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 1401 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 1402 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 2550 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = pe_find_constraint_resource(data_set->resources, id_lh); rsc_lh 2553 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { rsc_lh 2563 lib/pacemaker/pcmk_sched_constraints.c } else if (instance_lh && pe_rsc_is_clone(rsc_lh) == FALSE) { rsc_lh 2577 lib/pacemaker/pcmk_sched_constraints.c rsc_lh = find_clone_instance(rsc_lh, instance_lh, data_set); rsc_lh 2578 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { rsc_lh 2606 lib/pacemaker/pcmk_sched_constraints.c pcmk__new_colocation(id, attr, score_i, rsc_lh, rsc_rh, state_lh, state_rh, rsc_lh 2607 lib/pacemaker/pcmk_sched_constraints.c unpack_influence(id, rsc_lh, influence_s), data_set); rsc_lh 2619 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; rsc_lh 2656 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id_lh, &rsc_lh, &tag_lh) == FALSE) { rsc_lh 2668 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh && rsc_rh) { rsc_lh 2784 lib/pacemaker/pcmk_sched_constraints.c rsc_ticket_new(const char *id, pe_resource_t * rsc_lh, pe_ticket_t * ticket, rsc_lh 2789 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { rsc_lh 2806 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->rsc_lh = rsc_lh; rsc_lh 2822 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 2827 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 2833 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 2839 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 2846 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 2852 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 2858 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 2861 lib/pacemaker/pcmk_sched_constraints.c rsc_lh->rsc_tickets = g_list_append(rsc_lh->rsc_tickets, new_rsc_ticket); rsc_lh 2866 lib/pacemaker/pcmk_sched_constraints.c rsc_ticket_constraint(rsc_lh, new_rsc_ticket, data_set); rsc_lh 2920 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; rsc_lh 2949 lib/pacemaker/pcmk_sched_constraints.c rsc_lh = pe_find_constraint_resource(data_set->resources, id_lh); rsc_lh 2952 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { rsc_lh 2957 lib/pacemaker/pcmk_sched_constraints.c } else if (instance_lh && pe_rsc_is_clone(rsc_lh) == FALSE) { rsc_lh 2965 lib/pacemaker/pcmk_sched_constraints.c rsc_lh = find_clone_instance(rsc_lh, instance_lh, data_set); rsc_lh 2966 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { rsc_lh 2974 lib/pacemaker/pcmk_sched_constraints.c rsc_ticket_new(id, rsc_lh, ticket, state_lh, loss_policy, data_set); rsc_lh 2985 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; rsc_lh 3017 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id_lh, &rsc_lh, &tag_lh) == FALSE) { rsc_lh 3022 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_lh) { rsc_lh 516 lib/pacemaker/pcmk_sched_graph.c mark_start_blocked(colocate_with->rsc_lh, action->rsc, data_set); rsc_lh 290 lib/pacemaker/pcmk_sched_group.c group_rsc_colocation_lh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 297 lib/pacemaker/pcmk_sched_group.c if (rsc_lh == NULL) { rsc_lh 306 lib/pacemaker/pcmk_sched_group.c gIter = rsc_lh->children; rsc_lh 307 lib/pacemaker/pcmk_sched_group.c pe_rsc_trace(rsc_lh, "Processing constraints from %s", rsc_lh->id); rsc_lh 309 lib/pacemaker/pcmk_sched_group.c get_group_variant_data(group_data, rsc_lh); rsc_lh 320 lib/pacemaker/pcmk_sched_group.c rsc_lh->id, rsc_rh->id); rsc_lh 333 lib/pacemaker/pcmk_sched_group.c group_rsc_colocation_rh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 341 lib/pacemaker/pcmk_sched_group.c CRM_CHECK(rsc_lh->variant == pe_native, return); rsc_lh 344 lib/pacemaker/pcmk_sched_group.c rsc_rh->id, constraint->id, rsc_lh->id); rsc_lh 352 lib/pacemaker/pcmk_sched_group.c group_data->last_child->cmds->rsc_colocation_rh(rsc_lh, rsc_lh 358 lib/pacemaker/pcmk_sched_group.c group_data->first_child->cmds->rsc_colocation_rh(rsc_lh, rsc_lh 368 lib/pacemaker/pcmk_sched_group.c " non-colocated group %s", rsc_lh->id, rsc_rh->id); rsc_lh 375 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_rh(rsc_lh, child_rsc, constraint, rsc_lh 519 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 1717 lib/pacemaker/pcmk_sched_native.c native_rsc_colocation_lh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 1721 lib/pacemaker/pcmk_sched_native.c if (rsc_lh == NULL) { rsc_lh 1730 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "Processing colocation constraint between %s and %s", rsc_lh->id, rsc_lh 1733 lib/pacemaker/pcmk_sched_native.c rsc_rh->cmds->rsc_colocation_rh(rsc_lh, rsc_rh, constraint, data_set); rsc_lh 1737 lib/pacemaker/pcmk_sched_native.c filter_colocation_constraint(pe_resource_t * rsc_lh, pe_resource_t * rsc_rh, rsc_lh 1746 lib/pacemaker/pcmk_sched_native.c rsc_lh->parent && pcmk_is_set(rsc_lh->parent->flags, pe_rsc_promotable) rsc_lh 1747 lib/pacemaker/pcmk_sched_native.c && !pcmk_is_set(rsc_lh->flags, pe_rsc_provisional)) { rsc_lh 1754 lib/pacemaker/pcmk_sched_native.c if (!preview && !pcmk_is_set(rsc_lh->flags, pe_rsc_provisional)) { rsc_lh 1758 lib/pacemaker/pcmk_sched_native.c if (rsc_lh->allocated_to == NULL) { rsc_lh 1767 lib/pacemaker/pcmk_sched_native.c || (rh_node->details != rsc_lh->allocated_to->details)) { rsc_lh 1769 lib/pacemaker/pcmk_sched_native.c rsc_lh->id, rsc_rh->id, rsc_lh 1770 lib/pacemaker/pcmk_sched_native.c rsc_lh->allocated_to->details->uname, rsc_lh 1778 lib/pacemaker/pcmk_sched_native.c && (rsc_lh->allocated_to->details == rh_node->details)) { rsc_lh 1781 lib/pacemaker/pcmk_sched_native.c rsc_lh->id, rsc_rh->id, rh_node->details->uname); rsc_lh 1788 lib/pacemaker/pcmk_sched_native.c && constraint->role_lh != RSC_ROLE_UNKNOWN && constraint->role_lh != rsc_lh->next_role) { rsc_lh 1790 lib/pacemaker/pcmk_sched_native.c role2text(constraint->role_lh), role2text(rsc_lh->next_role)); rsc_lh 1801 lib/pacemaker/pcmk_sched_native.c && constraint->role_lh != RSC_ROLE_UNKNOWN && constraint->role_lh == rsc_lh->next_role) { rsc_lh 1818 lib/pacemaker/pcmk_sched_native.c influence_priority(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 1826 lib/pacemaker/pcmk_sched_native.c if (!rsc_rh->allocated_to || !rsc_lh->allocated_to) { rsc_lh 1834 lib/pacemaker/pcmk_sched_native.c lh_value = pe_node_attribute_raw(rsc_lh->allocated_to, attribute); rsc_lh 1840 lib/pacemaker/pcmk_sched_native.c rsc_lh->priority = -INFINITY; rsc_lh 1853 lib/pacemaker/pcmk_sched_native.c rsc_lh->priority = pe__add_scores(score_multiplier * constraint->score, rsc_lh 1854 lib/pacemaker/pcmk_sched_native.c rsc_lh->priority); rsc_lh 1858 lib/pacemaker/pcmk_sched_native.c colocation_match(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 1879 lib/pacemaker/pcmk_sched_native.c work = pcmk__copy_node_table(rsc_lh->allowed_nodes); rsc_lh 1884 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "%s: %s@%s -= %d (%s inactive)", rsc_lh 1885 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc_lh->id, node->details->uname, rsc_lh 1891 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "%s: %s@%s += %d", rsc_lh 1892 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc_lh->id, rsc_lh 1898 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "%s: %s@%s -= %d (%s mismatch)", rsc_lh 1899 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc_lh->id, node->details->uname, rsc_lh 1907 lib/pacemaker/pcmk_sched_native.c g_hash_table_destroy(rsc_lh->allowed_nodes); rsc_lh 1908 lib/pacemaker/pcmk_sched_native.c rsc_lh->allowed_nodes = work; rsc_lh 1912 lib/pacemaker/pcmk_sched_native.c pe_rsc_info(rsc_lh, rsc_lh 1914 lib/pacemaker/pcmk_sched_native.c rsc_lh->id, rsc_rh->id); rsc_lh 1923 lib/pacemaker/pcmk_sched_native.c native_rsc_colocation_rh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 1929 lib/pacemaker/pcmk_sched_native.c CRM_ASSERT(rsc_lh); rsc_lh 1931 lib/pacemaker/pcmk_sched_native.c filter_results = filter_colocation_constraint(rsc_lh, rsc_rh, constraint, FALSE); rsc_lh 1932 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "%s %s with %s (%s, score=%d, filter=%d)", rsc_lh 1934 lib/pacemaker/pcmk_sched_native.c rsc_lh->id, rsc_rh->id, constraint->id, constraint->score, filter_results); rsc_lh 1938 lib/pacemaker/pcmk_sched_native.c influence_priority(rsc_lh, rsc_rh, constraint); rsc_lh 1941 lib/pacemaker/pcmk_sched_native.c colocation_match(rsc_lh, rsc_rh, constraint); rsc_lh 1950 lib/pacemaker/pcmk_sched_native.c filter_rsc_ticket(pe_resource_t * rsc_lh, rsc_ticket_t * rsc_ticket) rsc_lh 1952 lib/pacemaker/pcmk_sched_native.c if (rsc_ticket->role_lh != RSC_ROLE_UNKNOWN && rsc_ticket->role_lh != rsc_lh->role) { rsc_lh 1953 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "LH: Skipping constraint: \"%s\" state filter", rsc_lh 1962 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 1969 lib/pacemaker/pcmk_sched_native.c if (rsc_lh == NULL) { rsc_lh 1978 lib/pacemaker/pcmk_sched_native.c if (rsc_lh->children) { rsc_lh 1979 lib/pacemaker/pcmk_sched_native.c GList *gIter = rsc_lh->children; rsc_lh 1981 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "Processing ticket dependencies from %s", rsc_lh->id); rsc_lh 1991 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "%s: Processing ticket dependency on %s (%s, %s)", rsc_lh 1992 lib/pacemaker/pcmk_sched_native.c rsc_lh->id, rsc_ticket->ticket->id, rsc_ticket->id, rsc_lh 1996 lib/pacemaker/pcmk_sched_native.c && (rsc_lh->running_on != NULL)) { rsc_lh 2002 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); rsc_lh 2008 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); rsc_lh 2013 lib/pacemaker/pcmk_sched_native.c if (filter_rsc_ticket(rsc_lh, rsc_ticket) == FALSE) { rsc_lh 2017 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); rsc_lh 2019 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc_lh->running_on; gIter != NULL; gIter = gIter->next) { rsc_lh 2027 lib/pacemaker/pcmk_sched_native.c if (filter_rsc_ticket(rsc_lh, rsc_ticket) == FALSE) { rsc_lh 2030 lib/pacemaker/pcmk_sched_native.c if (rsc_lh->running_on != NULL) { rsc_lh 2031 lib/pacemaker/pcmk_sched_native.c pe__clear_resource_flags(rsc_lh, pe_rsc_managed); rsc_lh 2032 lib/pacemaker/pcmk_sched_native.c pe__set_resource_flags(rsc_lh, pe_rsc_block); rsc_lh 2041 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__no_ticket__", data_set); rsc_lh 2048 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 604 lib/pengine/pe_output.c location->id, location->rsc_lh->id, rsc_lh 623 lib/pengine/pe_output.c location->id, location->rsc_lh->id, rsc_lh 642 lib/pengine/pe_output.c "resource", location->rsc_lh->id, rsc_lh 680 lib/pengine/pe_output.c if (!pcmk__str_in_list(only_rsc, rsc_printable_id(location->rsc_lh)) && rsc_lh 681 lib/pengine/pe_output.c !pcmk__str_in_list(only_rsc, rsc_printable_id(uber_parent(location->rsc_lh)))) { rsc_lh 413 tools/crm_resource_runtime.c pe_resource_t *peer = cons->rsc_lh;