RSC_ROLE_SLAVE 1881 lib/pacemaker/pcmk_sched_allocate.c } else if (lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_SLAVE && pcmk__str_eq(op_type, RSC_DEMOTE, pcmk__str_casei)) { RSC_ROLE_SLAVE 887 lib/pacemaker/pcmk_sched_bundle.c && ((constraint->role_filter == RSC_ROLE_SLAVE) RSC_ROLE_SLAVE 870 lib/pacemaker/pcmk_sched_constraints.c case RSC_ROLE_SLAVE: RSC_ROLE_SLAVE 1131 lib/pacemaker/pcmk_sched_constraints.c if (location_rule->role_filter == RSC_ROLE_SLAVE) { RSC_ROLE_SLAVE 1319 lib/pacemaker/pcmk_sched_constraints.c if (first_role == RSC_ROLE_SLAVE) { RSC_ROLE_SLAVE 1331 lib/pacemaker/pcmk_sched_constraints.c if (then_role == RSC_ROLE_SLAVE) { RSC_ROLE_SLAVE 55 lib/pacemaker/pcmk_sched_native.c /* Stopped */ { RSC_ROLE_STOPPED, RSC_ROLE_STOPPED, RSC_ROLE_STARTED, RSC_ROLE_SLAVE, RSC_ROLE_SLAVE, }, RSC_ROLE_SLAVE 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_SLAVE 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_SLAVE 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_SLAVE 808 lib/pacemaker/pcmk_sched_native.c case RSC_ROLE_SLAVE: RSC_ROLE_SLAVE 832 lib/pacemaker/pcmk_sched_native.c result, key, role ? role : role2text(RSC_ROLE_SLAVE), RSC_ROLE_SLAVE 978 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_STARTED || rsc->next_role == RSC_ROLE_SLAVE) { RSC_ROLE_SLAVE 1518 lib/pacemaker/pcmk_sched_native.c || (rsc->role > RSC_ROLE_SLAVE)) { RSC_ROLE_SLAVE 1747 lib/pacemaker/pcmk_sched_native.c if ((constraint->role_lh >= RSC_ROLE_SLAVE) && RSC_ROLE_SLAVE 1852 lib/pacemaker/pcmk_sched_native.c if (constraint->role_lh == RSC_ROLE_SLAVE) { RSC_ROLE_SLAVE 2421 lib/pacemaker/pcmk_sched_native.c if(rsc->role > RSC_ROLE_STARTED || rsc->next_role > RSC_ROLE_SLAVE) { RSC_ROLE_SLAVE 445 lib/pacemaker/pcmk_sched_notif.c case RSC_ROLE_SLAVE: RSC_ROLE_SLAVE 622 lib/pacemaker/pcmk_sched_promotable.c rsc->role = RSC_ROLE_SLAVE; RSC_ROLE_SLAVE 631 lib/pacemaker/pcmk_sched_promotable.c rsc->next_role = RSC_ROLE_SLAVE; RSC_ROLE_SLAVE 724 lib/pacemaker/pcmk_sched_promotable.c case RSC_ROLE_SLAVE: RSC_ROLE_SLAVE 461 lib/pengine/clone.c } else if (a_role > RSC_ROLE_SLAVE) { RSC_ROLE_SLAVE 516 lib/pengine/clone.c if(role == RSC_ROLE_SLAVE) { RSC_ROLE_SLAVE 736 lib/pengine/clone.c } else if (a_role > RSC_ROLE_SLAVE) { RSC_ROLE_SLAVE 808 lib/pengine/clone.c if(role == RSC_ROLE_SLAVE) { RSC_ROLE_SLAVE 973 lib/pengine/clone.c } else if (a_role > RSC_ROLE_SLAVE) { RSC_ROLE_SLAVE 1045 lib/pengine/clone.c if(role == RSC_ROLE_SLAVE) { RSC_ROLE_SLAVE 472 lib/pengine/common.c case RSC_ROLE_SLAVE: RSC_ROLE_SLAVE 492 lib/pengine/common.c return RSC_ROLE_SLAVE; RSC_ROLE_SLAVE 454 lib/pengine/native.c role = RSC_ROLE_SLAVE; RSC_ROLE_SLAVE 621 lib/pengine/native.c if (role > RSC_ROLE_SLAVE) { RSC_ROLE_SLAVE 658 lib/pengine/native.c && target_role_e == RSC_ROLE_SLAVE) { RSC_ROLE_SLAVE 1308 lib/pengine/rules.c if (rule_data->role < RSC_ROLE_SLAVE && rule_data->role > RSC_ROLE_UNKNOWN) { RSC_ROLE_SLAVE 1319 lib/pengine/rules.c if (rule_data->role < RSC_ROLE_SLAVE && rule_data->role > RSC_ROLE_UNKNOWN) { RSC_ROLE_SLAVE 2445 lib/pengine/unpack.c rsc->role = RSC_ROLE_SLAVE; RSC_ROLE_SLAVE 2994 lib/pengine/unpack.c rsc->role = RSC_ROLE_SLAVE; RSC_ROLE_SLAVE 3495 lib/pengine/unpack.c rsc->role = RSC_ROLE_SLAVE; RSC_ROLE_SLAVE 450 lib/pengine/utils.c case RSC_ROLE_SLAVE: RSC_ROLE_SLAVE 451 lib/pengine/utils.c if (rsc->next_role > RSC_ROLE_SLAVE) { RSC_ROLE_SLAVE 452 lib/pengine/utils.c rsc->next_role = RSC_ROLE_SLAVE; RSC_ROLE_SLAVE 1270 lib/pengine/utils.c action->fail_role = RSC_ROLE_SLAVE; RSC_ROLE_SLAVE 1865 lib/pengine/utils.c if (local_role > RSC_ROLE_SLAVE) { RSC_ROLE_SLAVE 2769 lib/pengine/utils.c || ((target_role_e == RSC_ROLE_SLAVE) RSC_ROLE_SLAVE 897 tools/crm_resource_runtime.c && (role == RSC_ROLE_SLAVE)) {