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 1049 lib/pacemaker/pcmk_output.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1054 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 888 lib/pacemaker/pcmk_sched_bundle.c || (constraint->role_filter == RSC_ROLE_PROMOTED))) { RSC_ROLE_PROMOTED 143 lib/pacemaker/pcmk_sched_colocation.c if (first_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 155 lib/pacemaker/pcmk_sched_colocation.c if (then_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1048 lib/pacemaker/pcmk_sched_colocation.c && (constraint->dependent_role == RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 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_PROMOTED 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_PROMOTED 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_PROMOTED 523 lib/pacemaker/pcmk_sched_native.c if ((constraint->dependent_role >= RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 591 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 779 lib/pacemaker/pcmk_sched_native.c if (((rsc->next_role == RSC_ROLE_PROMOTED) && (role == NULL)) RSC_ROLE_PROMOTED 796 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 804 lib/pacemaker/pcmk_sched_native.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 846 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 862 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 867 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1228 lib/pacemaker/pcmk_sched_native.c if ((next_role == RSC_ROLE_PROMOTED) && need_promote) { RSC_ROLE_PROMOTED 1383 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1901 lib/pacemaker/pcmk_sched_native.c (then->rsc != NULL) && (then->rsc->role == RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 2459 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 583 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 1023 lib/pacemaker/pcmk_sched_promotable.c if ((constraint->dependent_role != RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 1024 lib/pacemaker/pcmk_sched_promotable.c || (constraint->primary_role != RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 1033 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 469 lib/pengine/common.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 495 lib/pengine/common.c return RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 55 lib/pengine/native.c if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 66 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? "promoted " : "", RSC_ROLE_PROMOTED 68 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? " + 1" : ""); RSC_ROLE_PROMOTED 83 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? "promoted " : "", RSC_ROLE_PROMOTED 85 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 3063 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3067 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3265 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3270 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3615 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3819 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 397 lib/pengine/utils.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 969 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 1980 tools/crm_resource_runtime.c if (child_role == RSC_ROLE_PROMOTED) {