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 1005 lib/pacemaker/pcmk_output.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1010 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 1316 lib/pacemaker/pcmk_sched_constraints.c if (first_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1328 lib/pacemaker/pcmk_sched_constraints.c if (then_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 2844 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 861 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 877 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 882 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1335 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1376 lib/pacemaker/pcmk_sched_native.c if ((next_role == RSC_ROLE_PROMOTED) && need_promote) { RSC_ROLE_PROMOTED 1839 lib/pacemaker/pcmk_sched_native.c && (constraint->role_lh == RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 2007 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 2046 lib/pacemaker/pcmk_sched_native.c if ((rsc_ticket->role_lh != RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 2199 lib/pacemaker/pcmk_sched_native.c (then->rsc != NULL) && (then->rsc->role == RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 2824 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 452 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 52 lib/pengine/native.c if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 63 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? "promoted " : "", RSC_ROLE_PROMOTED 65 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? " + 1" : ""); RSC_ROLE_PROMOTED 80 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? "promoted " : "", RSC_ROLE_PROMOTED 82 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? " + 1" : "", RSC_ROLE_PROMOTED 585 lib/pengine/pe_output.c if (role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 637 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 978 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 1906 tools/crm_resource_runtime.c if (child_role == RSC_ROLE_PROMOTED) {