chosen            474 lib/pacemaker/pcmk_sched_bundle.c     pcmk_node_t *chosen = NULL;
chosen            488 lib/pacemaker/pcmk_sched_bundle.c     chosen = replica->container->fns->location(replica->container, NULL, 0);
chosen            489 lib/pacemaker/pcmk_sched_bundle.c     if ((chosen == NULL)
chosen            502 lib/pacemaker/pcmk_sched_bundle.c                     coloc_data->colocation->id, pcmk__node_name(chosen),
chosen            503 lib/pacemaker/pcmk_sched_bundle.c                     chosen->weight);
chosen            505 lib/pacemaker/pcmk_sched_bundle.c                                                  chosen);
chosen            331 lib/pacemaker/pcmk_sched_clone.c             pcmk_node_t *chosen = instance->fns->location(instance, NULL, 0);
chosen            333 lib/pacemaker/pcmk_sched_clone.c             if ((chosen != NULL)
chosen            336 lib/pacemaker/pcmk_sched_clone.c                                 colocation->id, pcmk__node_name(chosen),
chosen            337 lib/pacemaker/pcmk_sched_clone.c                                 chosen->weight);
chosen            338 lib/pacemaker/pcmk_sched_clone.c                 primary_nodes = g_list_prepend(primary_nodes, chosen);
chosen            559 lib/pacemaker/pcmk_sched_instances.c     pcmk_node_t *chosen = NULL;
chosen            573 lib/pacemaker/pcmk_sched_instances.c     chosen = instance->cmds->assign(instance, prefer, (prefer == NULL));
chosen            574 lib/pacemaker/pcmk_sched_instances.c     increment_parent_count(instance, chosen);
chosen            575 lib/pacemaker/pcmk_sched_instances.c     return chosen;
chosen            596 lib/pacemaker/pcmk_sched_instances.c     const pcmk_node_t *chosen = NULL;
chosen            640 lib/pacemaker/pcmk_sched_instances.c         chosen = assign_instance(instance, current, max_per_node);
chosen            642 lib/pacemaker/pcmk_sched_instances.c         if (pcmk__same_node(chosen, current)) {
chosen            652 lib/pacemaker/pcmk_sched_instances.c         if (chosen == NULL) {
chosen            665 lib/pacemaker/pcmk_sched_instances.c                         pcmk__node_name(chosen));
chosen            678 lib/pacemaker/pcmk_sched_instances.c                             rsc->id, pcmk__node_name(chosen), instance->id,
chosen            684 lib/pacemaker/pcmk_sched_instances.c         chosen = NULL;
chosen            693 lib/pacemaker/pcmk_sched_instances.c     if (chosen == NULL) {
chosen            699 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                             pcmk__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                             pcmk__node_name(chosen), rsc->id);
chosen            211 lib/pacemaker/pcmk_sched_primitive.c             chosen = NULL;
chosen            217 lib/pacemaker/pcmk_sched_primitive.c                             pcmk__node_name(chosen), rsc->id,
chosen            222 lib/pacemaker/pcmk_sched_primitive.c     if ((chosen == NULL) && (best != NULL)) {
chosen            227 lib/pacemaker/pcmk_sched_primitive.c         chosen = best;
chosen            230 lib/pacemaker/pcmk_sched_primitive.c             && (chosen->weight > 0) // Zero not acceptable
chosen            231 lib/pacemaker/pcmk_sched_primitive.c             && pcmk__node_available(chosen, false, false)) {
chosen            257 lib/pacemaker/pcmk_sched_primitive.c                     if (allowed->weight != chosen->weight) {
chosen            263 lib/pacemaker/pcmk_sched_primitive.c                         chosen = allowed;
chosen            271 lib/pacemaker/pcmk_sched_primitive.c                     if (chosen->weight >= PCMK_SCORE_INFINITY) {
chosen            276 lib/pacemaker/pcmk_sched_primitive.c                                pcmk__node_name(chosen), rsc->id,
chosen            278 lib/pacemaker/pcmk_sched_primitive.c                                pcmk_readable_score(chosen->weight));
chosen            284 lib/pacemaker/pcmk_sched_primitive.c                         pcmk__node_name(chosen), rsc->id, g_list_length(nodes));
chosen            287 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            317 lib/pacemaker/pcmk_sched_promotable.c     const pcmk_node_t *chosen = NULL;
chosen            325 lib/pacemaker/pcmk_sched_promotable.c     chosen = child->fns->location(child, NULL, FALSE);
chosen            326 lib/pacemaker/pcmk_sched_promotable.c     if (chosen == NULL) {
chosen            332 lib/pacemaker/pcmk_sched_promotable.c     node = g_hash_table_lookup(clone->allowed_nodes, chosen->details->id);
chosen            387 lib/pacemaker/pcmk_sched_promotable.c     pcmk_node_t *chosen = child->fns->location(child, NULL, FALSE);
chosen            397 lib/pacemaker/pcmk_sched_promotable.c     } else if (chosen == NULL) {
chosen            411 lib/pacemaker/pcmk_sched_promotable.c                                                       chosen->details->id);
chosen            871 lib/pacemaker/pcmk_sched_promotable.c     pcmk_node_t *chosen = instance->fns->location(instance, NULL, FALSE);
chosen            878 lib/pacemaker/pcmk_sched_promotable.c         out->message(out, "promotion-score", instance, chosen,
chosen            881 lib/pacemaker/pcmk_sched_promotable.c     } else if (chosen == NULL) {
chosen            889 lib/pacemaker/pcmk_sched_promotable.c                         instance->id, pcmk__node_name(chosen),
chosen            907 lib/pacemaker/pcmk_sched_promotable.c     const pcmk_node_t *chosen = NULL;
chosen            919 lib/pacemaker/pcmk_sched_promotable.c     chosen = instance->fns->location(instance, &list, FALSE);
chosen            925 lib/pacemaker/pcmk_sched_promotable.c     if (chosen == NULL) {
chosen            937 lib/pacemaker/pcmk_sched_promotable.c                 instance->priority = promotion_score(instance, chosen,
chosen            967 lib/pacemaker/pcmk_sched_promotable.c     apply_promoted_locations(instance, instance->rsc_location, chosen);
chosen            968 lib/pacemaker/pcmk_sched_promotable.c     apply_promoted_locations(instance, clone->rsc_location, chosen);
chosen           1001 lib/pacemaker/pcmk_sched_promotable.c     pcmk_node_t *chosen = NULL;
chosen           1011 lib/pacemaker/pcmk_sched_promotable.c         chosen = node_to_be_promoted_on(instance);
chosen           1014 lib/pacemaker/pcmk_sched_promotable.c     if (chosen == NULL) {
chosen           1028 lib/pacemaker/pcmk_sched_promotable.c     chosen->count++;
chosen           1031 lib/pacemaker/pcmk_sched_promotable.c                    pcmk__node_name(chosen));
chosen           2861 lib/pengine/pe_output.c     pcmk_node_t *chosen = va_arg(args, pcmk_node_t *);
chosen           2864 lib/pengine/pe_output.c     if (chosen == NULL) {
chosen           2869 lib/pengine/pe_output.c                        child_rsc->id, pcmk__node_name(chosen), score);
chosen           2880 lib/pengine/pe_output.c     pcmk_node_t *chosen = va_arg(args, pcmk_node_t *);
chosen           2888 lib/pengine/pe_output.c     if (chosen) {
chosen           2889 lib/pengine/pe_output.c         crm_xml_add(node, PCMK_XA_NODE, chosen->details->uname);