RSC_ROLE_PROMOTED 104 include/crm/pengine/common.h RSC_ROLE_MASTER = RSC_ROLE_PROMOTED, RSC_ROLE_PROMOTED 108 include/crm/pengine/common.h # define RSC_ROLE_MAX (RSC_ROLE_PROMOTED + 1) RSC_ROLE_PROMOTED 1006 lib/pacemaker/pcmk_output.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1011 lib/pacemaker/pcmk_output.c } else if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 542 lib/pacemaker/pcmk_sched_bundle.c if ((constraint->role_rh >= RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 546 lib/pacemaker/pcmk_sched_bundle.c if ((constraint->role_rh >= RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 547 lib/pacemaker/pcmk_sched_bundle.c && (replica->child->next_role < RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 898 lib/pacemaker/pcmk_sched_bundle.c || (constraint->role_filter == RSC_ROLE_PROMOTED))) { RSC_ROLE_PROMOTED 1315 lib/pacemaker/pcmk_sched_constraints.c if (first_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1327 lib/pacemaker/pcmk_sched_constraints.c if (then_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 2842 lib/pacemaker/pcmk_sched_constraints.c if (new_rsc_ticket->role_lh == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 60 lib/pacemaker/pcmk_sched_native.c /* Started */ { RSC_ROLE_STOPPED, RSC_ROLE_STOPPED, RSC_ROLE_STARTED, RSC_ROLE_UNPROMOTED, RSC_ROLE_PROMOTED }, RSC_ROLE_PROMOTED 61 lib/pacemaker/pcmk_sched_native.c /* Unpromoted */ { RSC_ROLE_STOPPED, RSC_ROLE_STOPPED, RSC_ROLE_STOPPED, RSC_ROLE_UNPROMOTED, RSC_ROLE_PROMOTED }, RSC_ROLE_PROMOTED 62 lib/pacemaker/pcmk_sched_native.c /* Promoted */ { RSC_ROLE_STOPPED, RSC_ROLE_UNPROMOTED, RSC_ROLE_UNPROMOTED, RSC_ROLE_UNPROMOTED, RSC_ROLE_PROMOTED }, RSC_ROLE_PROMOTED 536 lib/pacemaker/pcmk_sched_native.c if ((constraint->role_lh >= RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 604 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 792 lib/pacemaker/pcmk_sched_native.c if (((rsc->next_role == RSC_ROLE_PROMOTED) && (role == NULL)) RSC_ROLE_PROMOTED 809 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 817 lib/pacemaker/pcmk_sched_native.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 859 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 875 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 880 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1330 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1371 lib/pacemaker/pcmk_sched_native.c if ((next_role == RSC_ROLE_PROMOTED) && need_promote) { RSC_ROLE_PROMOTED 1832 lib/pacemaker/pcmk_sched_native.c && (constraint->role_lh == RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 2000 lib/pacemaker/pcmk_sched_native.c if (rsc_ticket->role_lh != RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 2032 lib/pacemaker/pcmk_sched_native.c if ((rsc_ticket->role_lh != RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 2039 lib/pacemaker/pcmk_sched_native.c if ((rsc_ticket->role_lh != RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 2196 lib/pacemaker/pcmk_sched_native.c (then->rsc != NULL) && (then->rsc->role == RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 2819 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 440 lib/pacemaker/pcmk_sched_notif.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 141 lib/pacemaker/pcmk_sched_promotable.c if (cons->role_filter == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 199 lib/pacemaker/pcmk_sched_promotable.c if (rsc->fns->state(rsc, TRUE) == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 333 lib/pacemaker/pcmk_sched_promotable.c if (constraint->role_lh == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 357 lib/pacemaker/pcmk_sched_promotable.c if (constraint->role_rh == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 374 lib/pacemaker/pcmk_sched_promotable.c if ((rsc_ticket->role_lh == RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 390 lib/pacemaker/pcmk_sched_promotable.c && (child->next_role == RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 648 lib/pacemaker/pcmk_sched_promotable.c pe__set_next_role(rsc, RSC_ROLE_PROMOTED, "promoted instance"); RSC_ROLE_PROMOTED 724 lib/pacemaker/pcmk_sched_promotable.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 746 lib/pacemaker/pcmk_sched_promotable.c if (next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 789 lib/pacemaker/pcmk_sched_promotable.c } else if ((child_rsc->role < RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 1004 lib/pacemaker/pcmk_sched_promotable.c if ((constraint->role_lh != RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 1005 lib/pacemaker/pcmk_sched_promotable.c || (constraint->role_rh != RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 1013 lib/pacemaker/pcmk_sched_promotable.c } else if (constraint->role_lh == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 474 lib/pengine/common.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 500 lib/pengine/common.c return RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 53 lib/pengine/native.c if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 64 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? "promoted " : "", RSC_ROLE_PROMOTED 66 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? " + 1" : ""); RSC_ROLE_PROMOTED 81 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? "promoted " : "", RSC_ROLE_PROMOTED 83 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? " + 1" : "", RSC_ROLE_PROMOTED 576 lib/pengine/pe_output.c if (role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 630 lib/pengine/pe_output.c const char *promoted_only = pcmk__btoa(location->role_filter == RSC_ROLE_PROMOTED); RSC_ROLE_PROMOTED 3061 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3065 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3227 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3232 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3570 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3793 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 398 lib/pengine/utils.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 983 tools/crm_resource.c if (child_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 58 tools/crm_resource_runtime.c child->fns->state(child, TRUE) == RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 91 tools/crm_resource_runtime.c ni->promoted = (rsc->fns->state(rsc, TRUE) == RSC_ROLE_PROMOTED); RSC_ROLE_PROMOTED 1927 tools/crm_resource_runtime.c if (child_role == RSC_ROLE_PROMOTED) {