RSC_ROLE_STOPPED 1000 lib/pacemaker/pcmk_output.c && (rsc->next_role == RSC_ROLE_STOPPED RSC_ROLE_STOPPED 1059 lib/pacemaker/pcmk_output.c } else if (rsc->role == RSC_ROLE_STOPPED && rsc->next_role > RSC_ROLE_STOPPED) { RSC_ROLE_STOPPED 660 lib/pacemaker/pcmk_sched_allocate.c || (rsc->role != RSC_ROLE_STOPPED)) { RSC_ROLE_STOPPED 59 lib/pacemaker/pcmk_sched_native.c /* Unknown */ { RSC_ROLE_UNKNOWN, RSC_ROLE_STOPPED, RSC_ROLE_STOPPED, RSC_ROLE_STOPPED, RSC_ROLE_STOPPED }, RSC_ROLE_STOPPED 60 lib/pacemaker/pcmk_sched_native.c /* Stopped */ { RSC_ROLE_STOPPED, RSC_ROLE_STOPPED, RSC_ROLE_STARTED, RSC_ROLE_UNPROMOTED, RSC_ROLE_UNPROMOTED }, RSC_ROLE_STOPPED 61 lib/pacemaker/pcmk_sched_native.c /* Started */ { RSC_ROLE_STOPPED, RSC_ROLE_STOPPED, RSC_ROLE_STARTED, RSC_ROLE_UNPROMOTED, RSC_ROLE_PROMOTED }, RSC_ROLE_STOPPED 62 lib/pacemaker/pcmk_sched_native.c /* Unpromoted */ { RSC_ROLE_STOPPED, RSC_ROLE_STOPPED, RSC_ROLE_STOPPED, RSC_ROLE_UNPROMOTED, RSC_ROLE_PROMOTED }, RSC_ROLE_STOPPED 63 lib/pacemaker/pcmk_sched_native.c /* Promoted */ { RSC_ROLE_STOPPED, RSC_ROLE_UNPROMOTED, RSC_ROLE_UNPROMOTED, RSC_ROLE_UNPROMOTED, RSC_ROLE_PROMOTED }, RSC_ROLE_STOPPED 563 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_STOPPED) { RSC_ROLE_STOPPED 629 lib/pacemaker/pcmk_sched_native.c if (rsc->allocated_to && rsc->next_role != RSC_ROLE_STOPPED) { RSC_ROLE_STOPPED 715 lib/pacemaker/pcmk_sched_native.c if (role && text2role(role) == RSC_ROLE_STOPPED) { RSC_ROLE_STOPPED 799 lib/pacemaker/pcmk_sched_native.c } else if (rsc->next_role == RSC_ROLE_STOPPED) { RSC_ROLE_STOPPED 909 lib/pacemaker/pcmk_sched_native.c if (role == NULL || text2role(role) != RSC_ROLE_STOPPED) { RSC_ROLE_STOPPED 1210 lib/pacemaker/pcmk_sched_native.c while (role != RSC_ROLE_STOPPED) { RSC_ROLE_STOPPED 1211 lib/pacemaker/pcmk_sched_native.c next_role = rsc_state_matrix[role][RSC_ROLE_STOPPED]; RSC_ROLE_STOPPED 1269 lib/pacemaker/pcmk_sched_native.c (chosen == NULL)? RSC_ROLE_STOPPED : RSC_ROLE_STARTED, RSC_ROLE_STOPPED 1425 lib/pacemaker/pcmk_sched_native.c } else if ((rsc->next_role != RSC_ROLE_STOPPED) RSC_ROLE_STOPPED 1428 lib/pacemaker/pcmk_sched_native.c ((rsc->next_role == RSC_ROLE_STOPPED)? "unmanaged" : "active"), RSC_ROLE_STOPPED 1858 lib/pacemaker/pcmk_sched_native.c } else if ((then_rsc_role == RSC_ROLE_STOPPED) && pcmk__str_eq(then->task, RSC_STOP, pcmk__str_casei)) { RSC_ROLE_STOPPED 2031 lib/pacemaker/pcmk_sched_native.c && (rsc->next_role > RSC_ROLE_STOPPED) RSC_ROLE_STOPPED 2385 lib/pacemaker/pcmk_sched_native.c if(remote->role == RSC_ROLE_STOPPED) { RSC_ROLE_STOPPED 2425 lib/pacemaker/pcmk_sched_native.c || remote->next_role == RSC_ROLE_STOPPED RSC_ROLE_STOPPED 569 lib/pacemaker/pcmk_sched_notif.c case RSC_ROLE_STOPPED: RSC_ROLE_STOPPED 855 lib/pacemaker/pcmk_sched_notif.c if ((rsc->role != RSC_ROLE_STOPPED) RSC_ROLE_STOPPED 883 lib/pacemaker/pcmk_sched_notif.c if ((rsc->next_role != RSC_ROLE_STOPPED) RSC_ROLE_STOPPED 1449 lib/pacemaker/pcmk_sched_ordering.c if ((lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_STOPPED) RSC_ROLE_STOPPED 640 lib/pacemaker/pcmk_sched_promotable.c pe__set_next_role(rsc, (allocated? RSC_ROLE_UNPROMOTED : RSC_ROLE_STOPPED), RSC_ROLE_STOPPED 725 lib/pacemaker/pcmk_sched_promotable.c case RSC_ROLE_STOPPED: RSC_ROLE_STOPPED 101 lib/pacemaker/pcmk_sched_remote.c if ((remote_rsc->next_role == RSC_ROLE_STOPPED) RSC_ROLE_STOPPED 120 lib/pacemaker/pcmk_sched_remote.c if ((remote_rsc->next_role == RSC_ROLE_STOPPED) RSC_ROLE_STOPPED 238 lib/pacemaker/pcmk_sched_remote.c } else if (remote_rsc->next_role == RSC_ROLE_STOPPED) { RSC_ROLE_STOPPED 298 lib/pacemaker/pcmk_sched_resource.c if (rsc->role == RSC_ROLE_STOPPED) { RSC_ROLE_STOPPED 353 lib/pacemaker/pcmk_sched_resource.c pe__set_next_role(rsc, RSC_ROLE_STOPPED, "node availability"); RSC_ROLE_STOPPED 363 lib/pacemaker/pcmk_sched_resource.c pe__set_next_role(rsc, RSC_ROLE_STOPPED, "unable to allocate"); RSC_ROLE_STOPPED 648 lib/pengine/clone.c if (role == RSC_ROLE_STOPPED) { RSC_ROLE_STOPPED 976 lib/pengine/clone.c if (configured_role(rsc) == RSC_ROLE_STOPPED) { RSC_ROLE_STOPPED 459 lib/pengine/common.c case RSC_ROLE_STOPPED: RSC_ROLE_STOPPED 487 lib/pengine/common.c return RSC_ROLE_STOPPED; RSC_ROLE_STOPPED 594 lib/pengine/complex.c (*rsc)->role = RSC_ROLE_STOPPED; RSC_ROLE_STOPPED 1106 lib/pengine/complex.c || (rsc->role > RSC_ROLE_STOPPED)) { RSC_ROLE_STOPPED 604 lib/pengine/native.c if (native_displayable_role(rsc) == RSC_ROLE_STOPPED) { RSC_ROLE_STOPPED 635 lib/pengine/native.c if (target_role_e == RSC_ROLE_STOPPED) { RSC_ROLE_STOPPED 1307 lib/pengine/unpack.c pe__set_next_role(this_node->details->remote_rsc, RSC_ROLE_STOPPED, RSC_ROLE_STOPPED 1482 lib/pengine/unpack.c if (rsc->role == RSC_ROLE_STARTED && rsc->next_role == RSC_ROLE_STOPPED) { RSC_ROLE_STOPPED 1500 lib/pengine/unpack.c } else if (rsc->role == RSC_ROLE_STOPPED RSC_ROLE_STOPPED 1501 lib/pengine/unpack.c || (container && container->role == RSC_ROLE_STOPPED)) { RSC_ROLE_STOPPED 1987 lib/pengine/unpack.c if (rsc->role > RSC_ROLE_STOPPED RSC_ROLE_STOPPED 2083 lib/pengine/unpack.c pe__set_next_role(rsc, RSC_ROLE_STOPPED, "on-fail=stop"); RSC_ROLE_STOPPED 2087 lib/pengine/unpack.c if (rsc->role != RSC_ROLE_STOPPED && rsc->role != RSC_ROLE_UNKNOWN) { RSC_ROLE_STOPPED 2105 lib/pengine/unpack.c } else if (rsc->role != RSC_ROLE_STOPPED && rsc->role != RSC_ROLE_UNKNOWN) { RSC_ROLE_STOPPED 2130 lib/pengine/unpack.c if (rsc->role > RSC_ROLE_STOPPED) { RSC_ROLE_STOPPED 2137 lib/pengine/unpack.c pe__set_next_role(rsc, RSC_ROLE_STOPPED, "remote reset"); RSC_ROLE_STOPPED 2153 lib/pengine/unpack.c if (rsc->role != RSC_ROLE_STOPPED && rsc->role != RSC_ROLE_UNKNOWN) { RSC_ROLE_STOPPED 2693 lib/pengine/unpack.c rsc->role = RSC_ROLE_STOPPED; RSC_ROLE_STOPPED 3068 lib/pengine/unpack.c pe__set_next_role(rsc, RSC_ROLE_STOPPED, RSC_ROLE_STOPPED 3072 lib/pengine/unpack.c rsc->role = RSC_ROLE_STOPPED; RSC_ROLE_STOPPED 3087 lib/pengine/unpack.c rsc->role = RSC_ROLE_STOPPED; RSC_ROLE_STOPPED 3103 lib/pengine/unpack.c if (action->fail_role == RSC_ROLE_STOPPED) { RSC_ROLE_STOPPED 3249 lib/pengine/unpack.c rsc->role = RSC_ROLE_STOPPED; RSC_ROLE_STOPPED 3587 lib/pengine/unpack.c rsc->role = RSC_ROLE_STOPPED; RSC_ROLE_STOPPED 3611 lib/pengine/unpack.c rsc->role = RSC_ROLE_STOPPED; RSC_ROLE_STOPPED 3758 lib/pengine/unpack.c if (rsc->role <= RSC_ROLE_STOPPED) { RSC_ROLE_STOPPED 1231 lib/pengine/utils.c action->fail_role = RSC_ROLE_STOPPED; RSC_ROLE_STOPPED 1249 lib/pengine/utils.c action->fail_role = RSC_ROLE_STOPPED; RSC_ROLE_STOPPED 1295 lib/pengine/utils.c action->fail_role = RSC_ROLE_STOPPED; RSC_ROLE_STOPPED 1306 lib/pengine/utils.c action->fail_role = RSC_ROLE_STOPPED; RSC_ROLE_STOPPED 2434 lib/pengine/utils.c if ((target_role_e == RSC_ROLE_STOPPED) RSC_ROLE_STOPPED 26 tools/crm_resource_runtime.c if (role == RSC_ROLE_STOPPED) {