next_role 378 include/crm/pengine/pe_types.h enum rsc_role_e next_role; next_role 138 lib/pacemaker/pcmk_output.c || (rsc->next_role > RSC_ROLE_UNPROMOTED)) { next_role 146 lib/pacemaker/pcmk_output.c if(rsc->role == rsc->next_role) { next_role 153 lib/pacemaker/pcmk_output.c role2text(rsc->next_role), next_role 192 lib/pacemaker/pcmk_output.c role2text(rsc->next_role), next_role 199 lib/pacemaker/pcmk_output.c role2text(rsc->next_role), next_role 255 lib/pacemaker/pcmk_output.c || (rsc->next_role > RSC_ROLE_UNPROMOTED)) { next_role 263 lib/pacemaker/pcmk_output.c if(rsc->role == rsc->next_role) { next_role 278 lib/pacemaker/pcmk_output.c "next-role", role2text(rsc->next_role), next_role 327 lib/pacemaker/pcmk_output.c "next-role", role2text(rsc->next_role), next_role 336 lib/pacemaker/pcmk_output.c "next-role", role2text(rsc->next_role), next_role 1057 lib/pacemaker/pcmk_output.c if (rsc->role == rsc->next_role) { next_role 1112 lib/pacemaker/pcmk_output.c && (rsc->next_role == RSC_ROLE_STOPPED next_role 1166 lib/pacemaker/pcmk_output.c } else if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 1171 lib/pacemaker/pcmk_output.c } else if (rsc->role == RSC_ROLE_STOPPED && rsc->next_role > RSC_ROLE_STOPPED) { next_role 528 lib/pacemaker/pcmk_sched_bundle.c && (replica->child->next_role < RSC_ROLE_PROMOTED)) { next_role 625 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); next_role 633 lib/pacemaker/pcmk_sched_clone.c if (filter != RSC_ROLE_UNKNOWN && next_role != filter) { next_role 991 lib/pacemaker/pcmk_sched_colocation.c && (colocation->dependent_role != dependent->next_role)) { next_role 996 lib/pacemaker/pcmk_sched_colocation.c dependent->id, role2text(dependent->next_role)); next_role 1002 lib/pacemaker/pcmk_sched_colocation.c && (colocation->primary_role != primary->next_role)) { next_role 1007 lib/pacemaker/pcmk_sched_colocation.c primary->id, role2text(primary->next_role)); next_role 1013 lib/pacemaker/pcmk_sched_colocation.c && (colocation->dependent_role == dependent->next_role)) { next_role 1021 lib/pacemaker/pcmk_sched_colocation.c && (colocation->primary_role == primary->next_role)) { next_role 1151 lib/pacemaker/pcmk_sched_colocation.c && (colocation->primary_role != primary->next_role)) { next_role 140 lib/pacemaker/pcmk_sched_group.c pe__set_next_role(rsc, first_member->next_role, "first group member"); next_role 631 lib/pacemaker/pcmk_sched_location.c if (need_role && (location->role_filter != rsc->next_role)) { next_role 634 lib/pacemaker/pcmk_sched_location.c location->id, rsc->id, role2text(rsc->next_role), next_role 356 lib/pacemaker/pcmk_sched_primitive.c && (connection->next_role != RSC_ROLE_STOPPED)) { next_role 371 lib/pacemaker/pcmk_sched_primitive.c role2text(connection->next_role)); next_role 418 lib/pacemaker/pcmk_sched_primitive.c if (rsc->next_role == RSC_ROLE_STOPPED) { next_role 425 lib/pacemaker/pcmk_sched_primitive.c } else if ((rsc->next_role > rsc->role) next_role 430 lib/pacemaker/pcmk_sched_primitive.c rsc->id, role2text(rsc->role), role2text(rsc->next_role)); next_role 508 lib/pacemaker/pcmk_sched_primitive.c enum rsc_role_e next_role; next_role 515 lib/pacemaker/pcmk_sched_primitive.c next_role = rsc_state_matrix[role][RSC_ROLE_STOPPED]; next_role 518 lib/pacemaker/pcmk_sched_primitive.c role2text(role), role2text(next_role)); next_role 519 lib/pacemaker/pcmk_sched_primitive.c fn = rsc_action_matrix[role][next_role]; next_role 524 lib/pacemaker/pcmk_sched_primitive.c role = next_role; next_role 528 lib/pacemaker/pcmk_sched_primitive.c while ((rsc->role <= rsc->next_role) && (role != rsc->role) next_role 532 lib/pacemaker/pcmk_sched_primitive.c next_role = rsc_state_matrix[role][rsc->role]; next_role 533 lib/pacemaker/pcmk_sched_primitive.c if ((next_role == RSC_ROLE_PROMOTED) && need_promote) { next_role 538 lib/pacemaker/pcmk_sched_primitive.c role2text(role), role2text(next_role)); next_role 539 lib/pacemaker/pcmk_sched_primitive.c fn = rsc_action_matrix[role][next_role]; next_role 544 lib/pacemaker/pcmk_sched_primitive.c role = next_role; next_role 561 lib/pacemaker/pcmk_sched_primitive.c if (rsc->next_role != RSC_ROLE_UNKNOWN) { next_role 602 lib/pacemaker/pcmk_sched_primitive.c while (role != rsc->next_role) { next_role 603 lib/pacemaker/pcmk_sched_primitive.c enum rsc_role_e next_role = rsc_state_matrix[role][rsc->next_role]; next_role 608 lib/pacemaker/pcmk_sched_primitive.c rsc->id, role2text(role), role2text(next_role), next_role 609 lib/pacemaker/pcmk_sched_primitive.c role2text(rsc->next_role)); next_role 610 lib/pacemaker/pcmk_sched_primitive.c fn = rsc_action_matrix[role][next_role]; next_role 615 lib/pacemaker/pcmk_sched_primitive.c role = next_role; next_role 645 lib/pacemaker/pcmk_sched_primitive.c rsc->id, role2text(rsc->role), role2text(rsc->next_role), next_role 655 lib/pacemaker/pcmk_sched_primitive.c && (rsc->next_role >= RSC_ROLE_STARTED)) { next_role 753 lib/pacemaker/pcmk_sched_primitive.c if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 1084 lib/pacemaker/pcmk_sched_primitive.c && (rsc->next_role > RSC_ROLE_STOPPED) next_role 105 lib/pacemaker/pcmk_sched_probes.c || (guest_rsc->next_role == RSC_ROLE_STOPPED) next_role 402 lib/pacemaker/pcmk_sched_promotable.c && (child->next_role == RSC_ROLE_PROMOTED)) { next_role 831 lib/pacemaker/pcmk_sched_promotable.c if (rsc->next_role == RSC_ROLE_UNKNOWN) { next_role 878 lib/pacemaker/pcmk_sched_promotable.c enum rsc_role_e next_role = RSC_ROLE_UNKNOWN; next_role 882 lib/pacemaker/pcmk_sched_promotable.c role2text(instance->next_role)); next_role 899 lib/pacemaker/pcmk_sched_promotable.c next_role = instance->fns->state(instance, FALSE); next_role 900 lib/pacemaker/pcmk_sched_promotable.c switch (next_role) { next_role 934 lib/pacemaker/pcmk_sched_promotable.c next_role, instance->id)); next_role 949 lib/pacemaker/pcmk_sched_promotable.c if (next_role == RSC_ROLE_PROMOTED) { next_role 253 lib/pacemaker/pcmk_sched_recurring.c if (((op->role != RSC_ROLE_UNKNOWN) && (rsc->next_role != op->role)) next_role 255 lib/pacemaker/pcmk_sched_recurring.c && (rsc->next_role == RSC_ROLE_PROMOTED))) { next_role 267 lib/pacemaker/pcmk_sched_recurring.c if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 270 lib/pacemaker/pcmk_sched_recurring.c } else if (rsc->next_role == RSC_ROLE_STOPPED) { next_role 293 lib/pacemaker/pcmk_sched_recurring.c role2text(rsc->next_role)); next_role 300 lib/pacemaker/pcmk_sched_recurring.c op->id, rsc->id, role2text(rsc->next_role), next_role 322 lib/pacemaker/pcmk_sched_recurring.c if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 338 lib/pacemaker/pcmk_sched_recurring.c if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 377 lib/pacemaker/pcmk_sched_recurring.c switch (rsc->next_role) { next_role 396 lib/pacemaker/pcmk_sched_recurring.c pe__node_name(node), role2text(rsc->next_role)); next_role 576 lib/pacemaker/pcmk_sched_recurring.c } else if ((rsc->next_role != RSC_ROLE_STOPPED) next_role 101 lib/pacemaker/pcmk_sched_remote.c if ((remote_rsc->next_role == RSC_ROLE_STOPPED) next_role 120 lib/pacemaker/pcmk_sched_remote.c if ((remote_rsc->next_role == RSC_ROLE_STOPPED) next_role 225 lib/pacemaker/pcmk_sched_remote.c } else if (remote_rsc->next_role == RSC_ROLE_STOPPED) { next_role 663 lib/pengine/complex.c (*rsc)->next_role = RSC_ROLE_UNKNOWN; next_role 834 lib/pengine/complex.c get_target_role(*rsc, &((*rsc)->next_role)); next_role 836 lib/pengine/complex.c (*rsc)->next_role != RSC_ROLE_UNKNOWN ? role2text((*rsc)->next_role) : "default"); next_role 1123 lib/pengine/complex.c if (rsc->next_role != role) { next_role 1125 lib/pengine/complex.c rsc->id, role2text(rsc->next_role), role2text(role), why); next_role 1126 lib/pengine/complex.c rsc->next_role = role; next_role 1047 lib/pengine/native.c enum rsc_role_e role = rsc->next_role; next_role 293 lib/pengine/pe_actions.c if (rsc->next_role > RSC_ROLE_UNPROMOTED) { next_role 383 lib/pengine/pe_actions.c || (action->rsc->next_role > action->rsc->role)) { next_role 888 lib/pengine/pe_notif.c if ((rsc->next_role != RSC_ROLE_STOPPED) next_role 907 lib/pengine/pe_notif.c role2text(rsc->next_role), rsc->id); next_role 1494 lib/pengine/unpack.c if (rsc->role == RSC_ROLE_STARTED && rsc->next_role == RSC_ROLE_STOPPED) { next_role 2458 lib/pengine/unpack.c if (rsc->next_role == RSC_ROLE_UNKNOWN || req_role < rsc->next_role) { next_role 2461 lib/pengine/unpack.c } else if (req_role > rsc->next_role) { next_role 2464 lib/pengine/unpack.c rsc->id, role2text(rsc->next_role), role2text(req_role)); next_role 3301 lib/pengine/unpack.c if (action->fail_role != RSC_ROLE_STARTED && rsc->next_role < action->fail_role) { next_role 4186 lib/pengine/unpack.c role2text(rsc->next_role));