next_role 371 include/crm/pengine/pe_types.h enum rsc_role_e next_role; next_role 144 lib/pacemaker/pcmk_output.c || (rsc->next_role > RSC_ROLE_UNPROMOTED)) { next_role 152 lib/pacemaker/pcmk_output.c if(rsc->role == rsc->next_role) { next_role 158 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s -> %s %s", role2text(rsc->role), role2text(rsc->next_role), destination->details->uname); next_role 190 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s -> %s %s", role2text(rsc->role), role2text(rsc->next_role), origin->details->uname); next_role 194 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 249 lib/pacemaker/pcmk_output.c || (rsc->next_role > RSC_ROLE_UNPROMOTED)) { next_role 257 lib/pacemaker/pcmk_output.c if(rsc->role == rsc->next_role) { next_role 272 lib/pacemaker/pcmk_output.c "next-role", role2text(rsc->next_role), next_role 321 lib/pacemaker/pcmk_output.c "next-role", role2text(rsc->next_role), next_role 330 lib/pacemaker/pcmk_output.c "next-role", role2text(rsc->next_role), next_role 935 lib/pacemaker/pcmk_output.c if (rsc->role == rsc->next_role) { next_role 990 lib/pacemaker/pcmk_output.c && (rsc->next_role == RSC_ROLE_STOPPED next_role 1044 lib/pacemaker/pcmk_output.c } else if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 1049 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 1032 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); next_role 1040 lib/pacemaker/pcmk_sched_clone.c if (filter != RSC_ROLE_UNKNOWN && next_role != filter) { next_role 892 lib/pacemaker/pcmk_sched_colocation.c && (constraint->dependent_role != dependent->next_role)) { next_role 897 lib/pacemaker/pcmk_sched_colocation.c dependent->id, role2text(dependent->next_role)); next_role 903 lib/pacemaker/pcmk_sched_colocation.c && (constraint->primary_role != primary->next_role)) { next_role 908 lib/pacemaker/pcmk_sched_colocation.c primary->id, role2text(primary->next_role)); next_role 914 lib/pacemaker/pcmk_sched_colocation.c && (constraint->dependent_role == dependent->next_role)) { next_role 922 lib/pacemaker/pcmk_sched_colocation.c && (constraint->primary_role == primary->next_role)) { next_role 1049 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 564 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_STOPPED) { next_role 569 lib/pacemaker/pcmk_sched_native.c } else if(rsc->next_role > rsc->role next_role 573 lib/pacemaker/pcmk_sched_native.c rsc->id, role2text(rsc->role), role2text(rsc->next_role)); next_role 630 lib/pacemaker/pcmk_sched_native.c if (rsc->allocated_to && rsc->next_role != RSC_ROLE_STOPPED) { next_role 642 lib/pacemaker/pcmk_sched_native.c remote_node->details->id, role2text(rsc->next_role), next_role 748 lib/pacemaker/pcmk_sched_native.c ID(operation), rsc->id, role2text(rsc->next_role), node_uname); next_role 780 lib/pacemaker/pcmk_sched_native.c if (((rsc->next_role == RSC_ROLE_PROMOTED) && (role == NULL)) next_role 781 lib/pacemaker/pcmk_sched_native.c || (role != NULL && text2role(role) != rsc->next_role)) { next_role 797 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 800 lib/pacemaker/pcmk_sched_native.c } else if (rsc->next_role == RSC_ROLE_STOPPED) { next_role 820 lib/pacemaker/pcmk_sched_native.c role2text(rsc->next_role)); next_role 847 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 863 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 951 lib/pacemaker/pcmk_sched_native.c ID(operation), rsc->id, role2text(rsc->next_role)); next_role 963 lib/pacemaker/pcmk_sched_native.c if ((rsc->next_role == RSC_ROLE_STARTED) next_role 964 lib/pacemaker/pcmk_sched_native.c || (rsc->next_role == RSC_ROLE_UNPROMOTED)) { next_role 972 lib/pacemaker/pcmk_sched_native.c key, role, role2text(rsc->next_role), node_uname); next_role 1210 lib/pacemaker/pcmk_sched_native.c enum rsc_role_e next_role = RSC_ROLE_UNKNOWN; next_role 1214 lib/pacemaker/pcmk_sched_native.c next_role = rsc->next_role; next_role 1215 lib/pacemaker/pcmk_sched_native.c if (next_role == RSC_ROLE_UNKNOWN) { next_role 1221 lib/pacemaker/pcmk_sched_native.c rsc->id, role2text(rsc->role), role2text(rsc->next_role), next_role 1222 lib/pacemaker/pcmk_sched_native.c ((next_role == RSC_ROLE_UNKNOWN)? "implicit" : "explicit"), next_role 1318 lib/pacemaker/pcmk_sched_native.c if (rsc->next_role == RSC_ROLE_PROMOTED) { next_role 1343 lib/pacemaker/pcmk_sched_native.c next_role = rsc_state_matrix[role][RSC_ROLE_STOPPED]; next_role 1346 lib/pacemaker/pcmk_sched_native.c role2text(role), role2text(next_role)); next_role 1347 lib/pacemaker/pcmk_sched_native.c if (rsc_action_matrix[role][next_role] (rsc, current, !need_stop, data_set) == FALSE) { next_role 1350 lib/pacemaker/pcmk_sched_native.c role = next_role; next_role 1354 lib/pacemaker/pcmk_sched_native.c while ((rsc->role <= rsc->next_role) && (role != rsc->role) next_role 1358 lib/pacemaker/pcmk_sched_native.c next_role = rsc_state_matrix[role][rsc->role]; next_role 1359 lib/pacemaker/pcmk_sched_native.c if ((next_role == RSC_ROLE_PROMOTED) && need_promote) { next_role 1364 lib/pacemaker/pcmk_sched_native.c role2text(role), role2text(next_role)); next_role 1365 lib/pacemaker/pcmk_sched_native.c if (rsc_action_matrix[role][next_role](rsc, chosen, !required, next_role 1369 lib/pacemaker/pcmk_sched_native.c role = next_role; next_role 1374 lib/pacemaker/pcmk_sched_native.c while (role != rsc->next_role) { next_role 1375 lib/pacemaker/pcmk_sched_native.c next_role = rsc_state_matrix[role][rsc->next_role]; next_role 1377 lib/pacemaker/pcmk_sched_native.c rsc->id, role2text(role), role2text(next_role), next_role 1378 lib/pacemaker/pcmk_sched_native.c role2text(rsc->next_role)); next_role 1379 lib/pacemaker/pcmk_sched_native.c if (rsc_action_matrix[role][next_role] (rsc, chosen, FALSE, data_set) == FALSE) { next_role 1382 lib/pacemaker/pcmk_sched_native.c role = next_role; next_role 1389 lib/pacemaker/pcmk_sched_native.c } else if ((rsc->next_role != RSC_ROLE_STOPPED) next_role 1392 lib/pacemaker/pcmk_sched_native.c ((rsc->next_role == RSC_ROLE_STOPPED)? "unmanaged" : "active"), next_role 1416 lib/pacemaker/pcmk_sched_native.c || rsc->next_role < RSC_ROLE_STARTED) { next_role 2400 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 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 998 lib/pacemaker/pcmk_sched_promotable.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, FALSE); next_role 1001 lib/pacemaker/pcmk_sched_promotable.c if ((chosen != NULL) && (next_role == constraint->primary_role)) { next_role 1003 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 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 1028 lib/pengine/native.c enum rsc_role_e role = rsc->next_role; next_role 1475 lib/pengine/unpack.c if (rsc->role == RSC_ROLE_STARTED && rsc->next_role == RSC_ROLE_STOPPED) { next_role 2418 lib/pengine/unpack.c if (rsc->next_role == RSC_ROLE_UNKNOWN || req_role < rsc->next_role) { next_role 2421 lib/pengine/unpack.c } else if (req_role > rsc->next_role) { next_role 2424 lib/pengine/unpack.c rsc->id, role2text(rsc->next_role), role2text(req_role)); next_role 3094 lib/pengine/unpack.c if (action->fail_role != RSC_ROLE_STARTED && rsc->next_role < action->fail_role) { next_role 3924 lib/pengine/unpack.c role2text(rsc->next_role)); next_role 400 lib/pengine/utils.c if (rsc->next_role > RSC_ROLE_UNPROMOTED) { next_role 671 lib/pengine/utils.c || (action->rsc->next_role > action->rsc->role)) {