pcmk_role_promoted 58 include/crm/common/roles.h RSC_ROLE_PROMOTED = pcmk_role_promoted, pcmk_role_promoted 61 include/crm/common/roles.h RSC_ROLE_MASTER = pcmk_role_promoted, pcmk_role_promoted 29 include/crm/pengine/common_compat.h #define RSC_ROLE_MAX (pcmk_role_promoted + 1) pcmk_role_promoted 44 include/crm/pengine/common_compat.h #define RSC_ROLE_PROMOTED_S pcmk_role_text(pcmk_role_promoted) pcmk_role_promoted 39 lib/common/roles.c case pcmk_role_promoted: pcmk_role_promoted 83 lib/common/roles.c return pcmk_role_promoted; pcmk_role_promoted 85 lib/common/roles.c return pcmk_role_promoted; pcmk_role_promoted 1282 lib/pacemaker/pcmk_output.c } else if (rsc->role == pcmk_role_promoted) { pcmk_role_promoted 1287 lib/pacemaker/pcmk_output.c } else if (rsc->next_role == pcmk_role_promoted) { pcmk_role_promoted 876 lib/pacemaker/pcmk_sched_actions.c && (then->rsc != NULL) && (then->rsc->role == pcmk_role_promoted) pcmk_role_promoted 494 lib/pacemaker/pcmk_sched_bundle.c if ((coloc_data->colocation->primary_role >= pcmk_role_promoted) pcmk_role_promoted 496 lib/pacemaker/pcmk_sched_bundle.c || (replica->child->next_role < pcmk_role_promoted))) { pcmk_role_promoted 766 lib/pacemaker/pcmk_sched_bundle.c || (location->role_filter == pcmk_role_promoted))) { pcmk_role_promoted 287 lib/pacemaker/pcmk_sched_clone.c if (colocation->dependent_role == pcmk_role_promoted) { pcmk_role_promoted 298 lib/pacemaker/pcmk_sched_colocation.c if (first_role == pcmk_role_promoted) { pcmk_role_promoted 310 lib/pacemaker/pcmk_sched_colocation.c if (then_role == pcmk_role_promoted) { pcmk_role_promoted 1134 lib/pacemaker/pcmk_sched_colocation.c if (!is_start && (colocation->primary_role != pcmk_role_promoted)) { pcmk_role_promoted 1139 lib/pacemaker/pcmk_sched_colocation.c if (colocation->dependent_role == pcmk_role_promoted) { pcmk_role_promoted 1451 lib/pacemaker/pcmk_sched_colocation.c && (colocation->dependent_role == pcmk_role_promoted)) { pcmk_role_promoted 31 lib/pacemaker/pcmk_sched_primitive.c #define RSC_ROLE_MAX (pcmk_role_promoted + 1) pcmk_role_promoted 59 lib/pacemaker/pcmk_sched_primitive.c pcmk_role_promoted, /* Promoted */ pcmk_role_promoted 65 lib/pacemaker/pcmk_sched_primitive.c pcmk_role_promoted, /* Promoted */ pcmk_role_promoted 71 lib/pacemaker/pcmk_sched_primitive.c pcmk_role_promoted, /* Promoted */ pcmk_role_promoted 306 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->dependent_role >= pcmk_role_promoted) pcmk_role_promoted 514 lib/pacemaker/pcmk_sched_primitive.c } else if (rsc->role == pcmk_role_promoted) { pcmk_role_promoted 594 lib/pacemaker/pcmk_sched_primitive.c if ((next_role == pcmk_role_promoted) && need_promote) { pcmk_role_promoted 819 lib/pacemaker/pcmk_sched_primitive.c if (rsc->next_role == pcmk_role_promoted) { pcmk_role_promoted 38 lib/pacemaker/pcmk_sched_probes.c } else if (rsc->role == pcmk_role_promoted) { pcmk_role_promoted 136 lib/pacemaker/pcmk_sched_promotable.c if (location->role_filter == pcmk_role_promoted) { pcmk_role_promoted 191 lib/pacemaker/pcmk_sched_promotable.c if (rsc->fns->state(rsc, TRUE) == pcmk_role_promoted) { pcmk_role_promoted 360 lib/pacemaker/pcmk_sched_promotable.c if ((colocation->primary_role != pcmk_role_promoted) pcmk_role_promoted 390 lib/pacemaker/pcmk_sched_promotable.c && (child->next_role == pcmk_role_promoted)) { pcmk_role_promoted 848 lib/pacemaker/pcmk_sched_promotable.c pe__set_next_role(rsc, pcmk_role_promoted, "promoted instance"); pcmk_role_promoted 948 lib/pacemaker/pcmk_sched_promotable.c case pcmk_role_promoted: pcmk_role_promoted 971 lib/pacemaker/pcmk_sched_promotable.c if (next_role == pcmk_role_promoted) { pcmk_role_promoted 1010 lib/pacemaker/pcmk_sched_promotable.c if ((instance->role < pcmk_role_promoted) pcmk_role_promoted 1235 lib/pacemaker/pcmk_sched_promotable.c && ((colocation->dependent_role != pcmk_role_promoted) pcmk_role_promoted 1236 lib/pacemaker/pcmk_sched_promotable.c || (colocation->primary_role != pcmk_role_promoted))) { pcmk_role_promoted 273 lib/pacemaker/pcmk_sched_recurring.c role_match = (rsc->next_role != pcmk_role_promoted); pcmk_role_promoted 288 lib/pacemaker/pcmk_sched_recurring.c if (rsc->next_role == pcmk_role_promoted) { pcmk_role_promoted 296 lib/pacemaker/pcmk_sched_recurring.c case pcmk_role_promoted: pcmk_role_promoted 344 lib/pacemaker/pcmk_sched_recurring.c if (rsc->next_role == pcmk_role_promoted) { pcmk_role_promoted 362 lib/pacemaker/pcmk_sched_recurring.c if (rsc->next_role == pcmk_role_promoted) { pcmk_role_promoted 369 lib/pacemaker/pcmk_sched_recurring.c } else if (rsc->role == pcmk_role_promoted) { pcmk_role_promoted 97 lib/pacemaker/pcmk_sched_tickets.c if (rsc_ticket->role != pcmk_role_promoted) { pcmk_role_promoted 130 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role != pcmk_role_promoted) pcmk_role_promoted 138 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role != pcmk_role_promoted) pcmk_role_promoted 208 lib/pacemaker/pcmk_sched_tickets.c if (new_rsc_ticket->role == pcmk_role_promoted) { pcmk_role_promoted 527 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role == pcmk_role_promoted) pcmk_role_promoted 53 lib/pengine/native.c if (rsc->role == pcmk_role_promoted) { pcmk_role_promoted 64 lib/pengine/native.c (rsc->role == pcmk_role_promoted)? "promoted " : "", pcmk_role_promoted 66 lib/pengine/native.c (rsc->role == pcmk_role_promoted)? " + 1" : ""); pcmk_role_promoted 82 lib/pengine/native.c (rsc->role == pcmk_role_promoted)? "promoted " : "", pcmk_role_promoted 84 lib/pengine/native.c (rsc->role == pcmk_role_promoted)? " + 1" : "", pcmk_role_promoted 299 lib/pengine/pe_actions.c case pcmk_role_promoted: pcmk_role_promoted 585 lib/pengine/pe_notif.c case pcmk_role_promoted: pcmk_role_promoted 635 lib/pengine/pe_output.c if (role == pcmk_role_promoted) { pcmk_role_promoted 689 lib/pengine/pe_output.c const char *promoted_only = pcmk__btoa(location->role_filter == pcmk_role_promoted); pcmk_role_promoted 3804 lib/pengine/unpack.c history->rsc->role = pcmk_role_promoted; pcmk_role_promoted 3808 lib/pengine/unpack.c history->rsc->role = pcmk_role_promoted; pcmk_role_promoted 4063 lib/pengine/unpack.c history->rsc->role = pcmk_role_promoted; pcmk_role_promoted 4069 lib/pengine/unpack.c history->rsc->role = pcmk_role_promoted; pcmk_role_promoted 4442 lib/pengine/unpack.c history->rsc->role = pcmk_role_promoted; pcmk_role_promoted 4760 lib/pengine/unpack.c history->rsc->role = pcmk_role_promoted; pcmk_role_promoted 876 tools/crm_resource.c if (child_role == pcmk_role_promoted) { pcmk_role_promoted 40 tools/crm_resource_runtime.c child->fns->state(child, TRUE) == pcmk_role_promoted; pcmk_role_promoted 74 tools/crm_resource_runtime.c ni->promoted = (rsc->fns->state(rsc, TRUE) == pcmk_role_promoted); pcmk_role_promoted 2324 tools/crm_resource_runtime.c if (child_role == pcmk_role_promoted) {