pe_action_optional 507 include/crm/pengine/internal.h pe_action_optional, FALSE) pe_action_optional 834 lib/pacemaker/pcmk_output.c } else if (pcmk_is_set(stop->flags, pe_action_optional)) { \ pe_action_optional 837 lib/pacemaker/pcmk_output.c CRM_ASSERT(!pcmk_is_set(stop->flags, pe_action_optional)); \ pe_action_optional 921 lib/pacemaker/pcmk_output.c } else if (start == NULL || pcmk_is_set(start->flags, pe_action_optional)) { pe_action_optional 923 lib/pacemaker/pcmk_output.c && !pcmk_is_set(demote->flags, pe_action_optional) pe_action_optional 924 lib/pacemaker/pcmk_output.c && !pcmk_is_set(promote->flags, pe_action_optional)) { pe_action_optional 1001 lib/pacemaker/pcmk_output.c } else if (stop != NULL && !pcmk_is_set(stop->flags, pe_action_optional)) { pe_action_optional 274 lib/pacemaker/pcmk_sched_allocate.c "resource definition change", pe_action_optional, TRUE); pe_action_optional 316 lib/pacemaker/pcmk_sched_allocate.c "resource definition change", pe_action_optional, TRUE); pe_action_optional 3000 lib/pacemaker/pcmk_sched_allocate.c pe_action_optional|pe_action_runnable) pe_action_optional 3040 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 1268 lib/pacemaker/pcmk_sched_clone.c enum pe_action_flags flags = (pe_action_optional | pe_action_runnable | pe_action_pseudo); pe_action_optional 1281 lib/pacemaker/pcmk_sched_clone.c if (pcmk_is_set(flags, pe_action_optional) pe_action_optional 1282 lib/pacemaker/pcmk_sched_clone.c && !pcmk_is_set(child_flags, pe_action_optional)) { pe_action_optional 1285 lib/pacemaker/pcmk_sched_clone.c pe__clear_action_summary_flags(flags, action, pe_action_optional); pe_action_optional 1286 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 && pcmk_is_set(then->flags, pe_action_optional)) { pe_action_optional 216 lib/pacemaker/pcmk_sched_graph.c pe__clear_action_flags(then, pe_action_optional); 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 261 lib/pacemaker/pcmk_sched_graph.c first->uuid, pcmk_is_set(first_flags, pe_action_optional), pe_action_optional 262 lib/pacemaker/pcmk_sched_graph.c then->uuid, pcmk_is_set(then_flags, pe_action_optional)); pe_action_optional 270 lib/pacemaker/pcmk_sched_graph.c first_flags & pe_action_optional, pe_action_optional, pe_action_optional 362 lib/pacemaker/pcmk_sched_graph.c first_flags, pe_action_optional, pe_action_optional 376 lib/pacemaker/pcmk_sched_graph.c first_flags, pe_action_optional, pe_order_pseudo_left, pe_action_optional 416 lib/pacemaker/pcmk_sched_graph.c && (first_flags & pe_action_optional) == 0) { pe_action_optional 424 lib/pacemaker/pcmk_sched_graph.c && !pcmk_is_set(then_flags, pe_action_optional)) { pe_action_optional 535 lib/pacemaker/pcmk_sched_graph.c pcmk_is_set(then->flags, pe_action_optional)? "optional" : "required", pe_action_optional 601 lib/pacemaker/pcmk_sched_graph.c && !pcmk_is_set(then->flags, pe_action_optional)) { pe_action_optional 606 lib/pacemaker/pcmk_sched_graph.c pe__set_action_flags(other->action, pe_action_optional); pe_action_optional 626 lib/pacemaker/pcmk_sched_graph.c pcmk_is_set(then_flags, pe_action_optional)? "optional" : "required", pe_action_optional 631 lib/pacemaker/pcmk_sched_graph.c pcmk_is_set(first_flags, pe_action_optional)? "optional" : "required", pe_action_optional 678 lib/pacemaker/pcmk_sched_graph.c pcmk_is_set(first->flags, pe_action_optional)? "optional" : "required", pe_action_optional 702 lib/pacemaker/pcmk_sched_graph.c pcmk_is_set(then->flags, pe_action_optional)? "optional" : "required", pe_action_optional 757 lib/pacemaker/pcmk_sched_graph.c pe__clear_action_flags(action, pe_action_optional); pe_action_optional 1431 lib/pacemaker/pcmk_sched_graph.c } else if (pcmk_is_set(action->flags, pe_action_optional) pe_action_optional 1636 lib/pacemaker/pcmk_sched_graph.c } else if (pcmk_is_set(input->action->flags, pe_action_optional)) { pe_action_optional 1657 lib/pacemaker/pcmk_sched_graph.c } else if (pcmk_is_set(input->action->flags, pe_action_optional)) { pe_action_optional 1677 lib/pacemaker/pcmk_sched_graph.c } else if (pcmk_is_set(input->action->flags, pe_action_optional) pe_action_optional 1694 lib/pacemaker/pcmk_sched_graph.c pcmk_is_set(input->action->flags, pe_action_optional)? "optional" : "required", pe_action_optional 204 lib/pacemaker/pcmk_sched_group.c if (pcmk_is_set(action->flags, pe_action_optional)) { pe_action_optional 428 lib/pacemaker/pcmk_sched_group.c enum pe_action_flags flags = (pe_action_optional | pe_action_runnable | pe_action_pseudo); pe_action_optional 439 lib/pacemaker/pcmk_sched_group.c if (pcmk_is_set(flags, pe_action_optional) pe_action_optional 440 lib/pacemaker/pcmk_sched_group.c && !pcmk_is_set(child_flags, pe_action_optional)) { pe_action_optional 444 lib/pacemaker/pcmk_sched_group.c pe_action_optional); pe_action_optional 445 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 854 lib/pacemaker/pcmk_sched_native.c } else if (!pcmk_is_set(mon->flags, pe_action_optional)) { pe_action_optional 1050 lib/pacemaker/pcmk_sched_native.c if (!pcmk_is_set(stop->flags, pe_action_optional)) { pe_action_optional 1076 lib/pacemaker/pcmk_sched_native.c pe__set_action_flags(stopped_mon, pe_action_optional); pe_action_optional 1079 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(stopped_mon->flags, pe_action_optional)) { pe_action_optional 1090 lib/pacemaker/pcmk_sched_native.c && !pcmk_is_set(stopped_mon->flags, pe_action_optional)) { pe_action_optional 1343 lib/pacemaker/pcmk_sched_native.c if (!pcmk_is_set(start->flags, pe_action_optional)) { pe_action_optional 1591 lib/pacemaker/pcmk_sched_native.c pe__clear_action_flags(load_stopped, pe_action_optional); pe_action_optional 1606 lib/pacemaker/pcmk_sched_native.c pe__clear_action_flags(load_stopped, pe_action_optional); pe_action_optional 2081 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(filter, pe_action_optional) pe_action_optional 2082 lib/pacemaker/pcmk_sched_native.c && !pcmk_is_set(then->flags, pe_action_optional)) { pe_action_optional 2105 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_optional); pe_action_optional 2109 lib/pacemaker/pcmk_sched_native.c if (!pcmk_is_set(then->flags, pe_action_optional)) { pe_action_optional 2110 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_optional); pe_action_optional 2119 lib/pacemaker/pcmk_sched_native.c if (!pcmk_is_set(first->flags, pe_action_optional) pe_action_optional 2150 lib/pacemaker/pcmk_sched_native.c && pcmk_is_set(then->flags, pe_action_optional) pe_action_optional 2162 lib/pacemaker/pcmk_sched_native.c pe_action_implies(then, first, pe_action_optional); pe_action_optional 2172 lib/pacemaker/pcmk_sched_native.c && !pcmk_is_set(then_flags, pe_action_optional)) { pe_action_optional 2175 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(filter, pe_action_optional) pe_action_optional 2176 lib/pacemaker/pcmk_sched_native.c && !pcmk_is_set(flags, pe_action_optional) pe_action_optional 2177 lib/pacemaker/pcmk_sched_native.c && pcmk_is_set(first_flags, pe_action_optional)) { pe_action_optional 2181 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_optional); pe_action_optional 2194 lib/pacemaker/pcmk_sched_native.c if ((filter & pe_action_optional) && pe_action_optional 2195 lib/pacemaker/pcmk_sched_native.c ((then->flags & pe_action_optional) == FALSE) && pe_action_optional 2197 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_optional); pe_action_optional 2212 lib/pacemaker/pcmk_sched_native.c && pcmk_is_set(filter, pe_action_optional)) { pe_action_optional 2221 lib/pacemaker/pcmk_sched_native.c if ((then->flags & pe_action_optional) == 0) { pe_action_optional 2223 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_optional); pe_action_optional 2228 lib/pacemaker/pcmk_sched_native.c && pcmk_is_set(filter, pe_action_optional)) { pe_action_optional 2248 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(then->flags, pe_action_optional) pe_action_optional 2250 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 2373 lib/pacemaker/pcmk_sched_native.c } else if (pcmk_is_set(stop->flags, pe_action_optional)) { \ pe_action_optional 2376 lib/pacemaker/pcmk_sched_native.c CRM_ASSERT(!pcmk_is_set(stop->flags, pe_action_optional)); \ pe_action_optional 2522 lib/pacemaker/pcmk_sched_native.c pe__clear_action_flags(start, pe_action_optional); pe_action_optional 2807 lib/pacemaker/pcmk_sched_native.c pe__clear_action_flags(probe, pe_action_optional); 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 330 lib/pacemaker/pcmk_sched_notif.c pcmk_is_set(start->flags, pe_action_optional), pe_action_optional 349 lib/pacemaker/pcmk_sched_notif.c pcmk_is_set(end->flags, pe_action_optional), pe_action_optional 369 lib/pacemaker/pcmk_sched_notif.c pcmk_is_set(end->flags, pe_action_optional), pe_action_optional 461 lib/pacemaker/pcmk_sched_notif.c if (!pcmk_is_set(op->flags, pe_action_optional) pe_action_optional 604 lib/pacemaker/pcmk_sched_notif.c pe__clear_action_flags(n_data->pre, pe_action_optional); pe_action_optional 605 lib/pacemaker/pcmk_sched_notif.c pe__clear_action_flags(n_data->pre_done, pe_action_optional); pe_action_optional 609 lib/pacemaker/pcmk_sched_notif.c pe__clear_action_flags(n_data->post, pe_action_optional); pe_action_optional 610 lib/pacemaker/pcmk_sched_notif.c pe__clear_action_flags(n_data->post_done, pe_action_optional); pe_action_optional 659 lib/pacemaker/pcmk_sched_notif.c if (!pcmk_is_set(op->flags, pe_action_optional) pe_action_optional 730 lib/pacemaker/pcmk_sched_notif.c || pcmk_is_set(stop->flags, pe_action_optional)) { pe_action_optional 759 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 pe__clear_action_flags(op, pe_action_optional); pe_action_optional 382 lib/pacemaker/pcmk_sched_utils.c } else if (pcmk_is_set(action->flags, pe_action_optional)) { pe_action_optional 400 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 553 lib/pengine/utils.c pe__set_action_flags(action, pe_action_optional); pe_action_optional 2231 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 544 tools/crm_simulate.c } else if (pcmk_is_set(action->flags, pe_action_optional)) {