pe_action_optional 525 include/crm/pengine/internal.h pe_action_optional, FALSE) pe_action_optional 833 lib/pacemaker/pcmk_output.c } else if (pcmk_is_set(stop->flags, pe_action_optional)) { \ pe_action_optional 836 lib/pacemaker/pcmk_output.c CRM_ASSERT(!pcmk_is_set(stop->flags, pe_action_optional)); \ pe_action_optional 920 lib/pacemaker/pcmk_output.c } else if (start == NULL || pcmk_is_set(start->flags, pe_action_optional)) { pe_action_optional 922 lib/pacemaker/pcmk_output.c && !pcmk_is_set(demote->flags, pe_action_optional) pe_action_optional 923 lib/pacemaker/pcmk_output.c && !pcmk_is_set(promote->flags, pe_action_optional)) { pe_action_optional 1000 lib/pacemaker/pcmk_output.c } else if (stop != NULL && !pcmk_is_set(stop->flags, pe_action_optional)) { pe_action_optional 302 lib/pacemaker/pcmk_sched_allocate.c "resource definition change", pe_action_optional, TRUE); pe_action_optional 344 lib/pacemaker/pcmk_sched_allocate.c "resource definition change", pe_action_optional, TRUE); pe_action_optional 3030 lib/pacemaker/pcmk_sched_allocate.c pe_action_optional|pe_action_runnable) pe_action_optional 3070 lib/pacemaker/pcmk_sched_allocate.c } else if (pcmk_is_set(action->flags, pe_action_optional)) { pe_action_optional 763 lib/pacemaker/pcmk_sched_bundle.c pcmk_is_set(first_action->flags, pe_action_optional), pe_action_optional 765 lib/pacemaker/pcmk_sched_bundle.c pcmk_is_set(then_action->flags, pe_action_optional), pe_action_optional 775 lib/pacemaker/pcmk_sched_clone.c } else if (pcmk_is_set(action->flags, pe_action_optional)) { pe_action_optional 822 lib/pacemaker/pcmk_sched_clone.c if (!pcmk_is_set(op->flags, pe_action_optional)) { pe_action_optional 1269 lib/pacemaker/pcmk_sched_clone.c enum pe_action_flags flags = (pe_action_optional | pe_action_runnable | pe_action_pseudo); pe_action_optional 1282 lib/pacemaker/pcmk_sched_clone.c if (pcmk_is_set(flags, pe_action_optional) pe_action_optional 1283 lib/pacemaker/pcmk_sched_clone.c && !pcmk_is_set(child_flags, pe_action_optional)) { pe_action_optional 1286 lib/pacemaker/pcmk_sched_clone.c pe__clear_action_summary_flags(flags, action, pe_action_optional); pe_action_optional 1287 lib/pacemaker/pcmk_sched_clone.c pe__clear_action_flags(action, pe_action_optional); pe_action_optional 211 lib/pacemaker/pcmk_sched_graph.c first_flags & pe_action_optional, pe_action_optional, pe_action_optional 214 lib/pacemaker/pcmk_sched_graph.c } else if (!pcmk_is_set(first_flags, pe_action_optional)) { pe_action_optional 215 lib/pacemaker/pcmk_sched_graph.c if (update_action_flags(then, pe_action_optional | pe_action_clear, __func__, __LINE__)) { pe_action_optional 227 lib/pacemaker/pcmk_sched_graph.c enum pe_action_flags restart = (pe_action_optional | pe_action_runnable); pe_action_optional 244 lib/pacemaker/pcmk_sched_graph.c first_flags, pe_action_optional, pe_order_implies_first, pe_action_optional 247 lib/pacemaker/pcmk_sched_graph.c } else if (!pcmk_is_set(first_flags, pe_action_optional)) { pe_action_optional 249 lib/pacemaker/pcmk_sched_graph.c first->uuid, pcmk_is_set(first_flags, pe_action_optional), pe_action_optional 250 lib/pacemaker/pcmk_sched_graph.c then->uuid, pcmk_is_set(then_flags, pe_action_optional)); pe_action_optional 260 lib/pacemaker/pcmk_sched_graph.c first->uuid, pcmk_is_set(first_flags, pe_action_optional), pe_action_optional 261 lib/pacemaker/pcmk_sched_graph.c then->uuid, pcmk_is_set(then_flags, pe_action_optional)); pe_action_optional 269 lib/pacemaker/pcmk_sched_graph.c first_flags & pe_action_optional, pe_action_optional, pe_action_optional 360 lib/pacemaker/pcmk_sched_graph.c first_flags, pe_action_optional, pe_action_optional 374 lib/pacemaker/pcmk_sched_graph.c first_flags, pe_action_optional, pe_order_pseudo_left, pe_action_optional 414 lib/pacemaker/pcmk_sched_graph.c && (first_flags & pe_action_optional) == 0) { pe_action_optional 421 lib/pacemaker/pcmk_sched_graph.c && !pcmk_is_set(then_flags, pe_action_optional)) { pe_action_optional 530 lib/pacemaker/pcmk_sched_graph.c pcmk_is_set(then->flags, pe_action_optional)? "optional" : "required", pe_action_optional 596 lib/pacemaker/pcmk_sched_graph.c && !pcmk_is_set(then->flags, pe_action_optional)) { pe_action_optional 601 lib/pacemaker/pcmk_sched_graph.c pe__set_action_flags(other->action, pe_action_optional); pe_action_optional 621 lib/pacemaker/pcmk_sched_graph.c pcmk_is_set(then_flags, pe_action_optional)? "optional" : "required", pe_action_optional 626 lib/pacemaker/pcmk_sched_graph.c pcmk_is_set(first_flags, pe_action_optional)? "optional" : "required", pe_action_optional 673 lib/pacemaker/pcmk_sched_graph.c pcmk_is_set(first->flags, pe_action_optional)? "optional" : "required", pe_action_optional 697 lib/pacemaker/pcmk_sched_graph.c pcmk_is_set(then->flags, pe_action_optional)? "optional" : "required", pe_action_optional 752 lib/pacemaker/pcmk_sched_graph.c pe__clear_action_flags(action, pe_action_optional); pe_action_optional 1426 lib/pacemaker/pcmk_sched_graph.c } else if (pcmk_is_set(action->flags, pe_action_optional) pe_action_optional 1631 lib/pacemaker/pcmk_sched_graph.c } else if (pcmk_is_set(input->action->flags, pe_action_optional)) { pe_action_optional 1652 lib/pacemaker/pcmk_sched_graph.c } else if (pcmk_is_set(input->action->flags, pe_action_optional)) { pe_action_optional 1672 lib/pacemaker/pcmk_sched_graph.c } else if (pcmk_is_set(input->action->flags, pe_action_optional) pe_action_optional 1689 lib/pacemaker/pcmk_sched_graph.c pcmk_is_set(input->action->flags, pe_action_optional)? "optional" : "required", pe_action_optional 150 lib/pacemaker/pcmk_sched_group.c if (pcmk_is_set(action->flags, pe_action_optional)) { pe_action_optional 384 lib/pacemaker/pcmk_sched_group.c enum pe_action_flags flags = (pe_action_optional | pe_action_runnable | pe_action_pseudo); pe_action_optional 395 lib/pacemaker/pcmk_sched_group.c if (pcmk_is_set(flags, pe_action_optional) pe_action_optional 396 lib/pacemaker/pcmk_sched_group.c && !pcmk_is_set(child_flags, pe_action_optional)) { pe_action_optional 400 lib/pacemaker/pcmk_sched_group.c pe_action_optional); pe_action_optional 401 lib/pacemaker/pcmk_sched_group.c pe__clear_action_flags(action, pe_action_optional); pe_action_optional 122 lib/pacemaker/pcmk_sched_messages.c pe_action_optional pe_action_optional 764 lib/pacemaker/pcmk_sched_native.c pcmk_is_set(start->flags, pe_action_optional)? "optional" : "mandatory", pe_action_optional 766 lib/pacemaker/pcmk_sched_native.c is_optional = (rsc->cmds->action_flags(start, NULL) & pe_action_optional); pe_action_optional 856 lib/pacemaker/pcmk_sched_native.c } else if (!pcmk_is_set(mon->flags, pe_action_optional)) { pe_action_optional 1052 lib/pacemaker/pcmk_sched_native.c if (!pcmk_is_set(stop->flags, pe_action_optional)) { pe_action_optional 1079 lib/pacemaker/pcmk_sched_native.c update_action_flags(stopped_mon, pe_action_optional, __func__, pe_action_optional 1083 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(stopped_mon->flags, pe_action_optional)) { pe_action_optional 1095 lib/pacemaker/pcmk_sched_native.c && !pcmk_is_set(stopped_mon->flags, pe_action_optional)) { pe_action_optional 1348 lib/pacemaker/pcmk_sched_native.c if (!pcmk_is_set(start->flags, pe_action_optional)) { pe_action_optional 1596 lib/pacemaker/pcmk_sched_native.c update_action_flags(load_stopped, pe_action_optional | pe_action_clear, pe_action_optional 1612 lib/pacemaker/pcmk_sched_native.c update_action_flags(load_stopped, pe_action_optional | pe_action_clear, pe_action_optional 2088 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(filter, pe_action_optional) pe_action_optional 2089 lib/pacemaker/pcmk_sched_native.c && !pcmk_is_set(then->flags, pe_action_optional)) { pe_action_optional 2112 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_optional); pe_action_optional 2116 lib/pacemaker/pcmk_sched_native.c if (!pcmk_is_set(then->flags, pe_action_optional)) { pe_action_optional 2117 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_optional); pe_action_optional 2126 lib/pacemaker/pcmk_sched_native.c if (!pcmk_is_set(first->flags, pe_action_optional) pe_action_optional 2157 lib/pacemaker/pcmk_sched_native.c && pcmk_is_set(then->flags, pe_action_optional) pe_action_optional 2169 lib/pacemaker/pcmk_sched_native.c pe_action_implies(then, first, pe_action_optional); pe_action_optional 2179 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(filter, pe_action_optional) pe_action_optional 2180 lib/pacemaker/pcmk_sched_native.c && !pcmk_is_set(flags /* Should be then_flags? */, pe_action_optional)) { pe_action_optional 2183 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_optional); pe_action_optional 2188 lib/pacemaker/pcmk_sched_native.c !pcmk_is_set(then->flags, pe_action_optional)) { pe_action_optional 2197 lib/pacemaker/pcmk_sched_native.c if ((filter & pe_action_optional) && pe_action_optional 2198 lib/pacemaker/pcmk_sched_native.c ((then->flags & pe_action_optional) == FALSE) && pe_action_optional 2200 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_optional); pe_action_optional 2213 lib/pacemaker/pcmk_sched_native.c && pcmk_is_set(filter, pe_action_optional)) { pe_action_optional 2222 lib/pacemaker/pcmk_sched_native.c if ((then->flags & pe_action_optional) == 0) { pe_action_optional 2224 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_optional); pe_action_optional 2229 lib/pacemaker/pcmk_sched_native.c && pcmk_is_set(filter, pe_action_optional)) { pe_action_optional 2249 lib/pacemaker/pcmk_sched_native.c && pcmk_is_set(filter, pe_action_optional) pe_action_optional 2250 lib/pacemaker/pcmk_sched_native.c && pcmk_is_set(then->flags, pe_action_optional) pe_action_optional 2251 lib/pacemaker/pcmk_sched_native.c && !pcmk_is_set(flags, pe_action_optional)) { pe_action_optional 2256 lib/pacemaker/pcmk_sched_native.c pe_action_implies(then, first, pe_action_optional); pe_action_optional 2374 lib/pacemaker/pcmk_sched_native.c } else if (pcmk_is_set(stop->flags, pe_action_optional)) { \ pe_action_optional 2377 lib/pacemaker/pcmk_sched_native.c CRM_ASSERT(!pcmk_is_set(stop->flags, pe_action_optional)); \ pe_action_optional 2524 lib/pacemaker/pcmk_sched_native.c update_action_flags(start, pe_action_optional | pe_action_clear, pe_action_optional 2811 lib/pacemaker/pcmk_sched_native.c update_action_flags(probe, pe_action_optional | pe_action_clear, __func__, pe_action_optional 237 lib/pacemaker/pcmk_sched_notif.c pcmk_is_set(op->flags, pe_action_optional), pe_action_optional 317 lib/pacemaker/pcmk_sched_notif.c pcmk_is_set(start->flags, pe_action_optional), pe_action_optional 333 lib/pacemaker/pcmk_sched_notif.c pcmk_is_set(start->flags, pe_action_optional), pe_action_optional 355 lib/pacemaker/pcmk_sched_notif.c pcmk_is_set(end->flags, pe_action_optional), pe_action_optional 378 lib/pacemaker/pcmk_sched_notif.c pcmk_is_set(end->flags, pe_action_optional), pe_action_optional 473 lib/pacemaker/pcmk_sched_notif.c if (!pcmk_is_set(op->flags, pe_action_optional) pe_action_optional 616 lib/pacemaker/pcmk_sched_notif.c update_action_flags(n_data->pre, pe_action_optional | pe_action_clear, pe_action_optional 618 lib/pacemaker/pcmk_sched_notif.c update_action_flags(n_data->pre_done, pe_action_optional | pe_action_clear, pe_action_optional 623 lib/pacemaker/pcmk_sched_notif.c update_action_flags(n_data->post, pe_action_optional | pe_action_clear, pe_action_optional 625 lib/pacemaker/pcmk_sched_notif.c update_action_flags(n_data->post_done, pe_action_optional | pe_action_clear, pe_action_optional 675 lib/pacemaker/pcmk_sched_notif.c if (!pcmk_is_set(op->flags, pe_action_optional) pe_action_optional 746 lib/pacemaker/pcmk_sched_notif.c || pcmk_is_set(stop->flags, pe_action_optional)) { pe_action_optional 775 lib/pacemaker/pcmk_sched_notif.c || pcmk_is_set(start->flags, pe_action_optional)) { pe_action_optional 120 lib/pacemaker/pcmk_sched_promotable.c } else if (pcmk_is_set(action->flags, pe_action_optional)) { pe_action_optional 317 lib/pacemaker/pcmk_sched_utils.c update_action_flags(op, pe_action_optional | pe_action_clear, pe_action_optional 385 lib/pacemaker/pcmk_sched_utils.c } else if (pcmk_is_set(action->flags, pe_action_optional)) { pe_action_optional 403 lib/pacemaker/pcmk_sched_utils.c if (pcmk_is_set(action->flags, pe_action_optional)) { pe_action_optional 2189 lib/pengine/unpack.c pe__set_action_flags(stop, pe_action_optional); pe_action_optional 484 lib/pengine/utils.c pe__set_action_flags(action, pe_action_optional); pe_action_optional 486 lib/pengine/utils.c pe__clear_action_flags(action, pe_action_optional); pe_action_optional 514 lib/pengine/utils.c if (!optional && pcmk_is_set(action->flags, pe_action_optional)) { pe_action_optional 515 lib/pengine/utils.c pe__clear_action_flags(action, pe_action_optional); pe_action_optional 557 lib/pengine/utils.c pe__set_action_flags(action, pe_action_optional); pe_action_optional 2225 lib/pengine/utils.c } else if (pcmk_is_set(flags, pe_action_optional)) { pe_action_optional 1540 tools/crm_resource_runtime.c if (pcmk_any_flags_set(action->flags, pe_action_optional|pe_action_pseudo) pe_action_optional 541 tools/crm_simulate.c } else if (pcmk_is_set(action->flags, pe_action_optional)) {