rsc_lh 169 include/crm/pengine/internal.h pe_resource_t *rsc_lh; // Resource being located rsc_lh 32 include/pcmki/pcmki_sched_utils.h pe_resource_t * rsc_lh, pe_resource_t * rsc_rh, rsc_lh 36 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 73 include/pcmki/pcmki_sched_utils.h filter_colocation_constraint(pe_resource_t * rsc_lh, pe_resource_t * rsc_rh, rsc_lh 43 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 626 lib/pacemaker/pcmk_sched_allocate.c cons->rsc_lh->cmds->rsc_location(cons->rsc_lh, cons); rsc_lh 365 lib/pacemaker/pcmk_sched_bundle.c compatible_replica_for_node(pe_resource_t *rsc_lh, pe_node_t *candidate, rsc_lh 375 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->id, rsc->id, candidate->details->uname); rsc_lh 383 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->id, replica->container->id, rsc_lh 389 lib/pacemaker/pcmk_sched_bundle.c crm_trace("Can't pair %s with %s", rsc_lh->id, rsc->id); rsc_lh 394 lib/pacemaker/pcmk_sched_bundle.c compatible_replica(pe_resource_t *rsc_lh, pe_resource_t *rsc, rsc_lh 402 lib/pacemaker/pcmk_sched_bundle.c active_node_lh = rsc_lh->fns->location(rsc_lh, NULL, current); rsc_lh 404 lib/pacemaker/pcmk_sched_bundle.c return compatible_replica_for_node(rsc_lh, active_node_lh, rsc, filter, rsc_lh 408 lib/pacemaker/pcmk_sched_bundle.c scratch = g_hash_table_get_values(rsc_lh->allowed_nodes); rsc_lh 414 lib/pacemaker/pcmk_sched_bundle.c pair = compatible_replica_for_node(rsc_lh, node, rsc, filter, current); rsc_lh 420 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 471 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_rsc_colocation_rh(pe_resource_t *rsc_lh, pe_resource_t *rsc, rsc_lh 479 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); rsc_lh 481 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(rsc_lh->variant == pe_native); rsc_lh 490 lib/pacemaker/pcmk_sched_bundle.c } else if(constraint->rsc_lh->variant > pe_group) { rsc_lh 491 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *rh_child = compatible_replica(rsc_lh, rsc, rsc_lh 496 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_debug(rsc, "Pairing %s with %s", rsc_lh->id, rh_child->id); rsc_lh 497 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->cmds->rsc_colocation_lh(rsc_lh, rh_child, constraint, rsc_lh 501 lib/pacemaker/pcmk_sched_bundle.c crm_notice("Cannot pair %s with instance of %s", rsc_lh->id, rsc->id); rsc_lh 502 lib/pacemaker/pcmk_sched_bundle.c assign_node(rsc_lh, NULL, TRUE); rsc_lh 505 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_debug(rsc, "Cannot pair %s with instance of %s", rsc_lh->id, rsc->id); rsc_lh 513 lib/pacemaker/pcmk_sched_bundle.c constraint->id, rsc_lh->id, rsc->id, constraint->score); rsc_lh 520 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->rsc_colocation_rh(rsc_lh, rsc_lh 547 lib/pacemaker/pcmk_sched_bundle.c node_list_exclude(rsc_lh->allowed_nodes, allocated_rhs, FALSE); rsc_lh 262 lib/pacemaker/pcmk_sched_clone.c hash1 = pcmk__native_merge_weights(constraint->rsc_lh, rsc_lh 288 lib/pacemaker/pcmk_sched_clone.c hash2 = pcmk__native_merge_weights(constraint->rsc_lh, rsc_lh 665 lib/pacemaker/pcmk_sched_clone.c constraint->rsc_lh->cmds->merge_weights(constraint->rsc_lh, rsc->id, rsc->allowed_nodes, rsc_lh 1057 lib/pacemaker/pcmk_sched_clone.c clone_rsc_colocation_lh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 1069 lib/pacemaker/pcmk_sched_clone.c clone_rsc_colocation_rh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 1078 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); rsc_lh 1080 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_lh->variant == pe_native, return); rsc_lh 1086 lib/pacemaker/pcmk_sched_clone.c constraint->id, rsc_lh->id, rsc_rh->id, constraint->score); rsc_lh 1095 lib/pacemaker/pcmk_sched_clone.c promotable_colocation_rh(rsc_lh, rsc_rh, constraint, data_set); rsc_lh 1101 lib/pacemaker/pcmk_sched_clone.c interleave_s = g_hash_table_lookup(constraint->rsc_lh->meta, XML_RSC_ATTR_INTERLEAVE); rsc_lh 1102 lib/pacemaker/pcmk_sched_clone.c if(crm_is_true(interleave_s) && constraint->rsc_lh->variant > pe_group) { rsc_lh 1104 lib/pacemaker/pcmk_sched_clone.c if (copies_per_node(constraint->rsc_lh) != copies_per_node(constraint->rsc_rh)) { rsc_lh 1107 lib/pacemaker/pcmk_sched_clone.c constraint->rsc_lh->id, constraint->rsc_rh->id); rsc_lh 1121 lib/pacemaker/pcmk_sched_clone.c rh_child = find_compatible_child(rsc_lh, rsc_rh, RSC_ROLE_UNKNOWN, rsc_lh 1125 lib/pacemaker/pcmk_sched_clone.c pe_rsc_debug(rsc_rh, "Pairing %s with %s", rsc_lh->id, rh_child->id); rsc_lh 1126 lib/pacemaker/pcmk_sched_clone.c rsc_lh->cmds->rsc_colocation_lh(rsc_lh, rh_child, constraint, rsc_lh 1130 lib/pacemaker/pcmk_sched_clone.c crm_notice("Cannot pair %s with instance of %s", rsc_lh->id, rsc_rh->id); rsc_lh 1131 lib/pacemaker/pcmk_sched_clone.c assign_node(rsc_lh, NULL, TRUE); rsc_lh 1134 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 1153 lib/pacemaker/pcmk_sched_clone.c node_list_exclude(rsc_lh->allowed_nodes, rhs, FALSE); rsc_lh 1162 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_colocation_rh(rsc_lh, child_rsc, constraint, rsc_lh 712 lib/pacemaker/pcmk_sched_constraints.c static gboolean unpack_rsc_location(xmlNode * xml_obj, pe_resource_t * rsc_lh, const char * role, rsc_lh 722 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = pe_find_constraint_resource(data_set->resources, value); rsc_lh 724 lib/pacemaker/pcmk_sched_constraints.c return unpack_rsc_location(xml_obj, rsc_lh, NULL, NULL, data_set, NULL); rsc_lh 795 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 891 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; rsc_lh 923 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id_lh, &rsc_lh, &tag_lh) == FALSE) { rsc_lh 928 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_lh) { rsc_lh 1219 lib/pacemaker/pcmk_sched_constraints.c CRM_ASSERT(rsc_constraint1->rsc_lh != NULL); rsc_lh 1222 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_lh->priority > rsc_constraint2->rsc_lh->priority) { rsc_lh 1226 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_lh->priority < rsc_constraint2->rsc_lh->priority) { rsc_lh 1231 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_lh->variant > rsc_constraint2->rsc_lh->variant) { rsc_lh 1233 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_constraint1->rsc_lh->variant < rsc_constraint2->rsc_lh->variant) { rsc_lh 1241 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_lh->variant == pe_clone) { rsc_lh 1242 lib/pacemaker/pcmk_sched_constraints.c if (pcmk_is_set(rsc_constraint1->rsc_lh->flags, pe_rsc_promotable) rsc_lh 1243 lib/pacemaker/pcmk_sched_constraints.c && !pcmk_is_set(rsc_constraint2->rsc_lh->flags, pe_rsc_promotable)) { rsc_lh 1245 lib/pacemaker/pcmk_sched_constraints.c } else 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 1251 lib/pacemaker/pcmk_sched_constraints.c return strcmp(rsc_constraint1->rsc_lh->id, rsc_constraint2->rsc_lh->id); rsc_lh 1267 lib/pacemaker/pcmk_sched_constraints.c CRM_ASSERT(rsc_constraint1->rsc_lh != NULL); rsc_lh 1346 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t * rsc_lh, pe_resource_t * rsc_rh, rsc_lh 1351 lib/pacemaker/pcmk_sched_constraints.c if ((rsc_lh == NULL) || (rsc_rh == NULL)) { rsc_lh 1371 lib/pacemaker/pcmk_sched_constraints.c new_con->rsc_lh = rsc_lh; rsc_lh 1382 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 1384 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 1392 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 1393 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 2483 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = pe_find_constraint_resource(data_set->resources, id_lh); rsc_lh 2486 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { rsc_lh 2496 lib/pacemaker/pcmk_sched_constraints.c } else if (instance_lh && pe_rsc_is_clone(rsc_lh) == FALSE) { rsc_lh 2510 lib/pacemaker/pcmk_sched_constraints.c rsc_lh = find_clone_instance(rsc_lh, instance_lh, data_set); rsc_lh 2511 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { rsc_lh 2539 lib/pacemaker/pcmk_sched_constraints.c rsc_colocation_new(id, attr, score_i, rsc_lh, rsc_rh, state_lh, state_rh, data_set); rsc_lh 2552 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; rsc_lh 2589 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id_lh, &rsc_lh, &tag_lh) == FALSE) { rsc_lh 2601 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh && rsc_rh) { rsc_lh 2718 lib/pacemaker/pcmk_sched_constraints.c rsc_ticket_new(const char *id, pe_resource_t * rsc_lh, pe_ticket_t * ticket, rsc_lh 2723 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { rsc_lh 2740 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->rsc_lh = rsc_lh; rsc_lh 2756 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 2761 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 2767 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 2773 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 2780 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 2786 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, rsc_lh 2792 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 2795 lib/pacemaker/pcmk_sched_constraints.c rsc_lh->rsc_tickets = g_list_append(rsc_lh->rsc_tickets, new_rsc_ticket); rsc_lh 2800 lib/pacemaker/pcmk_sched_constraints.c rsc_ticket_constraint(rsc_lh, new_rsc_ticket, data_set); rsc_lh 2854 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; rsc_lh 2883 lib/pacemaker/pcmk_sched_constraints.c rsc_lh = pe_find_constraint_resource(data_set->resources, id_lh); rsc_lh 2886 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { rsc_lh 2891 lib/pacemaker/pcmk_sched_constraints.c } else if (instance_lh && pe_rsc_is_clone(rsc_lh) == FALSE) { rsc_lh 2899 lib/pacemaker/pcmk_sched_constraints.c rsc_lh = find_clone_instance(rsc_lh, instance_lh, data_set); rsc_lh 2900 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { rsc_lh 2908 lib/pacemaker/pcmk_sched_constraints.c rsc_ticket_new(id, rsc_lh, ticket, state_lh, loss_policy, data_set); rsc_lh 2919 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; rsc_lh 2951 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id_lh, &rsc_lh, &tag_lh) == FALSE) { rsc_lh 2956 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_lh) { rsc_lh 515 lib/pacemaker/pcmk_sched_graph.c mark_start_blocked(colocate_with->rsc_lh, action->rsc, data_set); rsc_lh 284 lib/pacemaker/pcmk_sched_group.c group_rsc_colocation_lh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 291 lib/pacemaker/pcmk_sched_group.c if (rsc_lh == NULL) { rsc_lh 303 lib/pacemaker/pcmk_sched_group.c gIter = rsc_lh->children; rsc_lh 304 lib/pacemaker/pcmk_sched_group.c pe_rsc_trace(rsc_lh, "Processing constraints from %s", rsc_lh->id); rsc_lh 306 lib/pacemaker/pcmk_sched_group.c get_group_variant_data(group_data, rsc_lh); rsc_lh 317 lib/pacemaker/pcmk_sched_group.c rsc_lh->id, rsc_rh->id); rsc_lh 330 lib/pacemaker/pcmk_sched_group.c group_rsc_colocation_rh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 338 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 522 lib/pacemaker/pcmk_sched_group.c nodes = pcmk__native_merge_weights(constraint->rsc_lh, rsc->id, nodes, rsc_lh 446 lib/pacemaker/pcmk_sched_native.c other = constraint->rsc_lh; rsc_lh 450 lib/pacemaker/pcmk_sched_native.c constraint->id, constraint->rsc_lh->id, rsc_lh 569 lib/pacemaker/pcmk_sched_native.c constraint->id, constraint->rsc_lh->id, rsc_lh 572 lib/pacemaker/pcmk_sched_native.c constraint->rsc_lh->cmds->merge_weights(constraint->rsc_lh, rsc->id, rsc->allowed_nodes, rsc_lh 1712 lib/pacemaker/pcmk_sched_native.c native_rsc_colocation_lh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 1716 lib/pacemaker/pcmk_sched_native.c if (rsc_lh == NULL) { rsc_lh 1728 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "Processing colocation constraint between %s and %s", rsc_lh->id, rsc_lh 1731 lib/pacemaker/pcmk_sched_native.c rsc_rh->cmds->rsc_colocation_rh(rsc_lh, rsc_rh, constraint, data_set); rsc_lh 1735 lib/pacemaker/pcmk_sched_native.c filter_colocation_constraint(pe_resource_t * rsc_lh, pe_resource_t * rsc_rh, rsc_lh 1748 lib/pacemaker/pcmk_sched_native.c rsc_lh->parent && pcmk_is_set(rsc_lh->parent->flags, pe_rsc_promotable) rsc_lh 1749 lib/pacemaker/pcmk_sched_native.c && !pcmk_is_set(rsc_lh->flags, pe_rsc_provisional)) { rsc_lh 1756 lib/pacemaker/pcmk_sched_native.c if (!preview && !pcmk_is_set(rsc_lh->flags, pe_rsc_provisional)) { rsc_lh 1760 lib/pacemaker/pcmk_sched_native.c if (rsc_lh->allocated_to == NULL) { rsc_lh 1769 lib/pacemaker/pcmk_sched_native.c || (rh_node->details != rsc_lh->allocated_to->details)) { rsc_lh 1771 lib/pacemaker/pcmk_sched_native.c rsc_lh->id, rsc_rh->id, rsc_lh 1772 lib/pacemaker/pcmk_sched_native.c rsc_lh->allocated_to->details->uname, rsc_lh 1780 lib/pacemaker/pcmk_sched_native.c && (rsc_lh->allocated_to->details == rh_node->details)) { rsc_lh 1783 lib/pacemaker/pcmk_sched_native.c rsc_lh->id, rsc_rh->id, rh_node->details->uname); rsc_lh 1790 lib/pacemaker/pcmk_sched_native.c && constraint->role_lh != RSC_ROLE_UNKNOWN && constraint->role_lh != rsc_lh->next_role) { rsc_lh 1792 lib/pacemaker/pcmk_sched_native.c role2text(constraint->role_lh), role2text(rsc_lh->next_role)); rsc_lh 1803 lib/pacemaker/pcmk_sched_native.c && constraint->role_lh != RSC_ROLE_UNKNOWN && constraint->role_lh == rsc_lh->next_role) { rsc_lh 1820 lib/pacemaker/pcmk_sched_native.c influence_priority(pe_resource_t * rsc_lh, pe_resource_t * rsc_rh, rsc_colocation_t * constraint) rsc_lh 1830 lib/pacemaker/pcmk_sched_native.c if (!rsc_rh->allocated_to || !rsc_lh->allocated_to) { rsc_lh 1838 lib/pacemaker/pcmk_sched_native.c lh_value = pe_node_attribute_raw(rsc_lh->allocated_to, attribute); rsc_lh 1843 lib/pacemaker/pcmk_sched_native.c rsc_lh->priority = -INFINITY; rsc_lh 1856 lib/pacemaker/pcmk_sched_native.c rsc_lh->priority = pe__add_scores(score_multiplier * constraint->score, rsc_lh 1857 lib/pacemaker/pcmk_sched_native.c rsc_lh->priority); rsc_lh 1861 lib/pacemaker/pcmk_sched_native.c colocation_match(pe_resource_t * rsc_lh, pe_resource_t * rsc_rh, rsc_colocation_t * constraint) rsc_lh 1884 lib/pacemaker/pcmk_sched_native.c work = pcmk__copy_node_table(rsc_lh->allowed_nodes); rsc_lh 1889 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "%s: %s@%s -= %d (%s inactive)", rsc_lh 1890 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc_lh->id, node->details->uname, rsc_lh 1896 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "%s: %s@%s += %d", rsc_lh 1897 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc_lh->id, rsc_lh 1903 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "%s: %s@%s -= %d (%s mismatch)", rsc_lh 1904 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc_lh->id, node->details->uname, rsc_lh 1912 lib/pacemaker/pcmk_sched_native.c g_hash_table_destroy(rsc_lh->allowed_nodes); rsc_lh 1913 lib/pacemaker/pcmk_sched_native.c rsc_lh->allowed_nodes = work; rsc_lh 1917 lib/pacemaker/pcmk_sched_native.c pe_rsc_info(rsc_lh, rsc_lh 1919 lib/pacemaker/pcmk_sched_native.c rsc_lh->id, rsc_rh->id); rsc_lh 1928 lib/pacemaker/pcmk_sched_native.c native_rsc_colocation_rh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 1934 lib/pacemaker/pcmk_sched_native.c CRM_ASSERT(rsc_lh); rsc_lh 1936 lib/pacemaker/pcmk_sched_native.c filter_results = filter_colocation_constraint(rsc_lh, rsc_rh, constraint, FALSE); rsc_lh 1937 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "%s %s with %s (%s, score=%d, filter=%d)", rsc_lh 1939 lib/pacemaker/pcmk_sched_native.c rsc_lh->id, rsc_rh->id, constraint->id, constraint->score, filter_results); rsc_lh 1943 lib/pacemaker/pcmk_sched_native.c influence_priority(rsc_lh, rsc_rh, constraint); rsc_lh 1946 lib/pacemaker/pcmk_sched_native.c colocation_match(rsc_lh, rsc_rh, constraint); rsc_lh 1955 lib/pacemaker/pcmk_sched_native.c filter_rsc_ticket(pe_resource_t * rsc_lh, rsc_ticket_t * rsc_ticket) rsc_lh 1957 lib/pacemaker/pcmk_sched_native.c if (rsc_ticket->role_lh != RSC_ROLE_UNKNOWN && rsc_ticket->role_lh != rsc_lh->role) { rsc_lh 1958 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "LH: Skipping constraint: \"%s\" state filter", rsc_lh 1967 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 1974 lib/pacemaker/pcmk_sched_native.c if (rsc_lh == NULL) { rsc_lh 1983 lib/pacemaker/pcmk_sched_native.c if (rsc_lh->children) { rsc_lh 1984 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = rsc_lh->children; rsc_lh 1986 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "Processing ticket dependencies from %s", rsc_lh->id); rsc_lh 1996 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc_lh, "%s: Processing ticket dependency on %s (%s, %s)", rsc_lh 1997 lib/pacemaker/pcmk_sched_native.c rsc_lh->id, rsc_ticket->ticket->id, rsc_ticket->id, rsc_lh 2001 lib/pacemaker/pcmk_sched_native.c && (rsc_lh->running_on != NULL)) { rsc_lh 2007 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 resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); rsc_lh 2018 lib/pacemaker/pcmk_sched_native.c if (filter_rsc_ticket(rsc_lh, rsc_ticket) == FALSE) { rsc_lh 2022 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); rsc_lh 2024 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc_lh->running_on; gIter != NULL; gIter = gIter->next) { rsc_lh 2032 lib/pacemaker/pcmk_sched_native.c if (filter_rsc_ticket(rsc_lh, rsc_ticket) == FALSE) { rsc_lh 2035 lib/pacemaker/pcmk_sched_native.c if (rsc_lh->running_on != NULL) { rsc_lh 2036 lib/pacemaker/pcmk_sched_native.c pe__clear_resource_flags(rsc_lh, pe_rsc_managed); rsc_lh 2037 lib/pacemaker/pcmk_sched_native.c pe__set_resource_flags(rsc_lh, pe_rsc_block); rsc_lh 2045 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__no_ticket__", data_set); rsc_lh 2051 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__ticket_standby__", data_set); rsc_lh 334 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 356 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 359 lib/pacemaker/pcmk_sched_promotable.c constraint->rsc_lh->cmds->merge_weights(constraint->rsc_lh, rsc->id, rsc_lh 983 lib/pacemaker/pcmk_sched_promotable.c promotable_colocation_rh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_lh 992 lib/pacemaker/pcmk_sched_promotable.c if (pcmk_is_set(rsc_lh->flags, pe_rsc_provisional)) { rsc_lh 1005 lib/pacemaker/pcmk_sched_promotable.c node_hash_update_one(rsc_lh->allowed_nodes, chosen, rsc_lh 1017 lib/pacemaker/pcmk_sched_promotable.c node_list_exclude(rsc_lh->allowed_nodes, rhs, TRUE); rsc_lh 1023 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *rh_child = find_compatible_child(rsc_lh, rsc_rh, rsc_lh 1028 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc_lh, "%s can't be promoted %s", rsc_lh->id, constraint->id); rsc_lh 1029 lib/pacemaker/pcmk_sched_promotable.c rsc_lh->priority = -INFINITY; rsc_lh 1032 lib/pacemaker/pcmk_sched_promotable.c int new_priority = pe__add_scores(rsc_lh->priority, rsc_lh 1035 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_debug(rsc_lh, "Applying %s to %s", constraint->id, rsc_lh->id); rsc_lh 1036 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 1037 lib/pacemaker/pcmk_sched_promotable.c rsc_lh->priority = new_priority; rsc_lh 302 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *rsc_lh = constraint->rsc_lh; rsc_lh 305 lib/pacemaker/pcmk_sched_utilization.c if (rsc_lh == orig_rsc) { rsc_lh 309 lib/pacemaker/pcmk_sched_utilization.c if (pe_rsc_is_clone(rsc_lh) == FALSE && pe_rsc_is_clone(rsc)) { rsc_lh 315 lib/pacemaker/pcmk_sched_utilization.c && filter_colocation_constraint(rsc_lh, rsc, constraint, TRUE) == influence_rsc_location) { rsc_lh 317 lib/pacemaker/pcmk_sched_utilization.c if (rsc_lh->variant == pe_group) { rsc_lh 319 lib/pacemaker/pcmk_sched_utilization.c colocated_rscs = group_find_colocated_rscs(colocated_rscs, rsc_lh, orig_rsc); rsc_lh 322 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 437 lib/pengine/pe_output.c location->id, location->rsc_lh->id, rsc_lh 457 lib/pengine/pe_output.c location->id, location->rsc_lh->id, rsc_lh 476 lib/pengine/pe_output.c xmlSetProp(node, (pcmkXmlStr) "resource", (pcmkXmlStr) location->rsc_lh->id); rsc_lh 514 tools/crm_mon_print.c if (!pcmk__str_in_list(only_rsc, rsc_printable_id(location->rsc_lh)) && rsc_lh 515 tools/crm_mon_print.c !pcmk__str_in_list(only_rsc, rsc_printable_id(uber_parent(location->rsc_lh)))) { rsc_lh 230 tools/crm_resource_print.c peer = cons->rsc_lh; rsc_lh 384 tools/crm_resource_runtime.c pe_resource_t *peer = cons->rsc_lh;