chosen 472 lib/pacemaker/pcmk_sched_bundle.c pcmk_node_t *chosen = NULL; chosen 482 lib/pacemaker/pcmk_sched_bundle.c chosen = replica->container->fns->location(replica->container, NULL, 0); chosen 483 lib/pacemaker/pcmk_sched_bundle.c if ((chosen == NULL) chosen 496 lib/pacemaker/pcmk_sched_bundle.c coloc_data->colocation->id, pe__node_name(chosen), chosen 497 lib/pacemaker/pcmk_sched_bundle.c chosen->weight); chosen 499 lib/pacemaker/pcmk_sched_bundle.c chosen); chosen 328 lib/pacemaker/pcmk_sched_clone.c pcmk_node_t *chosen = instance->fns->location(instance, NULL, 0); chosen 330 lib/pacemaker/pcmk_sched_clone.c if ((chosen != NULL) chosen 333 lib/pacemaker/pcmk_sched_clone.c colocation->id, pe__node_name(chosen), chosen 334 lib/pacemaker/pcmk_sched_clone.c chosen->weight); chosen 335 lib/pacemaker/pcmk_sched_clone.c primary_nodes = g_list_prepend(primary_nodes, chosen); chosen 558 lib/pacemaker/pcmk_sched_instances.c pcmk_node_t *chosen = NULL; chosen 572 lib/pacemaker/pcmk_sched_instances.c chosen = instance->cmds->assign(instance, prefer, (prefer == NULL)); chosen 573 lib/pacemaker/pcmk_sched_instances.c increment_parent_count(instance, chosen); chosen 574 lib/pacemaker/pcmk_sched_instances.c return chosen; chosen 595 lib/pacemaker/pcmk_sched_instances.c const pcmk_node_t *chosen = NULL; chosen 639 lib/pacemaker/pcmk_sched_instances.c chosen = assign_instance(instance, current, max_per_node); chosen 641 lib/pacemaker/pcmk_sched_instances.c if (pe__same_node(chosen, current)) { chosen 650 lib/pacemaker/pcmk_sched_instances.c if (chosen == NULL) { chosen 663 lib/pacemaker/pcmk_sched_instances.c pe__node_name(chosen)); chosen 676 lib/pacemaker/pcmk_sched_instances.c rsc->id, pe__node_name(chosen), instance->id, chosen 682 lib/pacemaker/pcmk_sched_instances.c chosen = NULL; chosen 691 lib/pacemaker/pcmk_sched_instances.c if (chosen == NULL) { chosen 697 lib/pacemaker/pcmk_sched_instances.c increment_parent_count(instance, chosen); chosen 170 lib/pacemaker/pcmk_sched_primitive.c pcmk_node_t *chosen = NULL; chosen 191 lib/pacemaker/pcmk_sched_primitive.c chosen = g_hash_table_lookup(rsc->allowed_nodes, prefer->details->id); chosen 193 lib/pacemaker/pcmk_sched_primitive.c if (chosen == NULL) { chosen 203 lib/pacemaker/pcmk_sched_primitive.c } else if (chosen->weight < best->weight) { chosen 205 lib/pacemaker/pcmk_sched_primitive.c pe__node_name(chosen), rsc->id); chosen 206 lib/pacemaker/pcmk_sched_primitive.c chosen = NULL; chosen 208 lib/pacemaker/pcmk_sched_primitive.c } else if (!pcmk__node_available(chosen, true, false)) { chosen 210 lib/pacemaker/pcmk_sched_primitive.c pe__node_name(chosen), rsc->id); chosen 211 lib/pacemaker/pcmk_sched_primitive.c chosen = NULL; chosen 217 lib/pacemaker/pcmk_sched_primitive.c pe__node_name(chosen), rsc->id, g_list_length(nodes)); chosen 221 lib/pacemaker/pcmk_sched_primitive.c if ((chosen == NULL) && (best != NULL)) { chosen 226 lib/pacemaker/pcmk_sched_primitive.c chosen = best; chosen 229 lib/pacemaker/pcmk_sched_primitive.c && (chosen->weight > 0) // Zero not acceptable chosen 230 lib/pacemaker/pcmk_sched_primitive.c && pcmk__node_available(chosen, false, false)) { chosen 256 lib/pacemaker/pcmk_sched_primitive.c if (allowed->weight != chosen->weight) { chosen 262 lib/pacemaker/pcmk_sched_primitive.c chosen = allowed; chosen 270 lib/pacemaker/pcmk_sched_primitive.c if (chosen->weight >= INFINITY) { chosen 275 lib/pacemaker/pcmk_sched_primitive.c pe__node_name(chosen), rsc->id, chosen 277 lib/pacemaker/pcmk_sched_primitive.c pcmk_readable_score(chosen->weight)); chosen 283 lib/pacemaker/pcmk_sched_primitive.c pe__node_name(chosen), rsc->id, g_list_length(nodes)); chosen 286 lib/pacemaker/pcmk_sched_primitive.c pcmk__assign_resource(rsc, chosen, false, stop_if_fail); chosen 130 lib/pacemaker/pcmk_sched_promotable.c const pcmk_node_t *chosen) chosen 138 lib/pacemaker/pcmk_sched_promotable.c chosen->details->id); chosen 316 lib/pacemaker/pcmk_sched_promotable.c const pcmk_node_t *chosen = NULL; chosen 323 lib/pacemaker/pcmk_sched_promotable.c chosen = child->fns->location(child, NULL, FALSE); chosen 324 lib/pacemaker/pcmk_sched_promotable.c if (chosen == NULL) { chosen 329 lib/pacemaker/pcmk_sched_promotable.c node = g_hash_table_lookup(clone->allowed_nodes, chosen->details->id); chosen 414 lib/pacemaker/pcmk_sched_promotable.c pcmk_node_t *chosen = child->fns->location(child, NULL, FALSE); chosen 423 lib/pacemaker/pcmk_sched_promotable.c } else if ((chosen == NULL) || (child->sort_index < 0)) { chosen 430 lib/pacemaker/pcmk_sched_promotable.c chosen->details->id); chosen 878 lib/pacemaker/pcmk_sched_promotable.c pcmk_node_t *chosen = instance->fns->location(instance, NULL, FALSE); chosen 885 lib/pacemaker/pcmk_sched_promotable.c out->message(out, "promotion-score", instance, chosen, chosen 891 lib/pacemaker/pcmk_sched_promotable.c ((chosen == NULL)? "none" : pe__node_name(chosen)), chosen 909 lib/pacemaker/pcmk_sched_promotable.c const pcmk_node_t *chosen = NULL; chosen 921 lib/pacemaker/pcmk_sched_promotable.c chosen = instance->fns->location(instance, &list, FALSE); chosen 927 lib/pacemaker/pcmk_sched_promotable.c if (chosen == NULL) { chosen 939 lib/pacemaker/pcmk_sched_promotable.c instance->priority = promotion_score(instance, chosen, chosen 970 lib/pacemaker/pcmk_sched_promotable.c apply_promoted_locations(instance, instance->rsc_location, chosen); chosen 971 lib/pacemaker/pcmk_sched_promotable.c apply_promoted_locations(instance, clone->rsc_location, chosen); chosen 1004 lib/pacemaker/pcmk_sched_promotable.c pcmk_node_t *chosen = NULL; chosen 1014 lib/pacemaker/pcmk_sched_promotable.c chosen = node_to_be_promoted_on(instance); chosen 1017 lib/pacemaker/pcmk_sched_promotable.c if (chosen == NULL) { chosen 1031 lib/pacemaker/pcmk_sched_promotable.c chosen->count++; chosen 1034 lib/pacemaker/pcmk_sched_promotable.c pe__node_name(chosen)); chosen 2643 lib/pengine/pe_output.c pcmk_node_t *chosen = va_arg(args, pcmk_node_t *); chosen 2648 lib/pengine/pe_output.c chosen? chosen->details->uname : "none", chosen 2659 lib/pengine/pe_output.c pcmk_node_t *chosen = va_arg(args, pcmk_node_t *); chosen 2667 lib/pengine/pe_output.c if (chosen) { chosen 2668 lib/pengine/pe_output.c crm_xml_add(node, "node", chosen->details->uname);