RSC_DEMOTE 1881 lib/pacemaker/pcmk_sched_allocate.c } else if (lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_SLAVE && pcmk__str_eq(op_type, RSC_DEMOTE, pcmk__str_casei)) { RSC_DEMOTE 2530 lib/pacemaker/pcmk_sched_allocate.c then_actions = pe__resource_actions(after->rsc, NULL, RSC_DEMOTE, FALSE); RSC_DEMOTE 242 lib/pacemaker/pcmk_sched_bundle.c create_pseudo_resource_op(rsc, RSC_DEMOTE, TRUE, TRUE, data_set); RSC_DEMOTE 345 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(rsc, RSC_DEMOTE, bundle_data->child, RSC_DEMOTE, RSC_DEMOTE 723 lib/pacemaker/pcmk_sched_bundle.c && !pcmk__str_any_of(first_task, RSC_STOP, RSC_DEMOTE, NULL)) { RSC_DEMOTE 738 lib/pacemaker/pcmk_sched_bundle.c && !pcmk__str_any_of(then->task, RSC_STOP, RSC_DEMOTE, NULL)) { RSC_DEMOTE 128 lib/pacemaker/pcmk_sched_constraints.c return RSC_DEMOTE; RSC_DEMOTE 130 lib/pacemaker/pcmk_sched_constraints.c } else if (pcmk__str_eq(action, RSC_DEMOTE, pcmk__str_casei)) { RSC_DEMOTE 1550 lib/pacemaker/pcmk_sched_constraints.c } else if (pcmk__str_eq(lh_task, RSC_DEMOTE, pcmk__str_casei) && pcmk__str_eq(rh_task, RSC_STOP, pcmk__str_casei)) { RSC_DEMOTE 1556 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(order->lh_rsc, pcmk__op_key(order->lh_rsc->id, RSC_DEMOTE, 0), NULL, RSC_DEMOTE 1564 lib/pacemaker/pcmk_sched_constraints.c pcmk__op_key(order->lh_rsc->id, RSC_DEMOTE, 0), RSC_DEMOTE 1884 lib/pacemaker/pcmk_sched_constraints.c if(pcmk__str_eq(RSC_STOP, action_1, pcmk__str_casei) || pcmk__str_eq(RSC_DEMOTE, action_1, pcmk__str_casei)) { RSC_DEMOTE 112 lib/pacemaker/pcmk_sched_group.c op = custom_action(rsc, demote_key(rsc), RSC_DEMOTE, NULL, TRUE, TRUE, data_set); RSC_DEMOTE 200 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_DEMOTE, child_rsc, RSC_DEMOTE, RSC_DEMOTE 203 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_DEMOTE, rsc, RSC_DEMOTED, stopped, data_set); RSC_DEMOTE 234 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_DEMOTE, last_rsc, RSC_DEMOTE, pe_order_optional, RSC_DEMOTE 277 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_DEMOTE, last_rsc, RSC_DEMOTE, stop_stop_flags, data_set); RSC_DEMOTE 278 lib/pacemaker/pcmk_sched_group.c new_rsc_order(last_rsc, RSC_DEMOTE, rsc, RSC_DEMOTED, stop_stopped_flags, data_set); RSC_DEMOTE 707 lib/pacemaker/pcmk_sched_native.c return pcmk__strcase_any_of(name, RSC_STOP, RSC_START, RSC_DEMOTE, RSC_PROMOTE, NULL); RSC_DEMOTE 1520 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, pcmk__op_key(rsc->id, RSC_DEMOTE, 0), NULL, RSC_DEMOTE 2587 lib/pacemaker/pcmk_sched_native.c possible_matches = pe__resource_actions(rsc, next, RSC_DEMOTE, FALSE); RSC_DEMOTE 3354 lib/pacemaker/pcmk_sched_native.c action_list = pe__resource_actions(rsc, target, RSC_DEMOTE, FALSE); RSC_DEMOTE 554 lib/pacemaker/pcmk_sched_notif.c && pcmk__str_eq(n_data->action, RSC_DEMOTE, pcmk__str_casei)) { RSC_DEMOTE 65 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(rsc, RSC_DEMOTE, last, RSC_DEMOTE, pe_order_optional, data_set); RSC_DEMOTE 71 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(child, RSC_DEMOTE, rsc, RSC_DEMOTED, pe_order_implies_then_printed, data_set); RSC_DEMOTE 74 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(rsc, RSC_DEMOTE, child, RSC_DEMOTE, pe_order_implies_first_printed, data_set); RSC_DEMOTE 80 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(child, RSC_DEMOTE, last, RSC_DEMOTE, type, data_set); RSC_DEMOTE 85 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(child, RSC_DEMOTE, rsc, RSC_DEMOTED, type, data_set); RSC_DEMOTE 121 lib/pacemaker/pcmk_sched_promotable.c } else if (pcmk__str_eq(RSC_DEMOTE, action->task, pcmk__str_casei)) { RSC_DEMOTE 866 lib/pacemaker/pcmk_sched_promotable.c action = create_pseudo_resource_op(rsc, RSC_DEMOTE, !any_demoting, TRUE, data_set); RSC_DEMOTE 874 lib/pacemaker/pcmk_sched_promotable.c create_notification_boundaries(rsc, RSC_DEMOTE, action, action_complete, data_set); RSC_DEMOTE 922 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(rsc, RSC_DEMOTE, rsc, RSC_DEMOTED, pe_order_optional, data_set); RSC_DEMOTE 944 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(child_rsc, RSC_DEMOTE, child_rsc, RSC_PROMOTE, pe_order_optional, data_set);