then 168 include/crm/pengine/internal.h gboolean order_actions(pcmk_action_t *first, pcmk_action_t *then, then 286 lib/pacemaker/libpacemaker_private.h pcmk_action_t *then, then 354 lib/pacemaker/libpacemaker_private.h uint32_t pcmk__update_ordered_actions(pcmk_action_t *first, pcmk_action_t *then, then 813 lib/pacemaker/libpacemaker_private.h pcmk_action_t *then, then 962 lib/pacemaker/libpacemaker_private.h pcmk_action_t *then, then 219 lib/pacemaker/pcmk_sched_actions.c update(pcmk_resource_t *rsc, pcmk_action_t *first, pcmk_action_t *then, then 223 lib/pacemaker/pcmk_sched_actions.c return rsc->cmds->update_ordered_actions(first, then, node, flags, filter, then 241 lib/pacemaker/pcmk_sched_actions.c update_action_for_ordering_flags(pcmk_action_t *first, pcmk_action_t *then, then 253 lib/pacemaker/pcmk_sched_actions.c pcmk_node_t *node = then->node; then 265 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 269 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, pcmk__node_name(node)); then 273 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 274 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, then 279 lib/pacemaker/pcmk_sched_actions.c && pcmk_is_set(then->flags, pcmk_action_optional)) { then 280 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_action_flags(then, pcmk_action_optional); then 283 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 285 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 290 lib/pacemaker/pcmk_sched_actions.c && (then->rsc != NULL)) { then 294 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, restart, then 296 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 298 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 304 lib/pacemaker/pcmk_sched_actions.c changed |= update(first->rsc, first, then, node, first_flags, then 312 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 314 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 319 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 320 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, then 325 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 328 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 333 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 334 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 340 lib/pacemaker/pcmk_sched_actions.c then->runnable_before++; then 345 lib/pacemaker/pcmk_sched_actions.c if ((then->runnable_before >= then->required_runnable_before) then 346 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk_action_runnable)) { then 348 lib/pacemaker/pcmk_sched_actions.c pcmk__set_action_flags(then, pcmk_action_runnable); then 352 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "%s then %s: %s after pcmk__ar_min_runnable", then 353 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 358 lib/pacemaker/pcmk_sched_actions.c && (then->rsc != NULL)) { then 363 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 365 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid); then 368 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 372 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 374 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 379 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 380 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 385 lib/pacemaker/pcmk_sched_actions.c && pcmk_is_set(then->flags, pcmk_action_runnable)) { then 387 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_action_flags(then, pcmk_action_runnable); then 390 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 392 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 397 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 398 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 402 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 405 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 410 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 411 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 415 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 417 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 422 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 423 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 427 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "%s then %s: %s after pcmk__ar_ordered", then 428 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 433 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 434 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 438 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "%s then %s: %s after pcmk__ar_asymmetric", then 439 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 447 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "%s will be in graph because %s is required", then 448 lib/pacemaker/pcmk_sched_actions.c then->uuid, first->uuid); then 449 lib/pacemaker/pcmk_sched_actions.c pcmk__set_action_flags(then, pcmk_action_always_in_graph); then 456 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "%s will be in graph because %s is required", then 457 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid); then 471 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(then->flags, pcmk_action_runnable)) { then 472 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_action_flags(then, pcmk_action_runnable); then 475 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 478 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 507 lib/pacemaker/pcmk_sched_actions.c pcmk__update_action_for_orderings(pcmk_action_t *then, then 512 lib/pacemaker/pcmk_sched_actions.c int last_flags = then->flags; then 514 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "Updating %s %s (%s %s) on %s", then 515 lib/pacemaker/pcmk_sched_actions.c action_type_str(then->flags), then->uuid, then 516 lib/pacemaker/pcmk_sched_actions.c action_optional_str(then->flags), then 517 lib/pacemaker/pcmk_sched_actions.c action_runnable_str(then->flags), action_node_str(then)); then 519 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(then->flags, pcmk_action_min_runnable)) { then 525 lib/pacemaker/pcmk_sched_actions.c then->runnable_before = 0; then 527 lib/pacemaker/pcmk_sched_actions.c if (then->required_runnable_before == 0) { then 532 lib/pacemaker/pcmk_sched_actions.c then->required_runnable_before = 1; then 539 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_action_flags(then, pcmk_action_runnable); then 542 lib/pacemaker/pcmk_sched_actions.c for (lpc = then->actions_before; lpc != NULL; lpc = lpc->next) { then 546 lib/pacemaker/pcmk_sched_actions.c pcmk_node_t *then_node = then->node; then 560 lib/pacemaker/pcmk_sched_actions.c if (pcmk__is_group(then->rsc) then 561 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_START, pcmk__str_none)) { then 563 lib/pacemaker/pcmk_sched_actions.c then_node = then->rsc->fns->location(then->rsc, NULL, FALSE); then 565 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "Found %s for 'then' %s", then 566 lib/pacemaker/pcmk_sched_actions.c pcmk__node_name(then_node), then->uuid); then 575 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 579 lib/pacemaker/pcmk_sched_actions.c then->uuid, pcmk__node_name(then_node)); then 584 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_updated_flags(changed, then, pcmk__updated_first); then 588 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk_action_optional)) { then 599 lib/pacemaker/pcmk_sched_actions.c if ((first->rsc != NULL) && (then->rsc != NULL) then 600 lib/pacemaker/pcmk_sched_actions.c && (first->rsc != then->rsc) && !is_parent(then->rsc, first->rsc)) { then 604 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "Ordering %s after %s instead of %s", then 605 lib/pacemaker/pcmk_sched_actions.c then->uuid, first->uuid, other->action->uuid); then 608 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 610 lib/pacemaker/pcmk_sched_actions.c first->uuid, first->flags, then->uuid, then->flags, then 621 lib/pacemaker/pcmk_sched_actions.c then_flags = action_flags_for_ordering(then, first_node); then 623 lib/pacemaker/pcmk_sched_actions.c changed |= update_action_for_ordering_flags(first, then, then 630 lib/pacemaker/pcmk_sched_actions.c } else if (order_actions(first, then, other->type)) { then 634 lib/pacemaker/pcmk_sched_actions.c pcmk__set_updated_flags(changed, then, pcmk__updated_then); then 635 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 638 lib/pacemaker/pcmk_sched_actions.c other->action->uuid, then->uuid, first->uuid, then 639 lib/pacemaker/pcmk_sched_actions.c then->uuid); then 657 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(then->flags, pcmk_action_min_runnable)) { then 658 lib/pacemaker/pcmk_sched_actions.c if (last_flags == then->flags) { then 659 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_updated_flags(changed, then, pcmk__updated_then); then 661 lib/pacemaker/pcmk_sched_actions.c pcmk__set_updated_flags(changed, then, pcmk__updated_then); then 667 lib/pacemaker/pcmk_sched_actions.c then->uuid); then 669 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk_action_runnable)) { then 670 lib/pacemaker/pcmk_sched_actions.c pcmk__block_colocation_dependents(then); then 672 lib/pacemaker/pcmk_sched_actions.c pcmk__update_action_for_orderings(then, scheduler); then 673 lib/pacemaker/pcmk_sched_actions.c for (lpc = then->actions_after; lpc != NULL; lpc = lpc->next) { then 717 lib/pacemaker/pcmk_sched_actions.c handle_asymmetric_ordering(const pcmk_action_t *first, pcmk_action_t *then) then 722 lib/pacemaker/pcmk_sched_actions.c if ((then->rsc == NULL) then 728 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(then->flags, pcmk_action_optional)) { then 729 lib/pacemaker/pcmk_sched_actions.c enum rsc_role_e then_rsc_role = then->rsc->fns->state(then->rsc, TRUE); then 732 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_STOP, pcmk__str_none)) { then 738 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_START, pcmk__str_none) then 739 lib/pacemaker/pcmk_sched_actions.c && pe__rsc_running_on_only(then->rsc, then->node)) { then 748 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk_action_optional, first); then 749 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk_action_runnable, first); then 764 lib/pacemaker/pcmk_sched_actions.c handle_restart_ordering(pcmk_action_t *first, pcmk_action_t *then, then 769 lib/pacemaker/pcmk_sched_actions.c pcmk__assert(is_primitive_action(first) && is_primitive_action(then)); then 775 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk_action_optional)) { then 783 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk_action_runnable) then 784 lib/pacemaker/pcmk_sched_actions.c && pcmk_is_set(then->rsc->flags, pcmk_rsc_managed) then 785 lib/pacemaker/pcmk_sched_actions.c && (first->rsc == then->rsc)) { then 794 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, reason); then 798 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk_action_optional, then); then 802 lib/pacemaker/pcmk_sched_actions.c if (!pcmk_is_set(then->flags, pcmk_action_optional)) { then 803 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk_action_optional, then); then 807 lib/pacemaker/pcmk_sched_actions.c if (!pcmk_is_set(then->flags, pcmk_action_migratable)) { then 808 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk_action_migratable, then); then 814 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk_action_runnable, first); then 841 lib/pacemaker/pcmk_sched_actions.c pcmk__update_ordered_actions(pcmk_action_t *first, pcmk_action_t *then, then 850 lib/pacemaker/pcmk_sched_actions.c pcmk__assert((first != NULL) && (then != NULL) && (scheduler != NULL)); then 852 lib/pacemaker/pcmk_sched_actions.c then_flags = then->flags; then 855 lib/pacemaker/pcmk_sched_actions.c handle_asymmetric_ordering(first, then); then 865 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk_action_optional, then); then 869 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk_action_migratable)) { then 870 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk_action_migratable, then); then 875 lib/pacemaker/pcmk_sched_actions.c && (then->rsc != NULL) && (then->rsc->role == pcmk_role_promoted) then 877 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk_action_optional)) { then 879 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk_action_optional, then); then 882 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk_action_migratable)) { then 883 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk_action_migratable, then); then 890 lib/pacemaker/pcmk_sched_actions.c if (!pcmk_all_flags_set(then->flags, pcmk_action_migratable then 892 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk_action_runnable, then); then 895 lib/pacemaker/pcmk_sched_actions.c if (!pcmk_is_set(then->flags, pcmk_action_optional)) { then 896 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk_action_optional, then); then 904 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk_action_migratable, first); then 905 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_action_flags(then, pcmk_action_pseudo); then 910 lib/pacemaker/pcmk_sched_actions.c && pcmk_is_set(then->flags, pcmk_action_runnable) then 913 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk_action_runnable, first); then 914 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk_action_migratable, first); then 919 lib/pacemaker/pcmk_sched_actions.c && pcmk_is_set(then->flags, pcmk_action_optional) then 923 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk_action_optional, first); then 927 lib/pacemaker/pcmk_sched_actions.c handle_restart_ordering(first, then, filter); then 930 lib/pacemaker/pcmk_sched_actions.c if (then_flags != then->flags) { then 932 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 935 lib/pacemaker/pcmk_sched_actions.c then->uuid, pcmk__node_name(then->node), then 936 lib/pacemaker/pcmk_sched_actions.c then->flags, then_flags, first->uuid, first->flags); then 938 lib/pacemaker/pcmk_sched_actions.c if ((then->rsc != NULL) && (then->rsc->parent != NULL)) { then 940 lib/pacemaker/pcmk_sched_actions.c pcmk__update_action_for_orderings(then, scheduler); then 950 lib/pacemaker/pcmk_sched_actions.c first->flags, first_flags, then->uuid, then->flags); then 616 lib/pacemaker/pcmk_sched_group.c pcmk__group_update_ordered_actions(pcmk_action_t *first, pcmk_action_t *then, then 624 lib/pacemaker/pcmk_sched_group.c pcmk__assert((first != NULL) && (then != NULL) && (then->rsc != NULL) then 628 lib/pacemaker/pcmk_sched_group.c changed |= pcmk__update_ordered_actions(first, then, node, flags, filter, then 632 lib/pacemaker/pcmk_sched_group.c for (GList *iter = then->rsc->children; iter != NULL; iter = iter->next) { then 636 lib/pacemaker/pcmk_sched_group.c then->task, node); then 1222 lib/pacemaker/pcmk_sched_instances.c unassign_if_mandatory(const pcmk_action_t *first, const pcmk_action_t *then, then 1228 lib/pacemaker/pcmk_sched_instances.c pcmk__rsc_trace(then->rsc, then 1238 lib/pacemaker/pcmk_sched_instances.c pcmk__rsc_info(then->rsc, then 1379 lib/pacemaker/pcmk_sched_instances.c update_interleaved_actions(pcmk_action_t *first, pcmk_action_t *then, then 1393 lib/pacemaker/pcmk_sched_instances.c instances = get_instance_list(then->rsc); then 1408 lib/pacemaker/pcmk_sched_instances.c if (unassign_if_mandatory(first, then, then_instance, type, then 1421 lib/pacemaker/pcmk_sched_instances.c then_action = find_instance_action(then, then_instance, then->task, then 1435 lib/pacemaker/pcmk_sched_instances.c type, then->rsc->cluster); then 1437 lib/pacemaker/pcmk_sched_instances.c free_instance_list(then->rsc, instances); then 1451 lib/pacemaker/pcmk_sched_instances.c can_interleave_actions(const pcmk_action_t *first, const pcmk_action_t *then) then 1456 lib/pacemaker/pcmk_sched_instances.c if ((first->rsc == NULL) || (then->rsc == NULL)) { then 1458 lib/pacemaker/pcmk_sched_instances.c first->uuid, then->uuid); then 1462 lib/pacemaker/pcmk_sched_instances.c if (first->rsc == then->rsc) { then 1464 lib/pacemaker/pcmk_sched_instances.c first->uuid, then->uuid); then 1469 lib/pacemaker/pcmk_sched_instances.c || (then->rsc->variant < pcmk_rsc_variant_clone)) { then 1471 lib/pacemaker/pcmk_sched_instances.c first->uuid, then->uuid); then 1475 lib/pacemaker/pcmk_sched_instances.c if (pcmk__ends_with(then->uuid, "_stop_0") then 1476 lib/pacemaker/pcmk_sched_instances.c || pcmk__ends_with(then->uuid, "_demote_0")) { then 1479 lib/pacemaker/pcmk_sched_instances.c rsc = then->rsc; then 1485 lib/pacemaker/pcmk_sched_instances.c first->uuid, then->uuid, (interleave? "" : "not "), then 1514 lib/pacemaker/pcmk_sched_instances.c const pcmk_action_t *then, const pcmk_node_t *node, then 1522 lib/pacemaker/pcmk_sched_instances.c instance_action = find_first_action(instance->actions, NULL, then->task, then 1576 lib/pacemaker/pcmk_sched_instances.c pcmk__instance_update_ordered_actions(pcmk_action_t *first, pcmk_action_t *then, then 1581 lib/pacemaker/pcmk_sched_instances.c pcmk__assert((first != NULL) && (then != NULL) && (scheduler != NULL)); then 1583 lib/pacemaker/pcmk_sched_instances.c if (then->rsc == NULL) { then 1586 lib/pacemaker/pcmk_sched_instances.c } else if (can_interleave_actions(first, then)) { then 1587 lib/pacemaker/pcmk_sched_instances.c return update_interleaved_actions(first, then, node, filter, type); then 1591 lib/pacemaker/pcmk_sched_instances.c GList *instances = get_instance_list(then->rsc); then 1594 lib/pacemaker/pcmk_sched_instances.c changed |= pcmk__update_ordered_actions(first, then, node, flags, then 1601 lib/pacemaker/pcmk_sched_instances.c changed |= update_noninterleaved_actions(instance, first, then, then 1604 lib/pacemaker/pcmk_sched_instances.c free_instance_list(then->rsc, instances); then 302 lib/pacemaker/pcmk_sched_probes.c const pcmk_action_t *then) then 305 lib/pacemaker/pcmk_sched_probes.c if (pcmk__str_eq(then->task, PCMK_ACTION_STONITH, pcmk__str_none) then 306 lib/pacemaker/pcmk_sched_probes.c && pcmk__same_node(probe->node, then->node)) { then 307 lib/pacemaker/pcmk_sched_probes.c const char *op = g_hash_table_lookup(then->meta, then 316 lib/pacemaker/pcmk_sched_probes.c if (pcmk__str_eq(then->task, PCMK_ACTION_DO_SHUTDOWN, pcmk__str_none) then 317 lib/pacemaker/pcmk_sched_probes.c && (probe->node != NULL) && (then->node != NULL) then 318 lib/pacemaker/pcmk_sched_probes.c && !pcmk__same_node(probe->node, then->node)) { then 350 lib/pacemaker/pcmk_sched_probes.c pcmk_action_t *then = NULL; then 364 lib/pacemaker/pcmk_sched_probes.c then = order->action2; then 366 lib/pacemaker/pcmk_sched_probes.c || ((then == NULL) && (order->task2 == NULL))) { then 386 lib/pacemaker/pcmk_sched_probes.c if ((then != NULL) && pcmk__str_eq(then->task, PCMK_ACTION_STOP, then 389 lib/pacemaker/pcmk_sched_probes.c } else if ((then == NULL) then 419 lib/pacemaker/pcmk_sched_probes.c if (then != NULL) { then 420 lib/pacemaker/pcmk_sched_probes.c then_actions = g_list_prepend(NULL, then); then 434 lib/pacemaker/pcmk_sched_probes.c ((then == NULL)? order->task2 : then->uuid), then 445 lib/pacemaker/pcmk_sched_probes.c pcmk_action_t *then = (pcmk_action_t *) then_iter->data; then 447 lib/pacemaker/pcmk_sched_probes.c if (probe_needed_before_action(probe, then)) { then 448 lib/pacemaker/pcmk_sched_probes.c order_actions(probe, then, order_flags); then 502 lib/pacemaker/pcmk_sched_probes.c pcmk__related_action_t *then = then_iter->data; then 504 lib/pacemaker/pcmk_sched_probes.c if (then->action->rsc->running_on then 505 lib/pacemaker/pcmk_sched_probes.c || (pe__const_top_resource(then->action->rsc, false) then 507 lib/pacemaker/pcmk_sched_probes.c || !pcmk__str_eq(then->action->task, PCMK_ACTION_START, then 515 lib/pacemaker/pcmk_sched_probes.c then->action->uuid, pcmk__node_name(then->action->node), then 521 lib/pacemaker/pcmk_sched_probes.c order_actions(probe, then->action, flags); then 580 lib/pacemaker/pcmk_sched_probes.c pcmk_action_t *then = (pcmk_action_t *) iter->data; then 583 lib/pacemaker/pcmk_sched_probes.c if (!pcmk_is_set(then->flags, pcmk_action_pseudo)) { then 584 lib/pacemaker/pcmk_sched_probes.c order_actions(probe, then, pcmk__ar_ordered); then 707 lib/pacemaker/pcmk_sched_probes.c pcmk__related_action_t *then = then_iter->data; then 709 lib/pacemaker/pcmk_sched_probes.c add_start_orderings_for_probe(probe, then); then 710 lib/pacemaker/pcmk_sched_probes.c add_restart_orderings_for_probe(probe, then->action); then 457 lib/pengine/utils.c order_actions(pcmk_action_t *first, pcmk_action_t *then, uint32_t flags) then 467 lib/pengine/utils.c if ((first == NULL) || (then == NULL)) { then 472 lib/pengine/utils.c first->uuid, then->uuid); then 475 lib/pengine/utils.c pcmk__assert(first != then); then 482 lib/pengine/utils.c if ((after->action == then) then 489 lib/pengine/utils.c wrapper->action = then; then 498 lib/pengine/utils.c list = then->actions_before; then 500 lib/pengine/utils.c then->actions_before = list;