next_role 385 include/crm/pengine/pe_types.h enum rsc_role_e next_role; next_role 146 lib/pacemaker/pcmk_output.c || (rsc->next_role > RSC_ROLE_UNPROMOTED)) { next_role 154 lib/pacemaker/pcmk_output.c if(rsc->role == rsc->next_role) { next_role 160 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s -> %s %s", role2text(rsc->role), role2text(rsc->next_role), destination->details->uname); next_role 192 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s -> %s %s", role2text(rsc->role), role2text(rsc->next_role), origin->details->uname); next_role 196 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s %s -> %s %s", role2text(rsc->role), origin->details->uname, role2text(rsc->next_role), destination->details->uname); next_role 251 lib/pacemaker/pcmk_output.c || (rsc->next_role > RSC_ROLE_UNPROMOTED)) { next_role 259 lib/pacemaker/pcmk_output.c if(rsc->role == rsc->next_role) { next_role 274 lib/pacemaker/pcmk_output.c "next-role", role2text(rsc->next_role), next_role 323 lib/pacemaker/pcmk_output.c "next-role", role2text(rsc->next_role), next_role 332 lib/pacemaker/pcmk_output.c "next-role", role2text(rsc->next_role), next_role 945 lib/pacemaker/pcmk_output.c if (rsc->role == rsc->next_role) { next_role 1000 lib/pacemaker/pcmk_output.c && (rsc->next_role == RSC_ROLE_STOPPED next_role 1054 lib/pacemaker/pcmk_output.c } else if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 1059 lib/pacemaker/pcmk_output.c } else if (rsc->role == RSC_ROLE_STOPPED && rsc->next_role > RSC_ROLE_STOPPED) { next_role 533 lib/pacemaker/pcmk_sched_bundle.c && (replica->child->next_role < RSC_ROLE_PROMOTED)) { next_role 1012 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); next_role 1020 lib/pacemaker/pcmk_sched_clone.c if (filter != RSC_ROLE_UNKNOWN && next_role != filter) { next_role 897 lib/pacemaker/pcmk_sched_colocation.c && (constraint->dependent_role != dependent->next_role)) { next_role 902 lib/pacemaker/pcmk_sched_colocation.c dependent->id, role2text(dependent->next_role)); next_role 908 lib/pacemaker/pcmk_sched_colocation.c && (constraint->primary_role != primary->next_role)) { next_role 913 lib/pacemaker/pcmk_sched_colocation.c primary->id, role2text(primary->next_role)); next_role 919 lib/pacemaker/pcmk_sched_colocation.c && (constraint->dependent_role == dependent->next_role)) { next_role 927 lib/pacemaker/pcmk_sched_colocation.c && (constraint->primary_role == primary->next_role)) { next_role 1055 lib/pacemaker/pcmk_sched_colocation.c && (constraint->primary_role != primary->next_role)) { next_role 129 lib/pacemaker/pcmk_sched_group.c pe__set_next_role(rsc, group_data->first_child->next_role, next_role 624 lib/pacemaker/pcmk_sched_location.c if (need_role && (constraint->role_filter != rsc->next_role)) { next_role 627 lib/pacemaker/pcmk_sched_location.c constraint->id, rsc->id, role2text(rsc->next_role), next_role 563 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_STOPPED) { next_role 568 lib/pacemaker/pcmk_sched_native.c } else if(rsc->next_role > rsc->role next_role 572 lib/pacemaker/pcmk_sched_native.c rsc->id, role2text(rsc->role), role2text(rsc->next_role)); next_role 629 lib/pacemaker/pcmk_sched_native.c if (rsc->allocated_to && rsc->next_role != RSC_ROLE_STOPPED) { next_role 641 lib/pacemaker/pcmk_sched_native.c remote_node->details->id, role2text(rsc->next_role), next_role 747 lib/pacemaker/pcmk_sched_native.c ID(operation), rsc->id, role2text(rsc->next_role), node_uname); next_role 779 lib/pacemaker/pcmk_sched_native.c if (((rsc->next_role == RSC_ROLE_PROMOTED) && (role == NULL)) next_role 780 lib/pacemaker/pcmk_sched_native.c || (role != NULL && text2role(role) != rsc->next_role)) { next_role 796 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 799 lib/pacemaker/pcmk_sched_native.c } else if (rsc->next_role == RSC_ROLE_STOPPED) { next_role 819 lib/pacemaker/pcmk_sched_native.c role2text(rsc->next_role)); next_role 846 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 862 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 950 lib/pacemaker/pcmk_sched_native.c ID(operation), rsc->id, role2text(rsc->next_role)); next_role 962 lib/pacemaker/pcmk_sched_native.c if ((rsc->next_role == RSC_ROLE_STARTED) next_role 963 lib/pacemaker/pcmk_sched_native.c || (rsc->next_role == RSC_ROLE_UNPROMOTED)) { next_role 971 lib/pacemaker/pcmk_sched_native.c key, role, role2text(rsc->next_role), node_uname); next_role 1205 lib/pacemaker/pcmk_sched_native.c enum rsc_role_e next_role; next_role 1211 lib/pacemaker/pcmk_sched_native.c next_role = rsc_state_matrix[role][RSC_ROLE_STOPPED]; next_role 1214 lib/pacemaker/pcmk_sched_native.c role2text(role), role2text(next_role)); next_role 1215 lib/pacemaker/pcmk_sched_native.c if (!rsc_action_matrix[role][next_role](rsc, current, !need_stop, next_role 1219 lib/pacemaker/pcmk_sched_native.c role = next_role; next_role 1223 lib/pacemaker/pcmk_sched_native.c while ((rsc->role <= rsc->next_role) && (role != rsc->role) next_role 1227 lib/pacemaker/pcmk_sched_native.c next_role = rsc_state_matrix[role][rsc->role]; next_role 1228 lib/pacemaker/pcmk_sched_native.c if ((next_role == RSC_ROLE_PROMOTED) && need_promote) { next_role 1233 lib/pacemaker/pcmk_sched_native.c role2text(role), role2text(next_role)); next_role 1234 lib/pacemaker/pcmk_sched_native.c if (!rsc_action_matrix[role][next_role](rsc, chosen, !required, next_role 1238 lib/pacemaker/pcmk_sched_native.c role = next_role; next_role 1260 lib/pacemaker/pcmk_sched_native.c enum rsc_role_e next_role = RSC_ROLE_UNKNOWN; next_role 1266 lib/pacemaker/pcmk_sched_native.c next_role = rsc->next_role; next_role 1267 lib/pacemaker/pcmk_sched_native.c if (next_role == RSC_ROLE_UNKNOWN) { next_role 1273 lib/pacemaker/pcmk_sched_native.c rsc->id, role2text(rsc->role), role2text(rsc->next_role), next_role 1274 lib/pacemaker/pcmk_sched_native.c ((next_role == RSC_ROLE_UNKNOWN)? "implicit" : "explicit"), next_role 1383 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 1410 lib/pacemaker/pcmk_sched_native.c while (role != rsc->next_role) { next_role 1411 lib/pacemaker/pcmk_sched_native.c next_role = rsc_state_matrix[role][rsc->next_role]; next_role 1413 lib/pacemaker/pcmk_sched_native.c rsc->id, role2text(role), role2text(next_role), next_role 1414 lib/pacemaker/pcmk_sched_native.c role2text(rsc->next_role)); next_role 1415 lib/pacemaker/pcmk_sched_native.c if (rsc_action_matrix[role][next_role] (rsc, chosen, FALSE, data_set) == FALSE) { next_role 1418 lib/pacemaker/pcmk_sched_native.c role = next_role; next_role 1425 lib/pacemaker/pcmk_sched_native.c } else if ((rsc->next_role != RSC_ROLE_STOPPED) next_role 1428 lib/pacemaker/pcmk_sched_native.c ((rsc->next_role == RSC_ROLE_STOPPED)? "unmanaged" : "active"), next_role 1452 lib/pacemaker/pcmk_sched_native.c || rsc->next_role < RSC_ROLE_STARTED) { next_role 2031 lib/pacemaker/pcmk_sched_native.c && (rsc->next_role > RSC_ROLE_STOPPED) next_role 2425 lib/pacemaker/pcmk_sched_native.c || remote->next_role == RSC_ROLE_STOPPED next_role 883 lib/pacemaker/pcmk_sched_notif.c if ((rsc->next_role != RSC_ROLE_STOPPED) next_role 902 lib/pacemaker/pcmk_sched_notif.c role2text(rsc->next_role), rsc->id); next_role 400 lib/pacemaker/pcmk_sched_promotable.c && (child->next_role == RSC_ROLE_PROMOTED)) { next_role 655 lib/pacemaker/pcmk_sched_promotable.c if (rsc->next_role == RSC_ROLE_UNKNOWN) { next_role 671 lib/pacemaker/pcmk_sched_promotable.c enum rsc_role_e next_role = RSC_ROLE_UNKNOWN; next_role 692 lib/pacemaker/pcmk_sched_promotable.c role2text(child_rsc->next_role)); next_role 709 lib/pacemaker/pcmk_sched_promotable.c next_role = child_rsc->fns->state(child_rsc, FALSE); next_role 710 lib/pacemaker/pcmk_sched_promotable.c switch (next_role) { next_role 734 lib/pacemaker/pcmk_sched_promotable.c crm_err("Unknown resource role: %d for %s", next_role, child_rsc->id)); next_role 750 lib/pacemaker/pcmk_sched_promotable.c if (next_role == RSC_ROLE_PROMOTED) { next_role 797 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, role2text(child_rsc->role), role2text(child_rsc->next_role)); next_role 1005 lib/pacemaker/pcmk_sched_promotable.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, FALSE); next_role 1008 lib/pacemaker/pcmk_sched_promotable.c if ((chosen != NULL) && (next_role == constraint->primary_role)) { next_role 1010 lib/pacemaker/pcmk_sched_promotable.c role2text(next_role), chosen->details->uname, constraint->score); next_role 101 lib/pacemaker/pcmk_sched_remote.c if ((remote_rsc->next_role == RSC_ROLE_STOPPED) next_role 120 lib/pacemaker/pcmk_sched_remote.c if ((remote_rsc->next_role == RSC_ROLE_STOPPED) next_role 238 lib/pacemaker/pcmk_sched_remote.c } else if (remote_rsc->next_role == RSC_ROLE_STOPPED) { next_role 595 lib/pengine/complex.c (*rsc)->next_role = RSC_ROLE_UNKNOWN; next_role 837 lib/pengine/complex.c get_target_role(*rsc, &((*rsc)->next_role)); next_role 839 lib/pengine/complex.c (*rsc)->next_role != RSC_ROLE_UNKNOWN ? role2text((*rsc)->next_role) : "default"); next_role 1129 lib/pengine/complex.c if (rsc->next_role != role) { next_role 1131 lib/pengine/complex.c rsc->id, role2text(rsc->next_role), role2text(role), why); next_role 1132 lib/pengine/complex.c rsc->next_role = role; next_role 1037 lib/pengine/native.c enum rsc_role_e role = rsc->next_role; next_role 1482 lib/pengine/unpack.c if (rsc->role == RSC_ROLE_STARTED && rsc->next_role == RSC_ROLE_STOPPED) { next_role 2427 lib/pengine/unpack.c if (rsc->next_role == RSC_ROLE_UNKNOWN || req_role < rsc->next_role) { next_role 2430 lib/pengine/unpack.c } else if (req_role > rsc->next_role) { next_role 2433 lib/pengine/unpack.c rsc->id, role2text(rsc->next_role), role2text(req_role)); next_role 3099 lib/pengine/unpack.c if (action->fail_role != RSC_ROLE_STARTED && rsc->next_role < action->fail_role) { next_role 3950 lib/pengine/unpack.c role2text(rsc->next_role)); next_role 399 lib/pengine/utils.c if (rsc->next_role > RSC_ROLE_UNPROMOTED) { next_role 670 lib/pengine/utils.c || (action->rsc->next_role > action->rsc->role)) {