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 1039 lib/pacemaker/pcmk_output.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1044 lib/pacemaker/pcmk_output.c } else if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 528 lib/pacemaker/pcmk_sched_bundle.c if ((constraint->primary_role >= RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 532 lib/pacemaker/pcmk_sched_bundle.c if ((constraint->primary_role >= RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 533 lib/pacemaker/pcmk_sched_bundle.c && (replica->child->next_role < RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 886 lib/pacemaker/pcmk_sched_bundle.c || (constraint->role_filter == RSC_ROLE_PROMOTED))) { RSC_ROLE_PROMOTED 140 lib/pacemaker/pcmk_sched_colocation.c if (first_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 152 lib/pacemaker/pcmk_sched_colocation.c if (then_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1042 lib/pacemaker/pcmk_sched_colocation.c && (constraint->dependent_role == RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 62 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 63 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 64 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 524 lib/pacemaker/pcmk_sched_native.c if ((constraint->dependent_role >= RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 592 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 780 lib/pacemaker/pcmk_sched_native.c if (((rsc->next_role == RSC_ROLE_PROMOTED) && (role == NULL)) RSC_ROLE_PROMOTED 797 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 805 lib/pacemaker/pcmk_sched_native.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 847 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 863 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 868 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1318 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1359 lib/pacemaker/pcmk_sched_native.c if ((next_role == RSC_ROLE_PROMOTED) && need_promote) { RSC_ROLE_PROMOTED 1906 lib/pacemaker/pcmk_sched_native.c (then->rsc != NULL) && (then->rsc->role == RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 2434 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 152 lib/pacemaker/pcmk_sched_promotable.c if (cons->role_filter == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 210 lib/pacemaker/pcmk_sched_promotable.c if (rsc->fns->state(rsc, TRUE) == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 344 lib/pacemaker/pcmk_sched_promotable.c if (constraint->dependent_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 368 lib/pacemaker/pcmk_sched_promotable.c if (constraint->primary_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 384 lib/pacemaker/pcmk_sched_promotable.c if ((rsc_ticket->role_lh == RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 400 lib/pacemaker/pcmk_sched_promotable.c && (child->next_role == RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 656 lib/pacemaker/pcmk_sched_promotable.c pe__set_next_role(rsc, RSC_ROLE_PROMOTED, "promoted instance"); RSC_ROLE_PROMOTED 728 lib/pacemaker/pcmk_sched_promotable.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 750 lib/pacemaker/pcmk_sched_promotable.c if (next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 793 lib/pacemaker/pcmk_sched_promotable.c } else if ((child_rsc->role < RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 1016 lib/pacemaker/pcmk_sched_promotable.c if ((constraint->dependent_role != RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 1017 lib/pacemaker/pcmk_sched_promotable.c || (constraint->primary_role != RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 1026 lib/pacemaker/pcmk_sched_promotable.c } else if (constraint->dependent_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 84 lib/pacemaker/pcmk_sched_tickets.c if (rsc_ticket->role_lh != RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 118 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role_lh != RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 126 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role_lh != RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 197 lib/pacemaker/pcmk_sched_tickets.c if (new_rsc_ticket->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 529 lib/pengine/pe_output.c if (role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 583 lib/pengine/pe_output.c const char *promoted_only = pcmk__btoa(location->role_filter == RSC_ROLE_PROMOTED); RSC_ROLE_PROMOTED 3058 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3062 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3224 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3229 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3567 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3790 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 59 tools/crm_resource_runtime.c child->fns->state(child, TRUE) == RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 92 tools/crm_resource_runtime.c ni->promoted = (rsc->fns->state(rsc, TRUE) == RSC_ROLE_PROMOTED); RSC_ROLE_PROMOTED 1934 tools/crm_resource_runtime.c if (child_role == RSC_ROLE_PROMOTED) {