RSC_ROLE_MASTER 99 include/crm/pengine/common.h # define RSC_ROLE_MAX RSC_ROLE_MASTER+1 RSC_ROLE_MASTER 532 lib/pacemaker/pcmk_sched_bundle.c if ((constraint->role_rh >= RSC_ROLE_MASTER) RSC_ROLE_MASTER 536 lib/pacemaker/pcmk_sched_bundle.c if ((constraint->role_rh >= RSC_ROLE_MASTER) RSC_ROLE_MASTER 537 lib/pacemaker/pcmk_sched_bundle.c && (replica->child->next_role < RSC_ROLE_MASTER)) { RSC_ROLE_MASTER 888 lib/pacemaker/pcmk_sched_bundle.c || (constraint->role_filter == RSC_ROLE_MASTER))) { RSC_ROLE_MASTER 1313 lib/pacemaker/pcmk_sched_constraints.c if (first_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 1325 lib/pacemaker/pcmk_sched_constraints.c if (then_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 2778 lib/pacemaker/pcmk_sched_constraints.c if (new_rsc_ticket->role_lh == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 56 lib/pacemaker/pcmk_sched_native.c /* Started */ { RSC_ROLE_STOPPED, RSC_ROLE_STOPPED, RSC_ROLE_STARTED, RSC_ROLE_SLAVE, RSC_ROLE_MASTER, }, RSC_ROLE_MASTER 57 lib/pacemaker/pcmk_sched_native.c /* Slave */ { RSC_ROLE_STOPPED, RSC_ROLE_STOPPED, RSC_ROLE_STOPPED, RSC_ROLE_SLAVE, RSC_ROLE_MASTER, }, RSC_ROLE_MASTER 58 lib/pacemaker/pcmk_sched_native.c /* Master */ { RSC_ROLE_STOPPED, RSC_ROLE_SLAVE, RSC_ROLE_SLAVE, RSC_ROLE_SLAVE, RSC_ROLE_MASTER, }, RSC_ROLE_MASTER 538 lib/pacemaker/pcmk_sched_native.c if (constraint->role_lh >= RSC_ROLE_MASTER RSC_ROLE_MASTER 605 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 793 lib/pacemaker/pcmk_sched_native.c if ((rsc->next_role == RSC_ROLE_MASTER && role == NULL) RSC_ROLE_MASTER 810 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 818 lib/pacemaker/pcmk_sched_native.c case RSC_ROLE_MASTER: RSC_ROLE_MASTER 862 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 878 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 883 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 1331 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 1372 lib/pacemaker/pcmk_sched_native.c if ((next_role == RSC_ROLE_MASTER) && need_promote) { RSC_ROLE_MASTER 1842 lib/pacemaker/pcmk_sched_native.c if(constraint->score == INFINITY && constraint->role_lh == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 2012 lib/pacemaker/pcmk_sched_native.c if (rsc_ticket->role_lh != RSC_ROLE_MASTER) { RSC_ROLE_MASTER 2044 lib/pacemaker/pcmk_sched_native.c if (rsc_ticket->role_lh != RSC_ROLE_MASTER || rsc_ticket->loss_policy == loss_ticket_stop) { RSC_ROLE_MASTER 2050 lib/pacemaker/pcmk_sched_native.c if (rsc_ticket->role_lh != RSC_ROLE_MASTER || rsc_ticket->loss_policy == loss_ticket_stop) { RSC_ROLE_MASTER 2202 lib/pacemaker/pcmk_sched_native.c then->rsc && (then->rsc->role == RSC_ROLE_MASTER)) { RSC_ROLE_MASTER 2688 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 2692 lib/pacemaker/pcmk_sched_native.c } else if(rsc->next_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 3098 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 450 lib/pacemaker/pcmk_sched_notif.c case RSC_ROLE_MASTER: RSC_ROLE_MASTER 137 lib/pacemaker/pcmk_sched_promotable.c if (cons->role_filter == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 195 lib/pacemaker/pcmk_sched_promotable.c if (rsc->fns->state(rsc, TRUE) == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 331 lib/pacemaker/pcmk_sched_promotable.c if (constraint->role_lh == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 355 lib/pacemaker/pcmk_sched_promotable.c if (constraint->role_rh == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 372 lib/pacemaker/pcmk_sched_promotable.c if (rsc_ticket->role_lh == RSC_ROLE_MASTER RSC_ROLE_MASTER 388 lib/pacemaker/pcmk_sched_promotable.c && (child->next_role == RSC_ROLE_MASTER)) { RSC_ROLE_MASTER 652 lib/pacemaker/pcmk_sched_promotable.c rsc->next_role = RSC_ROLE_MASTER; RSC_ROLE_MASTER 728 lib/pacemaker/pcmk_sched_promotable.c case RSC_ROLE_MASTER: RSC_ROLE_MASTER 753 lib/pacemaker/pcmk_sched_promotable.c if (next_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 798 lib/pacemaker/pcmk_sched_promotable.c } else if(child_rsc->role < RSC_ROLE_MASTER RSC_ROLE_MASTER 1015 lib/pacemaker/pcmk_sched_promotable.c if (constraint->role_lh != RSC_ROLE_MASTER || constraint->role_rh != RSC_ROLE_MASTER) { RSC_ROLE_MASTER 1022 lib/pacemaker/pcmk_sched_promotable.c } else if (constraint->role_lh == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 474 lib/pengine/common.c case RSC_ROLE_MASTER: RSC_ROLE_MASTER 494 lib/pengine/common.c return RSC_ROLE_MASTER; RSC_ROLE_MASTER 46 lib/pengine/native.c if (rsc->role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 57 lib/pengine/native.c rsc->role == RSC_ROLE_MASTER ? "promoted " : "", RSC_ROLE_MASTER 59 lib/pengine/native.c rsc->role == RSC_ROLE_MASTER ? " + 1" : ""); RSC_ROLE_MASTER 74 lib/pengine/native.c rsc->role == RSC_ROLE_MASTER ? "promoted " : "", RSC_ROLE_MASTER 76 lib/pengine/native.c rsc->role == RSC_ROLE_MASTER ? " + 1" : "", RSC_ROLE_MASTER 438 lib/pengine/pe_output.c location->role_filter == RSC_ROLE_MASTER ? "as Master " : "", RSC_ROLE_MASTER 458 lib/pengine/pe_output.c location->role_filter == RSC_ROLE_MASTER ? "as Master " : "", RSC_ROLE_MASTER 480 lib/pengine/pe_output.c (pcmkXmlStr) pcmk__btoa(location->role_filter == RSC_ROLE_MASTER)); RSC_ROLE_MASTER 2978 lib/pengine/unpack.c rsc->role = RSC_ROLE_MASTER; RSC_ROLE_MASTER 2982 lib/pengine/unpack.c rsc->role = RSC_ROLE_MASTER; RSC_ROLE_MASTER 3143 lib/pengine/unpack.c rsc->role = RSC_ROLE_MASTER; RSC_ROLE_MASTER 3148 lib/pengine/unpack.c rsc->role = RSC_ROLE_MASTER; RSC_ROLE_MASTER 3486 lib/pengine/unpack.c rsc->role = RSC_ROLE_MASTER; RSC_ROLE_MASTER 3708 lib/pengine/unpack.c rsc->role = RSC_ROLE_MASTER; RSC_ROLE_MASTER 449 lib/pengine/utils.c case RSC_ROLE_MASTER: RSC_ROLE_MASTER 928 tools/crm_resource.c if(child_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 29 tools/crm_resource_runtime.c if (!pe_rsc_is_clone(the_rsc) && the_rsc->fns->state(the_rsc, TRUE) == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 1930 tools/crm_resource_runtime.c if(child_role == RSC_ROLE_MASTER) {