next_role 372 include/crm/pengine/pe_types.h enum rsc_role_e next_role; next_role 142 lib/pacemaker/pcmk_output.c || (rsc->next_role > RSC_ROLE_UNPROMOTED)) { next_role 150 lib/pacemaker/pcmk_output.c if(rsc->role == rsc->next_role) { next_role 156 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s -> %s %s", role2text(rsc->role), role2text(rsc->next_role), destination->details->uname); next_role 188 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s -> %s %s", role2text(rsc->role), role2text(rsc->next_role), origin->details->uname); next_role 192 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 247 lib/pacemaker/pcmk_output.c || (rsc->next_role > RSC_ROLE_UNPROMOTED)) { next_role 255 lib/pacemaker/pcmk_output.c if(rsc->role == rsc->next_role) { next_role 270 lib/pacemaker/pcmk_output.c "next-role", role2text(rsc->next_role), next_role 319 lib/pacemaker/pcmk_output.c "next-role", role2text(rsc->next_role), next_role 328 lib/pacemaker/pcmk_output.c "next-role", role2text(rsc->next_role), next_role 902 lib/pacemaker/pcmk_output.c if (rsc->role == rsc->next_role) { next_role 957 lib/pacemaker/pcmk_output.c && (rsc->next_role == RSC_ROLE_STOPPED next_role 1011 lib/pacemaker/pcmk_output.c } else if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 1016 lib/pacemaker/pcmk_output.c } else if (rsc->role == RSC_ROLE_STOPPED && rsc->next_role > RSC_ROLE_STOPPED) { next_role 2025 lib/pacemaker/pcmk_sched_allocate.c if(remote_rsc->next_role == RSC_ROLE_STOPPED || remote_rsc->allocated_to == NULL) { next_role 2042 lib/pacemaker/pcmk_sched_allocate.c if ((remote_rsc->next_role == RSC_ROLE_STOPPED) next_role 2144 lib/pacemaker/pcmk_sched_allocate.c } else if(remote_rsc->next_role == RSC_ROLE_STOPPED) { next_role 547 lib/pacemaker/pcmk_sched_bundle.c && (replica->child->next_role < RSC_ROLE_PROMOTED)) { next_role 1049 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); next_role 1057 lib/pacemaker/pcmk_sched_clone.c if (filter != RSC_ROLE_UNKNOWN && next_role != filter) { next_role 126 lib/pacemaker/pcmk_sched_group.c pe__set_next_role(rsc, group_data->first_child->next_role, next_role 576 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_STOPPED) { next_role 581 lib/pacemaker/pcmk_sched_native.c } else if(rsc->next_role > rsc->role next_role 585 lib/pacemaker/pcmk_sched_native.c rsc->id, role2text(rsc->role), role2text(rsc->next_role)); next_role 642 lib/pacemaker/pcmk_sched_native.c if (rsc->allocated_to && rsc->next_role != RSC_ROLE_STOPPED) { next_role 654 lib/pacemaker/pcmk_sched_native.c remote_node->details->id, role2text(rsc->next_role), next_role 760 lib/pacemaker/pcmk_sched_native.c ID(operation), rsc->id, role2text(rsc->next_role), node_uname); next_role 792 lib/pacemaker/pcmk_sched_native.c if (((rsc->next_role == RSC_ROLE_PROMOTED) && (role == NULL)) next_role 793 lib/pacemaker/pcmk_sched_native.c || (role != NULL && text2role(role) != rsc->next_role)) { next_role 809 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 812 lib/pacemaker/pcmk_sched_native.c } else if (rsc->next_role == RSC_ROLE_STOPPED) { next_role 832 lib/pacemaker/pcmk_sched_native.c role2text(rsc->next_role)); next_role 859 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 875 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 963 lib/pacemaker/pcmk_sched_native.c ID(operation), rsc->id, role2text(rsc->next_role)); next_role 975 lib/pacemaker/pcmk_sched_native.c if ((rsc->next_role == RSC_ROLE_STARTED) next_role 976 lib/pacemaker/pcmk_sched_native.c || (rsc->next_role == RSC_ROLE_UNPROMOTED)) { next_role 984 lib/pacemaker/pcmk_sched_native.c key, role, role2text(rsc->next_role), node_uname); next_role 1222 lib/pacemaker/pcmk_sched_native.c enum rsc_role_e next_role = RSC_ROLE_UNKNOWN; next_role 1226 lib/pacemaker/pcmk_sched_native.c next_role = rsc->next_role; next_role 1227 lib/pacemaker/pcmk_sched_native.c if (next_role == RSC_ROLE_UNKNOWN) { next_role 1233 lib/pacemaker/pcmk_sched_native.c rsc->id, role2text(rsc->role), role2text(rsc->next_role), next_role 1234 lib/pacemaker/pcmk_sched_native.c ((next_role == RSC_ROLE_UNKNOWN)? "implicit" : "explicit"), next_role 1330 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 1355 lib/pacemaker/pcmk_sched_native.c next_role = rsc_state_matrix[role][RSC_ROLE_STOPPED]; next_role 1358 lib/pacemaker/pcmk_sched_native.c role2text(role), role2text(next_role)); next_role 1359 lib/pacemaker/pcmk_sched_native.c if (rsc_action_matrix[role][next_role] (rsc, current, !need_stop, data_set) == FALSE) { next_role 1362 lib/pacemaker/pcmk_sched_native.c role = next_role; next_role 1366 lib/pacemaker/pcmk_sched_native.c while ((rsc->role <= rsc->next_role) && (role != rsc->role) next_role 1370 lib/pacemaker/pcmk_sched_native.c next_role = rsc_state_matrix[role][rsc->role]; next_role 1371 lib/pacemaker/pcmk_sched_native.c if ((next_role == RSC_ROLE_PROMOTED) && need_promote) { next_role 1376 lib/pacemaker/pcmk_sched_native.c role2text(role), role2text(next_role)); next_role 1377 lib/pacemaker/pcmk_sched_native.c if (rsc_action_matrix[role][next_role](rsc, chosen, !required, next_role 1381 lib/pacemaker/pcmk_sched_native.c role = next_role; next_role 1386 lib/pacemaker/pcmk_sched_native.c while (role != rsc->next_role) { next_role 1387 lib/pacemaker/pcmk_sched_native.c next_role = rsc_state_matrix[role][rsc->next_role]; next_role 1389 lib/pacemaker/pcmk_sched_native.c rsc->id, role2text(role), role2text(next_role), next_role 1390 lib/pacemaker/pcmk_sched_native.c role2text(rsc->next_role)); next_role 1391 lib/pacemaker/pcmk_sched_native.c if (rsc_action_matrix[role][next_role] (rsc, chosen, FALSE, data_set) == FALSE) { next_role 1394 lib/pacemaker/pcmk_sched_native.c role = next_role; next_role 1401 lib/pacemaker/pcmk_sched_native.c } else if ((rsc->next_role != RSC_ROLE_STOPPED) next_role 1404 lib/pacemaker/pcmk_sched_native.c ((rsc->next_role == RSC_ROLE_STOPPED)? "unmanaged" : "active"), next_role 1428 lib/pacemaker/pcmk_sched_native.c || rsc->next_role < RSC_ROLE_STARTED) { next_role 1781 lib/pacemaker/pcmk_sched_native.c && constraint->role_lh != RSC_ROLE_UNKNOWN && constraint->role_lh != rsc_lh->next_role) { next_role 1783 lib/pacemaker/pcmk_sched_native.c role2text(constraint->role_lh), role2text(rsc_lh->next_role)); next_role 1788 lib/pacemaker/pcmk_sched_native.c && constraint->role_rh != RSC_ROLE_UNKNOWN && constraint->role_rh != rsc_rh->next_role) { next_role 1794 lib/pacemaker/pcmk_sched_native.c && constraint->role_lh != RSC_ROLE_UNKNOWN && constraint->role_lh == rsc_lh->next_role) { next_role 1801 lib/pacemaker/pcmk_sched_native.c && constraint->role_rh != RSC_ROLE_UNKNOWN && constraint->role_rh == rsc_rh->next_role) { next_role 1838 lib/pacemaker/pcmk_sched_native.c if (constraint->role_rh && (constraint->role_rh != rsc_rh->next_role)) { next_role 2297 lib/pacemaker/pcmk_sched_native.c if (need_role && (constraint->role_filter != rsc->next_role)) { next_role 2300 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc->id, role2text(rsc->next_role), next_role 2785 lib/pacemaker/pcmk_sched_native.c || remote->next_role == RSC_ROLE_STOPPED next_role 681 lib/pacemaker/pcmk_sched_notif.c n_data->action, rsc->id, role2text(rsc->role), role2text(rsc->next_role)); next_role 688 lib/pacemaker/pcmk_sched_notif.c n_data->action, rsc->id, role2text(rsc->role), role2text(rsc->next_role)); next_role 695 lib/pacemaker/pcmk_sched_notif.c n_data->action, rsc->id, role2text(rsc->role), role2text(rsc->next_role)); next_role 707 lib/pacemaker/pcmk_sched_notif.c n_data->action, rsc->id, role2text(rsc->role), role2text(rsc->next_role)); next_role 738 lib/pacemaker/pcmk_sched_notif.c if (rsc->next_role != RSC_ROLE_STOPPED) { next_role 740 lib/pacemaker/pcmk_sched_notif.c pe_proc_err("Next role '%s' but %s is not allocated", role2text(rsc->next_role), next_role 390 lib/pacemaker/pcmk_sched_promotable.c && (child->next_role == RSC_ROLE_PROMOTED)) { next_role 647 lib/pacemaker/pcmk_sched_promotable.c if (rsc->next_role == RSC_ROLE_UNKNOWN) { next_role 667 lib/pacemaker/pcmk_sched_promotable.c enum rsc_role_e next_role = RSC_ROLE_UNKNOWN; next_role 688 lib/pacemaker/pcmk_sched_promotable.c role2text(child_rsc->next_role)); next_role 705 lib/pacemaker/pcmk_sched_promotable.c next_role = child_rsc->fns->state(child_rsc, FALSE); next_role 706 lib/pacemaker/pcmk_sched_promotable.c switch (next_role) { next_role 730 lib/pacemaker/pcmk_sched_promotable.c crm_err("Unknown resource role: %d for %s", next_role, child_rsc->id)); next_role 746 lib/pacemaker/pcmk_sched_promotable.c if (next_role == RSC_ROLE_PROMOTED) { next_role 793 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, role2text(child_rsc->role), role2text(child_rsc->next_role)); next_role 986 lib/pacemaker/pcmk_sched_promotable.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, FALSE); next_role 989 lib/pacemaker/pcmk_sched_promotable.c if (chosen != NULL && next_role == constraint->role_rh) { next_role 991 lib/pacemaker/pcmk_sched_promotable.c role2text(next_role), chosen->details->uname, constraint->score); next_role 595 lib/pengine/complex.c (*rsc)->next_role = RSC_ROLE_UNKNOWN; next_role 827 lib/pengine/complex.c get_target_role(*rsc, &((*rsc)->next_role)); next_role 829 lib/pengine/complex.c (*rsc)->next_role != RSC_ROLE_UNKNOWN ? role2text((*rsc)->next_role) : "default"); next_role 1119 lib/pengine/complex.c if (rsc->next_role != role) { next_role 1121 lib/pengine/complex.c rsc->id, role2text(rsc->next_role), role2text(role), why); next_role 1122 lib/pengine/complex.c rsc->next_role = role; next_role 1031 lib/pengine/native.c enum rsc_role_e role = rsc->next_role; next_role 1481 lib/pengine/unpack.c if (rsc->role == RSC_ROLE_STARTED && rsc->next_role == RSC_ROLE_STOPPED) { next_role 2421 lib/pengine/unpack.c if (rsc->next_role == RSC_ROLE_UNKNOWN || req_role < rsc->next_role) { next_role 2424 lib/pengine/unpack.c } else if (req_role > rsc->next_role) { next_role 2427 lib/pengine/unpack.c rsc->id, role2text(rsc->next_role), role2text(req_role)); next_role 3097 lib/pengine/unpack.c if (action->fail_role != RSC_ROLE_STARTED && rsc->next_role < action->fail_role) { next_role 3918 lib/pengine/unpack.c role2text(rsc->next_role)); next_role 400 lib/pengine/utils.c if (rsc->next_role > RSC_ROLE_UNPROMOTED) { next_role 621 lib/pengine/utils.c if (rsc->fns->active(rsc, TRUE) == FALSE || rsc->next_role > rsc->role) {