next_role         465 include/crm/common/resources.h     enum rsc_role_e next_role;      // Resource's scheduled next role
next_role         144 lib/pacemaker/pcmk_output.c         || (rsc->next_role > pcmk_role_unpromoted)) {
next_role         152 lib/pacemaker/pcmk_output.c     if (rsc->role == rsc->next_role) {
next_role         159 lib/pacemaker/pcmk_output.c                                     pcmk_role_text(rsc->next_role),
next_role         198 lib/pacemaker/pcmk_output.c                                     pcmk_role_text(rsc->next_role),
next_role         206 lib/pacemaker/pcmk_output.c                                     pcmk_role_text(rsc->next_role),
next_role         264 lib/pacemaker/pcmk_output.c         || (rsc->next_role > pcmk_role_unpromoted)) {
next_role         272 lib/pacemaker/pcmk_output.c     if (rsc->role == rsc->next_role) {
next_role         287 lib/pacemaker/pcmk_output.c                            PCMK_XA_NEXT_ROLE, pcmk_role_text(rsc->next_role),
next_role         336 lib/pacemaker/pcmk_output.c                            PCMK_XA_NEXT_ROLE, pcmk_role_text(rsc->next_role),
next_role         345 lib/pacemaker/pcmk_output.c                            PCMK_XA_NEXT_ROLE, pcmk_role_text(rsc->next_role),
next_role        1154 lib/pacemaker/pcmk_output.c     if (rsc->role == rsc->next_role) {
next_role        1226 lib/pacemaker/pcmk_output.c         && ((rsc->next_role == pcmk_role_stopped)
next_role        1287 lib/pacemaker/pcmk_output.c     } else if (rsc->next_role == pcmk_role_promoted) {
next_role        1293 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        1267 lib/pacemaker/pcmk_sched_colocation.c         && (colocation->dependent_role != dependent_role_rsc->next_role)) {
next_role        1274 lib/pacemaker/pcmk_sched_colocation.c                   pcmk_role_text(dependent_role_rsc->next_role));
next_role        1279 lib/pacemaker/pcmk_sched_colocation.c         && (colocation->primary_role != primary_role_rsc->next_role)) {
next_role        1285 lib/pacemaker/pcmk_sched_colocation.c                   pcmk_role_text(primary_role_rsc->next_role));
next_role        1439 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         680 lib/pacemaker/pcmk_sched_location.c     if (need_role && (location->role_filter != rsc->next_role)) {
next_role         683 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         847 lib/pacemaker/pcmk_sched_promotable.c     if (rsc->next_role == pcmk_role_unknown) {
next_role         899 lib/pacemaker/pcmk_sched_promotable.c     enum rsc_role_e next_role = pcmk_role_unknown;
next_role         903 lib/pacemaker/pcmk_sched_promotable.c                     pcmk_role_text(instance->next_role));
next_role         920 lib/pacemaker/pcmk_sched_promotable.c     next_role = instance->fns->state(instance, FALSE);
next_role         921 lib/pacemaker/pcmk_sched_promotable.c     switch (next_role) {
next_role         954 lib/pacemaker/pcmk_sched_promotable.c                                      next_role, instance->id));
next_role         971 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         741 lib/pengine/complex.c     (*rsc)->next_role = pcmk_role_unknown;
next_role         949 lib/pengine/complex.c     get_target_role(*rsc, &((*rsc)->next_role));
next_role         951 lib/pengine/complex.c                     ((*rsc)->next_role == pcmk_role_unknown)?
next_role         952 lib/pengine/complex.c                         "default" : pcmk_role_text((*rsc)->next_role));
next_role        1256 lib/pengine/complex.c     if (rsc->next_role != role) {
next_role        1258 lib/pengine/complex.c                         rsc->id, pcmk_role_text(rsc->next_role),
next_role        1260 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        1797 lib/pengine/unpack.c         && (rsc->next_role == pcmk_role_stopped)) {
next_role        2798 lib/pengine/unpack.c         if ((rsc->next_role == pcmk_role_unknown)
next_role        2799 lib/pengine/unpack.c             || (req_role < rsc->next_role)) {
next_role        2803 lib/pengine/unpack.c         } else if (req_role > rsc->next_role) {
next_role        2807 lib/pengine/unpack.c                            rsc->id, pcmk_role_text(rsc->next_role),
next_role        3843 lib/pengine/unpack.c         && (history->rsc->next_role < fail_role)) {
next_role        5004 lib/pengine/unpack.c                     pcmk_role_text(rsc->next_role));