then 156 include/crm/pengine/internal.h gboolean order_actions(pcmk_action_t *first, pcmk_action_t *then, then 301 lib/pacemaker/libpacemaker_private.h pcmk_action_t *then, then 369 lib/pacemaker/libpacemaker_private.h uint32_t pcmk__update_ordered_actions(pcmk_action_t *first, pcmk_action_t *then, then 805 lib/pacemaker/libpacemaker_private.h pcmk_action_t *then, then 954 lib/pacemaker/libpacemaker_private.h pcmk_action_t *then, then 223 lib/pacemaker/pcmk_sched_actions.c update(pcmk_resource_t *rsc, pcmk_action_t *first, pcmk_action_t *then, then 227 lib/pacemaker/pcmk_sched_actions.c return rsc->priv->cmds->update_ordered_actions(first, then, node, flags, then 245 lib/pacemaker/pcmk_sched_actions.c update_action_for_ordering_flags(pcmk_action_t *first, pcmk_action_t *then, then 257 lib/pacemaker/pcmk_sched_actions.c pcmk_node_t *node = then->node; then 269 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 273 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, pcmk__node_name(node)); then 277 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 278 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, then 283 lib/pacemaker/pcmk_sched_actions.c && pcmk_is_set(then->flags, pcmk__action_optional)) { then 284 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_action_flags(then, pcmk__action_optional); then 287 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 289 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 294 lib/pacemaker/pcmk_sched_actions.c && (then->rsc != NULL)) { then 298 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, restart, then 300 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 302 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 308 lib/pacemaker/pcmk_sched_actions.c changed |= update(first->rsc, first, then, node, first_flags, then 316 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 318 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 323 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 324 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, then 329 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 332 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 337 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 338 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 344 lib/pacemaker/pcmk_sched_actions.c then->runnable_before++; then 349 lib/pacemaker/pcmk_sched_actions.c if ((then->runnable_before >= then->required_runnable_before) then 350 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk__action_runnable)) { then 352 lib/pacemaker/pcmk_sched_actions.c pcmk__set_action_flags(then, pcmk__action_runnable); then 356 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "%s then %s: %s after pcmk__ar_min_runnable", then 357 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 362 lib/pacemaker/pcmk_sched_actions.c && (then->rsc != NULL)) { then 368 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 370 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid); then 373 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 377 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 379 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 384 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 385 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 390 lib/pacemaker/pcmk_sched_actions.c && pcmk_is_set(then->flags, pcmk__action_runnable)) { then 392 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_action_flags(then, pcmk__action_runnable); then 395 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 397 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 402 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 403 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 407 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 410 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 415 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 416 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 420 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 422 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 427 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 428 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 432 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "%s then %s: %s after pcmk__ar_ordered", then 433 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 438 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 439 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 443 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "%s then %s: %s after pcmk__ar_asymmetric", then 444 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 452 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "%s will be in graph because %s is required", then 453 lib/pacemaker/pcmk_sched_actions.c then->uuid, first->uuid); then 454 lib/pacemaker/pcmk_sched_actions.c pcmk__set_action_flags(then, pcmk__action_always_in_graph); then 461 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "%s will be in graph because %s is required", then 462 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid); then 476 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(then->flags, pcmk__action_runnable)) { then 477 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_action_flags(then, pcmk__action_runnable); then 480 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 483 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 512 lib/pacemaker/pcmk_sched_actions.c pcmk__update_action_for_orderings(pcmk_action_t *then, then 517 lib/pacemaker/pcmk_sched_actions.c int last_flags = then->flags; then 519 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "Updating %s %s (%s %s) on %s", then 520 lib/pacemaker/pcmk_sched_actions.c action_type_str(then->flags), then->uuid, then 521 lib/pacemaker/pcmk_sched_actions.c action_optional_str(then->flags), then 522 lib/pacemaker/pcmk_sched_actions.c action_runnable_str(then->flags), action_node_str(then)); then 524 lib/pacemaker/pcmk_sched_actions.c if (then->required_runnable_before > 0) { then 530 lib/pacemaker/pcmk_sched_actions.c then->runnable_before = 0; then 536 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_action_flags(then, pcmk__action_runnable); then 539 lib/pacemaker/pcmk_sched_actions.c for (lpc = then->actions_before; lpc != NULL; lpc = lpc->next) { then 543 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->priv->fns->location(then->rsc, NULL, target); 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->flags)) { 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 (then->required_runnable_before > 0) { 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 731 lib/pacemaker/pcmk_sched_actions.c then_rsc_role = then->rsc->priv->fns->state(then->rsc, TRUE); then 734 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_STOP, pcmk__str_none)) { then 740 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_START, pcmk__str_none) then 741 lib/pacemaker/pcmk_sched_actions.c && pe__rsc_running_on_only(then->rsc, then->node)) { then 750 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk__action_optional, first); then 751 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk__action_runnable, first); then 766 lib/pacemaker/pcmk_sched_actions.c handle_restart_ordering(pcmk_action_t *first, pcmk_action_t *then, then 771 lib/pacemaker/pcmk_sched_actions.c pcmk__assert(is_primitive_action(first) && is_primitive_action(then)); then 777 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk__action_optional)) { then 785 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk__action_runnable) then 786 lib/pacemaker/pcmk_sched_actions.c && pcmk_is_set(then->rsc->flags, pcmk__rsc_managed) then 787 lib/pacemaker/pcmk_sched_actions.c && (first->rsc == then->rsc)) { then 796 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, reason); then 800 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk__action_optional, then); then 804 lib/pacemaker/pcmk_sched_actions.c if (!pcmk_is_set(then->flags, pcmk__action_optional)) { then 805 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk__action_optional, then); then 809 lib/pacemaker/pcmk_sched_actions.c if (!pcmk_is_set(then->flags, pcmk__action_migratable)) { then 810 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk__action_migratable, then); then 816 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk__action_runnable, first); then 843 lib/pacemaker/pcmk_sched_actions.c pcmk__update_ordered_actions(pcmk_action_t *first, pcmk_action_t *then, then 852 lib/pacemaker/pcmk_sched_actions.c pcmk__assert((first != NULL) && (then != NULL) && (scheduler != NULL)); then 854 lib/pacemaker/pcmk_sched_actions.c then_flags = then->flags; then 857 lib/pacemaker/pcmk_sched_actions.c handle_asymmetric_ordering(first, then); then 867 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk__action_optional, then); then 871 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk__action_migratable)) { then 872 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk__action_migratable, then); then 877 lib/pacemaker/pcmk_sched_actions.c && (then->rsc != NULL) then 878 lib/pacemaker/pcmk_sched_actions.c && (then->rsc->priv->orig_role == pcmk_role_promoted) then 880 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk__action_optional)) { then 882 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk__action_optional, then); then 885 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk__action_migratable)) { then 886 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk__action_migratable, then); then 893 lib/pacemaker/pcmk_sched_actions.c if (!pcmk_all_flags_set(then->flags, pcmk__action_migratable then 895 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk__action_runnable, then); then 898 lib/pacemaker/pcmk_sched_actions.c if (!pcmk_is_set(then->flags, pcmk__action_optional)) { then 899 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk__action_optional, then); then 907 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk__action_migratable, first); then 908 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_action_flags(then, pcmk__action_pseudo); then 913 lib/pacemaker/pcmk_sched_actions.c && pcmk_is_set(then->flags, pcmk__action_runnable) then 916 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk__action_runnable, first); then 917 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk__action_migratable, first); then 922 lib/pacemaker/pcmk_sched_actions.c && pcmk_is_set(then->flags, pcmk__action_optional) then 926 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk__action_optional, first); then 930 lib/pacemaker/pcmk_sched_actions.c handle_restart_ordering(first, then, filter); then 933 lib/pacemaker/pcmk_sched_actions.c if (then_flags != then->flags) { then 935 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 938 lib/pacemaker/pcmk_sched_actions.c then->uuid, pcmk__node_name(then->node), then 939 lib/pacemaker/pcmk_sched_actions.c then->flags, then_flags, first->uuid, first->flags); then 941 lib/pacemaker/pcmk_sched_actions.c if ((then->rsc != NULL) && (then->rsc->priv->parent != NULL)) { then 943 lib/pacemaker/pcmk_sched_actions.c pcmk__update_action_for_orderings(then, scheduler); then 953 lib/pacemaker/pcmk_sched_actions.c first->flags, first_flags, then->uuid, then->flags); then 639 lib/pacemaker/pcmk_sched_group.c pcmk__group_update_ordered_actions(pcmk_action_t *first, pcmk_action_t *then, then 647 lib/pacemaker/pcmk_sched_group.c pcmk__assert((first != NULL) && (then != NULL) && (then->rsc != NULL) then 651 lib/pacemaker/pcmk_sched_group.c changed |= pcmk__update_ordered_actions(first, then, node, flags, filter, then 655 lib/pacemaker/pcmk_sched_group.c for (GList *iter = then->rsc->priv->children; then 662 lib/pacemaker/pcmk_sched_group.c then->task, node); then 1243 lib/pacemaker/pcmk_sched_instances.c unassign_if_mandatory(const pcmk_action_t *first, const pcmk_action_t *then, then 1249 lib/pacemaker/pcmk_sched_instances.c pcmk__rsc_trace(then->rsc, then 1259 lib/pacemaker/pcmk_sched_instances.c pcmk__rsc_info(then->rsc, then 1401 lib/pacemaker/pcmk_sched_instances.c update_interleaved_actions(pcmk_action_t *first, pcmk_action_t *then, then 1415 lib/pacemaker/pcmk_sched_instances.c instances = get_instance_list(then->rsc); then 1430 lib/pacemaker/pcmk_sched_instances.c if (unassign_if_mandatory(first, then, then_instance, type, then 1443 lib/pacemaker/pcmk_sched_instances.c then_action = find_instance_action(then, then_instance, then->task, then 1457 lib/pacemaker/pcmk_sched_instances.c filter, type, then->rsc->priv->scheduler); then 1459 lib/pacemaker/pcmk_sched_instances.c free_instance_list(then->rsc, instances); then 1473 lib/pacemaker/pcmk_sched_instances.c can_interleave_actions(const pcmk_action_t *first, const pcmk_action_t *then) then 1478 lib/pacemaker/pcmk_sched_instances.c if ((first->rsc == NULL) || (then->rsc == NULL)) { then 1480 lib/pacemaker/pcmk_sched_instances.c first->uuid, then->uuid); then 1484 lib/pacemaker/pcmk_sched_instances.c if (first->rsc == then->rsc) { then 1486 lib/pacemaker/pcmk_sched_instances.c first->uuid, then->uuid); then 1491 lib/pacemaker/pcmk_sched_instances.c || (then->rsc->priv->variant < pcmk__rsc_variant_clone)) { then 1493 lib/pacemaker/pcmk_sched_instances.c first->uuid, then->uuid); then 1497 lib/pacemaker/pcmk_sched_instances.c if (pcmk__ends_with(then->uuid, "_stop_0") then 1498 lib/pacemaker/pcmk_sched_instances.c || pcmk__ends_with(then->uuid, "_demote_0")) { then 1501 lib/pacemaker/pcmk_sched_instances.c rsc = then->rsc; then 1507 lib/pacemaker/pcmk_sched_instances.c first->uuid, then->uuid, (interleave? "" : "not "), then 1536 lib/pacemaker/pcmk_sched_instances.c const pcmk_action_t *then, const pcmk_node_t *node, then 1546 lib/pacemaker/pcmk_sched_instances.c then->task, node); then 1600 lib/pacemaker/pcmk_sched_instances.c pcmk__instance_update_ordered_actions(pcmk_action_t *first, pcmk_action_t *then, then 1605 lib/pacemaker/pcmk_sched_instances.c pcmk__assert((first != NULL) && (then != NULL) && (scheduler != NULL)); then 1607 lib/pacemaker/pcmk_sched_instances.c if (then->rsc == NULL) { then 1610 lib/pacemaker/pcmk_sched_instances.c } else if (can_interleave_actions(first, then)) { then 1611 lib/pacemaker/pcmk_sched_instances.c return update_interleaved_actions(first, then, node, filter, type); then 1615 lib/pacemaker/pcmk_sched_instances.c GList *instances = get_instance_list(then->rsc); then 1618 lib/pacemaker/pcmk_sched_instances.c changed |= pcmk__update_ordered_actions(first, then, node, flags, then 1625 lib/pacemaker/pcmk_sched_instances.c changed |= update_noninterleaved_actions(instance, first, then, then 1628 lib/pacemaker/pcmk_sched_instances.c free_instance_list(then->rsc, instances); then 316 lib/pacemaker/pcmk_sched_probes.c const pcmk_action_t *then) then 319 lib/pacemaker/pcmk_sched_probes.c if (pcmk__str_eq(then->task, PCMK_ACTION_STONITH, pcmk__str_none) then 320 lib/pacemaker/pcmk_sched_probes.c && pcmk__same_node(probe->node, then->node)) { then 321 lib/pacemaker/pcmk_sched_probes.c const char *op = g_hash_table_lookup(then->meta, then 330 lib/pacemaker/pcmk_sched_probes.c if (pcmk__str_eq(then->task, PCMK_ACTION_DO_SHUTDOWN, pcmk__str_none) then 331 lib/pacemaker/pcmk_sched_probes.c && (probe->node != NULL) && (then->node != NULL) then 332 lib/pacemaker/pcmk_sched_probes.c && !pcmk__same_node(probe->node, then->node)) { then 364 lib/pacemaker/pcmk_sched_probes.c pcmk_action_t *then = NULL; then 378 lib/pacemaker/pcmk_sched_probes.c then = order->action2; then 380 lib/pacemaker/pcmk_sched_probes.c || ((then == NULL) && (order->task2 == NULL))) { then 401 lib/pacemaker/pcmk_sched_probes.c if ((then != NULL) && pcmk__str_eq(then->task, PCMK_ACTION_STOP, then 404 lib/pacemaker/pcmk_sched_probes.c } else if ((then == NULL) then 434 lib/pacemaker/pcmk_sched_probes.c if (then != NULL) { then 435 lib/pacemaker/pcmk_sched_probes.c then_actions = g_list_prepend(NULL, then); then 449 lib/pacemaker/pcmk_sched_probes.c ((then == NULL)? order->task2 : then->uuid), then 460 lib/pacemaker/pcmk_sched_probes.c pcmk_action_t *then = (pcmk_action_t *) then_iter->data; then 462 lib/pacemaker/pcmk_sched_probes.c if (probe_needed_before_action(probe, then)) { then 463 lib/pacemaker/pcmk_sched_probes.c order_actions(probe, then, order_flags); then 517 lib/pacemaker/pcmk_sched_probes.c pcmk__related_action_t *then = then_iter->data; then 519 lib/pacemaker/pcmk_sched_probes.c if ((then->action->rsc->priv->active_nodes != NULL) then 520 lib/pacemaker/pcmk_sched_probes.c || (pe__const_top_resource(then->action->rsc, false) then 522 lib/pacemaker/pcmk_sched_probes.c || !pcmk__str_eq(then->action->task, PCMK_ACTION_START, then 530 lib/pacemaker/pcmk_sched_probes.c then->action->uuid, pcmk__node_name(then->action->node), then 536 lib/pacemaker/pcmk_sched_probes.c order_actions(probe, then->action, flags); then 595 lib/pacemaker/pcmk_sched_probes.c pcmk_action_t *then = (pcmk_action_t *) iter->data; then 598 lib/pacemaker/pcmk_sched_probes.c if (!pcmk_is_set(then->flags, pcmk__action_pseudo)) { then 599 lib/pacemaker/pcmk_sched_probes.c order_actions(probe, then, pcmk__ar_ordered); then 728 lib/pacemaker/pcmk_sched_probes.c pcmk__related_action_t *then = then_iter->data; then 730 lib/pacemaker/pcmk_sched_probes.c add_start_orderings_for_probe(probe, then); then 731 lib/pacemaker/pcmk_sched_probes.c add_restart_orderings_for_probe(probe, then->action); then 465 lib/pengine/utils.c order_actions(pcmk_action_t *first, pcmk_action_t *then, uint32_t flags) then 475 lib/pengine/utils.c if ((first == NULL) || (then == NULL)) { then 480 lib/pengine/utils.c first->uuid, then->uuid); then 483 lib/pengine/utils.c pcmk__assert(first != then); then 490 lib/pengine/utils.c if ((after->action == then) then 497 lib/pengine/utils.c wrapper->action = then; then 506 lib/pengine/utils.c list = then->actions_before; then 508 lib/pengine/utils.c then->actions_before = list;