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 1234 lib/pacemaker/pcmk_output.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1239 lib/pacemaker/pcmk_output.c } else if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 860 lib/pacemaker/pcmk_sched_actions.c && (then->rsc != NULL) && (then->rsc->role == RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 491 lib/pacemaker/pcmk_sched_bundle.c if ((colocation->primary_role >= RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 495 lib/pacemaker/pcmk_sched_bundle.c if ((colocation->primary_role >= RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 496 lib/pacemaker/pcmk_sched_bundle.c && (replica->child->next_role < RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 633 lib/pacemaker/pcmk_sched_bundle.c || (constraint->role_filter == RSC_ROLE_PROMOTED))) { RSC_ROLE_PROMOTED 262 lib/pacemaker/pcmk_sched_clone.c } else if (colocation->dependent_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 252 lib/pacemaker/pcmk_sched_colocation.c if (first_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 264 lib/pacemaker/pcmk_sched_colocation.c if (then_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 975 lib/pacemaker/pcmk_sched_colocation.c if (!is_start && (colocation->primary_role != RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 980 lib/pacemaker/pcmk_sched_colocation.c if (colocation->dependent_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1240 lib/pacemaker/pcmk_sched_colocation.c && (colocation->dependent_role == RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 53 lib/pacemaker/pcmk_sched_primitive.c RSC_ROLE_PROMOTED, /* Promoted */ RSC_ROLE_PROMOTED 59 lib/pacemaker/pcmk_sched_primitive.c RSC_ROLE_PROMOTED, /* Promoted */ RSC_ROLE_PROMOTED 65 lib/pacemaker/pcmk_sched_primitive.c RSC_ROLE_PROMOTED, /* Promoted */ RSC_ROLE_PROMOTED 285 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->dependent_role >= RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 469 lib/pacemaker/pcmk_sched_primitive.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 550 lib/pacemaker/pcmk_sched_primitive.c if ((next_role == RSC_ROLE_PROMOTED) && need_promote) { RSC_ROLE_PROMOTED 770 lib/pacemaker/pcmk_sched_primitive.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 38 lib/pacemaker/pcmk_sched_probes.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 128 lib/pacemaker/pcmk_sched_promotable.c if (location->role_filter == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 182 lib/pacemaker/pcmk_sched_promotable.c if (rsc->fns->state(rsc, TRUE) == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 347 lib/pacemaker/pcmk_sched_promotable.c if (constraint->dependent_role != RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 380 lib/pacemaker/pcmk_sched_promotable.c if ((constraint->primary_role != RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 411 lib/pacemaker/pcmk_sched_promotable.c && (child->next_role == RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 848 lib/pacemaker/pcmk_sched_promotable.c pe__set_next_role(rsc, RSC_ROLE_PROMOTED, "promoted instance"); RSC_ROLE_PROMOTED 944 lib/pacemaker/pcmk_sched_promotable.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 967 lib/pacemaker/pcmk_sched_promotable.c if (next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1006 lib/pacemaker/pcmk_sched_promotable.c if ((instance->role < RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 1231 lib/pacemaker/pcmk_sched_promotable.c && ((colocation->dependent_role != RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 1232 lib/pacemaker/pcmk_sched_promotable.c || (colocation->primary_role != RSC_ROLE_PROMOTED))) { RSC_ROLE_PROMOTED 257 lib/pacemaker/pcmk_sched_recurring.c && (rsc->next_role == RSC_ROLE_PROMOTED))) { RSC_ROLE_PROMOTED 269 lib/pacemaker/pcmk_sched_recurring.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 277 lib/pacemaker/pcmk_sched_recurring.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 324 lib/pacemaker/pcmk_sched_recurring.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 340 lib/pacemaker/pcmk_sched_recurring.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 346 lib/pacemaker/pcmk_sched_recurring.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 99 lib/pacemaker/pcmk_sched_tickets.c if (rsc_ticket->role != RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 133 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role != RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 141 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role != RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 212 lib/pacemaker/pcmk_sched_tickets.c if (new_rsc_ticket->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 525 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role == RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 465 lib/pengine/common.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 491 lib/pengine/common.c return RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 52 lib/pengine/native.c if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 63 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? "promoted " : "", RSC_ROLE_PROMOTED 65 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? " + 1" : ""); RSC_ROLE_PROMOTED 80 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? "promoted " : "", RSC_ROLE_PROMOTED 82 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? " + 1" : "", RSC_ROLE_PROMOTED 291 lib/pengine/pe_actions.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 584 lib/pengine/pe_notif.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 601 lib/pengine/pe_output.c if (role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 655 lib/pengine/pe_output.c const char *promoted_only = pcmk__btoa(location->role_filter == RSC_ROLE_PROMOTED); RSC_ROLE_PROMOTED 3437 lib/pengine/unpack.c history->rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3441 lib/pengine/unpack.c history->rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3695 lib/pengine/unpack.c history->rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3701 lib/pengine/unpack.c history->rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 4089 lib/pengine/unpack.c history->rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 4400 lib/pengine/unpack.c history->rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 986 tools/crm_resource.c if (child_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 34 tools/crm_resource_runtime.c child->fns->state(child, TRUE) == RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 67 tools/crm_resource_runtime.c ni->promoted = (rsc->fns->state(rsc, TRUE) == RSC_ROLE_PROMOTED); RSC_ROLE_PROMOTED 2107 tools/crm_resource_runtime.c if (child_role == RSC_ROLE_PROMOTED) {