RSC_ROLE_MASTER 89 include/crm/pengine/common.h # define RSC_ROLE_MAX RSC_ROLE_MASTER+1 RSC_ROLE_MASTER 357 lib/pengine/common.c case RSC_ROLE_MASTER: RSC_ROLE_MASTER 377 lib/pengine/common.c return RSC_ROLE_MASTER; RSC_ROLE_MASTER 2662 lib/pengine/unpack.c rsc->role = RSC_ROLE_MASTER; RSC_ROLE_MASTER 2671 lib/pengine/unpack.c rsc->role = RSC_ROLE_MASTER; RSC_ROLE_MASTER 2770 lib/pengine/unpack.c } else if (target_rc < 0 && interval > 0 && rsc->role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 2806 lib/pengine/unpack.c || rsc->role != RSC_ROLE_MASTER) { RSC_ROLE_MASTER 2808 lib/pengine/unpack.c if (rsc->role != RSC_ROLE_MASTER) { RSC_ROLE_MASTER 2813 lib/pengine/unpack.c rsc->role = RSC_ROLE_MASTER; RSC_ROLE_MASTER 2818 lib/pengine/unpack.c rsc->role = RSC_ROLE_MASTER; RSC_ROLE_MASTER 3038 lib/pengine/unpack.c rsc->role = RSC_ROLE_MASTER; RSC_ROLE_MASTER 3214 lib/pengine/unpack.c rsc->role = RSC_ROLE_MASTER; RSC_ROLE_MASTER 1201 pengine/constraints.c if (first_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 1213 pengine/constraints.c if (then_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 2624 pengine/constraints.c if (new_rsc_ticket->role_lh == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 811 pengine/container.c if(container_data->child && (constraint->role_filter == RSC_ROLE_SLAVE || constraint->role_filter == RSC_ROLE_MASTER)) { RSC_ROLE_MASTER 147 pengine/master.c if (cons->role_filter == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 196 pengine/master.c if (rsc->fns->state(rsc, TRUE) == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 326 pengine/master.c if (constraint->role_lh == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 346 pengine/master.c if (constraint->role_rh == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 363 pengine/master.c if (rsc_ticket->role_lh == RSC_ROLE_MASTER RSC_ROLE_MASTER 378 pengine/master.c if (is_not_set(child->flags, pe_rsc_managed) && child->next_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 640 pengine/master.c rsc->next_role = RSC_ROLE_MASTER; RSC_ROLE_MASTER 732 pengine/master.c case RSC_ROLE_MASTER: RSC_ROLE_MASTER 753 pengine/master.c if (next_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 797 pengine/master.c } else if(child_rsc->role < RSC_ROLE_MASTER RSC_ROLE_MASTER 1040 pengine/master.c if (constraint->role_lh != RSC_ROLE_MASTER || constraint->role_rh != RSC_ROLE_MASTER) { RSC_ROLE_MASTER 1047 pengine/master.c } else if (constraint->role_lh == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 66 pengine/native.c /* Started */ { RSC_ROLE_STOPPED, RSC_ROLE_STOPPED, RSC_ROLE_STARTED, RSC_ROLE_SLAVE, RSC_ROLE_MASTER, }, RSC_ROLE_MASTER 67 pengine/native.c /* Slave */ { RSC_ROLE_STOPPED, RSC_ROLE_STOPPED, RSC_ROLE_STOPPED, RSC_ROLE_SLAVE, RSC_ROLE_MASTER, }, RSC_ROLE_MASTER 68 pengine/native.c /* Master */ { RSC_ROLE_STOPPED, RSC_ROLE_SLAVE, RSC_ROLE_SLAVE, RSC_ROLE_SLAVE, RSC_ROLE_MASTER, }, RSC_ROLE_MASTER 467 pengine/native.c if (constraint->role_lh >= RSC_ROLE_MASTER RSC_ROLE_MASTER 524 pengine/native.c } else if (rsc->role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 716 pengine/native.c if ((rsc->next_role == RSC_ROLE_MASTER && value == NULL) RSC_ROLE_MASTER 742 pengine/native.c if (rsc->next_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 750 pengine/native.c case RSC_ROLE_MASTER: RSC_ROLE_MASTER 794 pengine/native.c if (rsc->next_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 810 pengine/native.c if (rsc->next_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 815 pengine/native.c } else if (rsc->role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 1662 pengine/native.c if(constraint->score == INFINITY && constraint->role_lh == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 1831 pengine/native.c if (rsc_ticket->role_lh != RSC_ROLE_MASTER) { RSC_ROLE_MASTER 1863 pengine/native.c if (rsc_ticket->role_lh != RSC_ROLE_MASTER || rsc_ticket->loss_policy == loss_ticket_stop) { RSC_ROLE_MASTER 1869 pengine/native.c if (rsc_ticket->role_lh != RSC_ROLE_MASTER || rsc_ticket->loss_policy == loss_ticket_stop) { RSC_ROLE_MASTER 1943 pengine/native.c then->rsc && (then->rsc->role == RSC_ROLE_MASTER)) { RSC_ROLE_MASTER 2474 pengine/native.c } else if (rsc->role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 2478 pengine/native.c } else if(rsc->next_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 3006 pengine/native.c } else if (rsc->role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 479 pengine/notif.c case RSC_ROLE_MASTER: RSC_ROLE_MASTER 2020 tools/crm_mon.c ((location->role_filter == RSC_ROLE_MASTER)? "as Master " : ""), RSC_ROLE_MASTER 2029 tools/crm_mon.c ((location->role_filter == RSC_ROLE_MASTER)? "as Master " : ""), RSC_ROLE_MASTER 2037 tools/crm_mon.c ((location->role_filter == RSC_ROLE_MASTER)? "true" : "false")); RSC_ROLE_MASTER 1032 tools/crm_resource.c if(child_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 42 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 1647 tools/crm_resource_runtime.c if(child_role == RSC_ROLE_MASTER) { RSC_ROLE_MASTER 1677 tools/crm_resource_runtime.c } else if(scope_master && rsc->fns->state(rsc, TRUE) != RSC_ROLE_MASTER) {