next_role 465 include/crm/common/resources.h enum rsc_role_e next_role; // Resource's scheduled next role next_role 140 lib/pacemaker/pcmk_output.c || (rsc->next_role > pcmk_role_unpromoted)) { next_role 148 lib/pacemaker/pcmk_output.c if (rsc->role == rsc->next_role) { next_role 155 lib/pacemaker/pcmk_output.c pcmk_role_text(rsc->next_role), next_role 194 lib/pacemaker/pcmk_output.c pcmk_role_text(rsc->next_role), next_role 202 lib/pacemaker/pcmk_output.c pcmk_role_text(rsc->next_role), next_role 260 lib/pacemaker/pcmk_output.c || (rsc->next_role > pcmk_role_unpromoted)) { next_role 268 lib/pacemaker/pcmk_output.c if (rsc->role == rsc->next_role) { next_role 283 lib/pacemaker/pcmk_output.c PCMK_XA_NEXT_ROLE, pcmk_role_text(rsc->next_role), next_role 332 lib/pacemaker/pcmk_output.c PCMK_XA_NEXT_ROLE, pcmk_role_text(rsc->next_role), next_role 341 lib/pacemaker/pcmk_output.c PCMK_XA_NEXT_ROLE, pcmk_role_text(rsc->next_role), next_role 1150 lib/pacemaker/pcmk_output.c if (rsc->role == rsc->next_role) { next_role 1222 lib/pacemaker/pcmk_output.c && ((rsc->next_role == pcmk_role_stopped) next_role 1283 lib/pacemaker/pcmk_output.c } else if (rsc->next_role == pcmk_role_promoted) { next_role 1289 lib/pacemaker/pcmk_output.c && (rsc->next_role > pcmk_role_stopped)) { next_role 496 lib/pacemaker/pcmk_sched_bundle.c || (replica->child->next_role < pcmk_role_promoted))) { next_role 1313 lib/pacemaker/pcmk_sched_colocation.c && (colocation->dependent_role != dependent_role_rsc->next_role)) { next_role 1320 lib/pacemaker/pcmk_sched_colocation.c pcmk_role_text(dependent_role_rsc->next_role)); next_role 1325 lib/pacemaker/pcmk_sched_colocation.c && (colocation->primary_role != primary_role_rsc->next_role)) { next_role 1331 lib/pacemaker/pcmk_sched_colocation.c pcmk_role_text(primary_role_rsc->next_role)); next_role 1485 lib/pacemaker/pcmk_sched_colocation.c if (colocation->primary_role != role_rsc->next_role) { next_role 83 lib/pacemaker/pcmk_sched_group.c pe__set_next_role(rsc, first_member->next_role, "first group member"); next_role 679 lib/pacemaker/pcmk_sched_location.c if (need_role && (location->role_filter != rsc->next_role)) { next_role 682 lib/pacemaker/pcmk_sched_location.c location->id, rsc->id, pcmk_role_text(rsc->next_role), next_role 354 lib/pacemaker/pcmk_sched_primitive.c && (connection->next_role != pcmk_role_stopped)) { next_role 369 lib/pacemaker/pcmk_sched_primitive.c pcmk_role_text(connection->next_role)); next_role 477 lib/pacemaker/pcmk_sched_primitive.c if (rsc->next_role == pcmk_role_stopped) { next_role 484 lib/pacemaker/pcmk_sched_primitive.c } else if ((rsc->next_role > rsc->role) next_role 490 lib/pacemaker/pcmk_sched_primitive.c pcmk_role_text(rsc->next_role)); next_role 569 lib/pacemaker/pcmk_sched_primitive.c enum rsc_role_e next_role; next_role 576 lib/pacemaker/pcmk_sched_primitive.c next_role = rsc_state_matrix[role][pcmk_role_stopped]; next_role 579 lib/pacemaker/pcmk_sched_primitive.c pcmk_role_text(role), pcmk_role_text(next_role)); next_role 580 lib/pacemaker/pcmk_sched_primitive.c fn = rsc_action_matrix[role][next_role]; next_role 585 lib/pacemaker/pcmk_sched_primitive.c role = next_role; next_role 589 lib/pacemaker/pcmk_sched_primitive.c while ((rsc->role <= rsc->next_role) && (role != rsc->role) next_role 593 lib/pacemaker/pcmk_sched_primitive.c next_role = rsc_state_matrix[role][rsc->role]; next_role 594 lib/pacemaker/pcmk_sched_primitive.c if ((next_role == pcmk_role_promoted) && need_promote) { next_role 599 lib/pacemaker/pcmk_sched_primitive.c pcmk_role_text(role), pcmk_role_text(next_role)); next_role 600 lib/pacemaker/pcmk_sched_primitive.c fn = rsc_action_matrix[role][next_role]; next_role 605 lib/pacemaker/pcmk_sched_primitive.c role = next_role; next_role 622 lib/pacemaker/pcmk_sched_primitive.c if (rsc->next_role != pcmk_role_unknown) { next_role 663 lib/pacemaker/pcmk_sched_primitive.c while (role != rsc->next_role) { next_role 664 lib/pacemaker/pcmk_sched_primitive.c enum rsc_role_e next_role = rsc_state_matrix[role][rsc->next_role]; next_role 671 lib/pacemaker/pcmk_sched_primitive.c pcmk_role_text(next_role), next_role 672 lib/pacemaker/pcmk_sched_primitive.c pcmk_role_text(rsc->next_role)); next_role 673 lib/pacemaker/pcmk_sched_primitive.c fn = rsc_action_matrix[role][next_role]; next_role 678 lib/pacemaker/pcmk_sched_primitive.c role = next_role; next_role 709 lib/pacemaker/pcmk_sched_primitive.c pcmk_role_text(rsc->next_role), next_role_source, next_role 719 lib/pacemaker/pcmk_sched_primitive.c && (rsc->next_role >= pcmk_role_started)) { next_role 819 lib/pacemaker/pcmk_sched_primitive.c if (rsc->next_role == pcmk_role_promoted) { next_role 1229 lib/pacemaker/pcmk_sched_primitive.c && (rsc->next_role > pcmk_role_stopped) next_role 109 lib/pacemaker/pcmk_sched_probes.c || (guest_rsc->next_role == pcmk_role_stopped) next_role 390 lib/pacemaker/pcmk_sched_promotable.c && (child->next_role == pcmk_role_promoted)) { next_role 856 lib/pacemaker/pcmk_sched_promotable.c if (rsc->next_role == pcmk_role_unknown) { next_role 908 lib/pacemaker/pcmk_sched_promotable.c enum rsc_role_e next_role = pcmk_role_unknown; next_role 912 lib/pacemaker/pcmk_sched_promotable.c pcmk_role_text(instance->next_role)); next_role 929 lib/pacemaker/pcmk_sched_promotable.c next_role = instance->fns->state(instance, FALSE); next_role 930 lib/pacemaker/pcmk_sched_promotable.c switch (next_role) { next_role 963 lib/pacemaker/pcmk_sched_promotable.c next_role, instance->id)); next_role 980 lib/pacemaker/pcmk_sched_promotable.c if (next_role == pcmk_role_promoted) { next_role 273 lib/pacemaker/pcmk_sched_recurring.c role_match = (rsc->next_role != pcmk_role_promoted); next_role 275 lib/pacemaker/pcmk_sched_recurring.c role_match = (rsc->next_role == monitor_role); next_role 288 lib/pacemaker/pcmk_sched_recurring.c if (rsc->next_role == pcmk_role_promoted) { next_role 291 lib/pacemaker/pcmk_sched_recurring.c } else if (rsc->next_role == pcmk_role_stopped) { next_role 315 lib/pacemaker/pcmk_sched_recurring.c pcmk_role_text(rsc->next_role)); next_role 322 lib/pacemaker/pcmk_sched_recurring.c op->id, rsc->id, pcmk_role_text(rsc->next_role), next_role 344 lib/pacemaker/pcmk_sched_recurring.c if (rsc->next_role == pcmk_role_promoted) { next_role 362 lib/pacemaker/pcmk_sched_recurring.c if (rsc->next_role == pcmk_role_promoted) { next_role 403 lib/pacemaker/pcmk_sched_recurring.c switch (rsc->next_role) { next_role 422 lib/pacemaker/pcmk_sched_recurring.c pcmk__node_name(node), pcmk_role_text(rsc->next_role)); next_role 606 lib/pacemaker/pcmk_sched_recurring.c } else if ((rsc->next_role != pcmk_role_stopped) next_role 102 lib/pacemaker/pcmk_sched_remote.c if ((remote_rsc->next_role == pcmk_role_stopped) next_role 121 lib/pacemaker/pcmk_sched_remote.c if ((remote_rsc->next_role == pcmk_role_stopped) next_role 230 lib/pacemaker/pcmk_sched_remote.c } else if (remote_rsc->next_role == pcmk_role_stopped) { next_role 793 lib/pengine/complex.c (*rsc)->next_role = pcmk_role_unknown; next_role 988 lib/pengine/complex.c get_target_role(*rsc, &((*rsc)->next_role)); next_role 990 lib/pengine/complex.c ((*rsc)->next_role == pcmk_role_unknown)? next_role 991 lib/pengine/complex.c "default" : pcmk_role_text((*rsc)->next_role)); next_role 1295 lib/pengine/complex.c if (rsc->next_role != role) { next_role 1297 lib/pengine/complex.c rsc->id, pcmk_role_text(rsc->next_role), next_role 1299 lib/pengine/complex.c rsc->next_role = role; next_role 1113 lib/pengine/native.c enum rsc_role_e role = rsc->next_role; next_role 301 lib/pengine/pe_actions.c if (rsc->next_role > pcmk_role_unpromoted) { next_role 390 lib/pengine/pe_actions.c || (action->rsc->next_role > action->rsc->role)) { next_role 899 lib/pengine/pe_notif.c if ((rsc->next_role != pcmk_role_stopped) next_role 918 lib/pengine/pe_notif.c pcmk_role_text(rsc->next_role), rsc->id); next_role 1830 lib/pengine/unpack.c && (rsc->next_role == pcmk_role_stopped)) { next_role 2831 lib/pengine/unpack.c if ((rsc->next_role == pcmk_role_unknown) next_role 2832 lib/pengine/unpack.c || (req_role < rsc->next_role)) { next_role 2836 lib/pengine/unpack.c } else if (req_role > rsc->next_role) { next_role 2840 lib/pengine/unpack.c rsc->id, pcmk_role_text(rsc->next_role), next_role 3876 lib/pengine/unpack.c && (history->rsc->next_role < fail_role)) { next_role 5037 lib/pengine/unpack.c pcmk_role_text(rsc->next_role));