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 1161 lib/pacemaker/pcmk_output.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1166 lib/pacemaker/pcmk_output.c } else if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 865 lib/pacemaker/pcmk_sched_actions.c && (then->rsc != NULL) && (then->rsc->role == RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 523 lib/pacemaker/pcmk_sched_bundle.c if ((colocation->primary_role >= RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 527 lib/pacemaker/pcmk_sched_bundle.c if ((colocation->primary_role >= RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 528 lib/pacemaker/pcmk_sched_bundle.c && (replica->child->next_role < RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 913 lib/pacemaker/pcmk_sched_bundle.c || (constraint->role_filter == RSC_ROLE_PROMOTED))) { RSC_ROLE_PROMOTED 738 lib/pacemaker/pcmk_sched_clone.c } else if (colocation->dependent_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 174 lib/pacemaker/pcmk_sched_colocation.c if (first_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 186 lib/pacemaker/pcmk_sched_colocation.c if (then_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 899 lib/pacemaker/pcmk_sched_colocation.c if (!is_start && (colocation->primary_role != RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 904 lib/pacemaker/pcmk_sched_colocation.c if (colocation->dependent_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 1144 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 452 lib/pacemaker/pcmk_sched_primitive.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 533 lib/pacemaker/pcmk_sched_primitive.c if ((next_role == RSC_ROLE_PROMOTED) && need_promote) { RSC_ROLE_PROMOTED 753 lib/pacemaker/pcmk_sched_primitive.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 37 lib/pacemaker/pcmk_sched_probes.c } else if (rsc->role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 127 lib/pacemaker/pcmk_sched_promotable.c if (location->role_filter == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 179 lib/pacemaker/pcmk_sched_promotable.c if (rsc->fns->state(rsc, TRUE) == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 342 lib/pacemaker/pcmk_sched_promotable.c if (constraint->dependent_role != RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 373 lib/pacemaker/pcmk_sched_promotable.c if ((constraint->primary_role != RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 402 lib/pacemaker/pcmk_sched_promotable.c && (child->next_role == RSC_ROLE_PROMOTED)) { RSC_ROLE_PROMOTED 832 lib/pacemaker/pcmk_sched_promotable.c pe__set_next_role(rsc, RSC_ROLE_PROMOTED, "promoted instance"); RSC_ROLE_PROMOTED 928 lib/pacemaker/pcmk_sched_promotable.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 949 lib/pacemaker/pcmk_sched_promotable.c if (next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 988 lib/pacemaker/pcmk_sched_promotable.c if ((instance->role < RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 1210 lib/pacemaker/pcmk_sched_promotable.c && ((colocation->dependent_role != RSC_ROLE_PROMOTED) RSC_ROLE_PROMOTED 1211 lib/pacemaker/pcmk_sched_promotable.c || (colocation->primary_role != RSC_ROLE_PROMOTED))) { RSC_ROLE_PROMOTED 255 lib/pacemaker/pcmk_sched_recurring.c && (rsc->next_role == RSC_ROLE_PROMOTED))) { RSC_ROLE_PROMOTED 267 lib/pacemaker/pcmk_sched_recurring.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 275 lib/pacemaker/pcmk_sched_recurring.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 322 lib/pacemaker/pcmk_sched_recurring.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 338 lib/pacemaker/pcmk_sched_recurring.c if (rsc->next_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 344 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 469 lib/pengine/common.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 495 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 580 lib/pengine/pe_notif.c case RSC_ROLE_PROMOTED: RSC_ROLE_PROMOTED 577 lib/pengine/pe_output.c if (role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 631 lib/pengine/pe_output.c const char *promoted_only = pcmk__btoa(location->role_filter == RSC_ROLE_PROMOTED); RSC_ROLE_PROMOTED 3265 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3269 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3505 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3510 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 3848 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 4055 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 979 tools/crm_resource.c if (child_role == RSC_ROLE_PROMOTED) { RSC_ROLE_PROMOTED 31 tools/crm_resource_runtime.c child->fns->state(child, TRUE) == RSC_ROLE_PROMOTED; RSC_ROLE_PROMOTED 64 tools/crm_resource_runtime.c ni->promoted = (rsc->fns->state(rsc, TRUE) == RSC_ROLE_PROMOTED); RSC_ROLE_PROMOTED 2037 tools/crm_resource_runtime.c if (child_role == RSC_ROLE_PROMOTED) {