then 150 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 226 lib/pacemaker/pcmk_sched_actions.c update(pcmk_resource_t *rsc, pcmk_action_t *first, pcmk_action_t *then, then 230 lib/pacemaker/pcmk_sched_actions.c return rsc->priv->cmds->update_ordered_actions(first, then, node, flags, then 248 lib/pacemaker/pcmk_sched_actions.c update_action_for_ordering_flags(pcmk_action_t *first, pcmk_action_t *then, then 260 lib/pacemaker/pcmk_sched_actions.c pcmk_node_t *node = then->node; then 272 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 276 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, pcmk__node_name(node)); then 280 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 281 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, then 286 lib/pacemaker/pcmk_sched_actions.c && pcmk_is_set(then->flags, pcmk__action_optional)) { then 287 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_action_flags(then, pcmk__action_optional); then 290 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 292 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 297 lib/pacemaker/pcmk_sched_actions.c && (then->rsc != NULL)) { then 301 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, restart, then 303 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 305 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 311 lib/pacemaker/pcmk_sched_actions.c changed |= update(first->rsc, first, then, node, first_flags, then 319 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 321 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 326 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 327 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, then 332 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 335 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 340 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 341 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 347 lib/pacemaker/pcmk_sched_actions.c then->runnable_before++; then 352 lib/pacemaker/pcmk_sched_actions.c if ((then->runnable_before >= then->required_runnable_before) then 353 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk__action_runnable)) { then 355 lib/pacemaker/pcmk_sched_actions.c pcmk__set_action_flags(then, pcmk__action_runnable); then 359 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "%s then %s: %s after pcmk__ar_min_runnable", then 360 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 365 lib/pacemaker/pcmk_sched_actions.c && (then->rsc != NULL)) { then 371 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 373 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid); then 376 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 380 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 382 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 387 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 388 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 393 lib/pacemaker/pcmk_sched_actions.c && pcmk_is_set(then->flags, pcmk__action_runnable)) { then 395 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_action_flags(then, pcmk__action_runnable); then 398 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 400 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 405 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 406 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 410 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 413 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 418 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 419 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 423 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 425 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 430 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 431 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 435 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "%s then %s: %s after pcmk__ar_ordered", then 436 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 441 lib/pacemaker/pcmk_sched_actions.c if (then->rsc != NULL) { then 442 lib/pacemaker/pcmk_sched_actions.c changed |= update(then->rsc, first, then, node, first_flags, then 446 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "%s then %s: %s after pcmk__ar_asymmetric", then 447 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 455 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "%s will be in graph because %s is required", then 456 lib/pacemaker/pcmk_sched_actions.c then->uuid, first->uuid); then 457 lib/pacemaker/pcmk_sched_actions.c pcmk__set_action_flags(then, pcmk__action_always_in_graph); then 464 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "%s will be in graph because %s is required", then 465 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid); then 485 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(then->flags, pcmk__action_runnable)) { then 486 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_action_flags(then, pcmk__action_runnable); then 489 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 492 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, then 521 lib/pacemaker/pcmk_sched_actions.c pcmk__update_action_for_orderings(pcmk_action_t *then, then 526 lib/pacemaker/pcmk_sched_actions.c int last_flags = then->flags; then 528 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "Updating %s %s (%s %s) on %s", then 529 lib/pacemaker/pcmk_sched_actions.c action_type_str(then->flags), then->uuid, then 530 lib/pacemaker/pcmk_sched_actions.c action_optional_str(then->flags), then 531 lib/pacemaker/pcmk_sched_actions.c action_runnable_str(then->flags), action_node_str(then)); then 533 lib/pacemaker/pcmk_sched_actions.c if (then->required_runnable_before > 0) { then 539 lib/pacemaker/pcmk_sched_actions.c then->runnable_before = 0; then 545 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_action_flags(then, pcmk__action_runnable); then 548 lib/pacemaker/pcmk_sched_actions.c for (lpc = then->actions_before; lpc != NULL; lpc = lpc->next) { then 552 lib/pacemaker/pcmk_sched_actions.c pcmk_node_t *then_node = then->node; then 569 lib/pacemaker/pcmk_sched_actions.c if (pcmk__is_group(then->rsc) then 570 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_START, pcmk__str_none)) { then 572 lib/pacemaker/pcmk_sched_actions.c then_node = then->rsc->priv->fns->location(then->rsc, NULL, target); then 574 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "Found %s for 'then' %s", then 575 lib/pacemaker/pcmk_sched_actions.c pcmk__node_name(then_node), then->uuid); then 584 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 588 lib/pacemaker/pcmk_sched_actions.c then->uuid, pcmk__node_name(then_node)); then 593 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_updated_flags(changed, then, pcmk__updated_first); then 597 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk__action_optional)) { then 608 lib/pacemaker/pcmk_sched_actions.c if ((first->rsc != NULL) && (then->rsc != NULL) then 609 lib/pacemaker/pcmk_sched_actions.c && (first->rsc != then->rsc) && !is_parent(then->rsc, first->rsc)) { then 613 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, "Ordering %s after %s instead of %s", then 614 lib/pacemaker/pcmk_sched_actions.c then->uuid, first->uuid, other->action->uuid); then 617 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 619 lib/pacemaker/pcmk_sched_actions.c first->uuid, first->flags, then->uuid, then->flags, then 630 lib/pacemaker/pcmk_sched_actions.c then_flags = action_flags_for_ordering(then, first_node); then 632 lib/pacemaker/pcmk_sched_actions.c changed |= update_action_for_ordering_flags(first, then, then 639 lib/pacemaker/pcmk_sched_actions.c } else if (order_actions(first, then, other->flags)) { then 643 lib/pacemaker/pcmk_sched_actions.c pcmk__set_updated_flags(changed, then, pcmk__updated_then); then 644 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 647 lib/pacemaker/pcmk_sched_actions.c other->action->uuid, then->uuid, first->uuid, then 648 lib/pacemaker/pcmk_sched_actions.c then->uuid); then 666 lib/pacemaker/pcmk_sched_actions.c if (then->required_runnable_before > 0) { then 667 lib/pacemaker/pcmk_sched_actions.c if (last_flags == then->flags) { then 668 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_updated_flags(changed, then, pcmk__updated_then); then 670 lib/pacemaker/pcmk_sched_actions.c pcmk__set_updated_flags(changed, then, pcmk__updated_then); then 676 lib/pacemaker/pcmk_sched_actions.c then->uuid); then 678 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk__action_runnable)) { then 679 lib/pacemaker/pcmk_sched_actions.c pcmk__block_colocation_dependents(then); then 681 lib/pacemaker/pcmk_sched_actions.c pcmk__update_action_for_orderings(then, scheduler); then 682 lib/pacemaker/pcmk_sched_actions.c for (lpc = then->actions_after; lpc != NULL; lpc = lpc->next) { then 726 lib/pacemaker/pcmk_sched_actions.c handle_asymmetric_ordering(const pcmk_action_t *first, pcmk_action_t *then) then 731 lib/pacemaker/pcmk_sched_actions.c if ((then->rsc == NULL) then 737 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(then->flags, pcmk__action_optional)) { then 740 lib/pacemaker/pcmk_sched_actions.c then_rsc_role = then->rsc->priv->fns->state(then->rsc, true); then 743 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_STOP, pcmk__str_none)) { then 749 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_START, pcmk__str_none) then 750 lib/pacemaker/pcmk_sched_actions.c && pe__rsc_running_on_only(then->rsc, then->node)) { then 759 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk__action_optional, first); then 760 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk__action_runnable, first); then 775 lib/pacemaker/pcmk_sched_actions.c handle_restart_ordering(pcmk_action_t *first, pcmk_action_t *then, then 780 lib/pacemaker/pcmk_sched_actions.c pcmk__assert(is_primitive_action(first) && is_primitive_action(then)); then 786 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk__action_optional)) { then 794 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk__action_runnable) then 795 lib/pacemaker/pcmk_sched_actions.c && pcmk_is_set(then->rsc->flags, pcmk__rsc_managed) then 796 lib/pacemaker/pcmk_sched_actions.c && (first->rsc == then->rsc)) { then 805 lib/pacemaker/pcmk_sched_actions.c first->uuid, then->uuid, reason); then 809 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk__action_optional, then); then 813 lib/pacemaker/pcmk_sched_actions.c if (!pcmk_is_set(then->flags, pcmk__action_optional)) { then 814 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk__action_optional, then); then 818 lib/pacemaker/pcmk_sched_actions.c if (!pcmk_is_set(then->flags, pcmk__action_migratable)) { then 819 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk__action_migratable, then); then 825 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk__action_runnable, first); then 852 lib/pacemaker/pcmk_sched_actions.c pcmk__update_ordered_actions(pcmk_action_t *first, pcmk_action_t *then, then 861 lib/pacemaker/pcmk_sched_actions.c pcmk__assert((first != NULL) && (then != NULL) && (scheduler != NULL)); then 863 lib/pacemaker/pcmk_sched_actions.c then_flags = then->flags; then 866 lib/pacemaker/pcmk_sched_actions.c handle_asymmetric_ordering(first, then); then 876 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk__action_optional, then); then 880 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk__action_migratable)) { then 881 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk__action_migratable, then); then 886 lib/pacemaker/pcmk_sched_actions.c && (then->rsc != NULL) then 887 lib/pacemaker/pcmk_sched_actions.c && (then->rsc->priv->orig_role == pcmk_role_promoted) then 889 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk__action_optional)) { then 891 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk__action_optional, then); then 894 lib/pacemaker/pcmk_sched_actions.c && !pcmk_is_set(then->flags, pcmk__action_migratable)) { then 895 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk__action_migratable, then); then 902 lib/pacemaker/pcmk_sched_actions.c if (!pcmk_all_flags_set(then->flags, pcmk__action_migratable then 904 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk__action_runnable, then); then 907 lib/pacemaker/pcmk_sched_actions.c if (!pcmk_is_set(then->flags, pcmk__action_optional)) { then 908 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(first, pcmk__action_optional, then); then 916 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk__action_migratable, first); then 917 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_action_flags(then, pcmk__action_pseudo); then 922 lib/pacemaker/pcmk_sched_actions.c && pcmk_is_set(then->flags, pcmk__action_runnable) then 925 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk__action_runnable, first); then 926 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk__action_migratable, first); then 931 lib/pacemaker/pcmk_sched_actions.c && pcmk_is_set(then->flags, pcmk__action_optional) then 935 lib/pacemaker/pcmk_sched_actions.c clear_action_flag_because(then, pcmk__action_optional, first); then 939 lib/pacemaker/pcmk_sched_actions.c handle_restart_ordering(first, then, filter); then 942 lib/pacemaker/pcmk_sched_actions.c if (then_flags != then->flags) { then 944 lib/pacemaker/pcmk_sched_actions.c pcmk__rsc_trace(then->rsc, then 947 lib/pacemaker/pcmk_sched_actions.c then->uuid, pcmk__node_name(then->node), then 948 lib/pacemaker/pcmk_sched_actions.c then->flags, then_flags, first->uuid, first->flags); then 950 lib/pacemaker/pcmk_sched_actions.c if ((then->rsc != NULL) && (then->rsc->priv->parent != NULL)) { then 952 lib/pacemaker/pcmk_sched_actions.c pcmk__update_action_for_orderings(then, scheduler); then 962 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 1400 lib/pacemaker/pcmk_sched_instances.c update_interleaved_actions(pcmk_action_t *first, pcmk_action_t *then, then 1414 lib/pacemaker/pcmk_sched_instances.c instances = get_instance_list(then->rsc); then 1429 lib/pacemaker/pcmk_sched_instances.c if (unassign_if_mandatory(first, then, then_instance, type, then 1442 lib/pacemaker/pcmk_sched_instances.c then_action = find_instance_action(then, then_instance, then->task, then 1456 lib/pacemaker/pcmk_sched_instances.c filter, type, then->rsc->priv->scheduler); then 1458 lib/pacemaker/pcmk_sched_instances.c free_instance_list(then->rsc, instances); then 1472 lib/pacemaker/pcmk_sched_instances.c can_interleave_actions(const pcmk_action_t *first, const pcmk_action_t *then) then 1477 lib/pacemaker/pcmk_sched_instances.c if ((first->rsc == NULL) || (then->rsc == NULL)) { then 1479 lib/pacemaker/pcmk_sched_instances.c first->uuid, then->uuid); then 1483 lib/pacemaker/pcmk_sched_instances.c if (first->rsc == then->rsc) { then 1485 lib/pacemaker/pcmk_sched_instances.c first->uuid, then->uuid); then 1490 lib/pacemaker/pcmk_sched_instances.c || (then->rsc->priv->variant < pcmk__rsc_variant_clone)) { then 1492 lib/pacemaker/pcmk_sched_instances.c first->uuid, then->uuid); then 1496 lib/pacemaker/pcmk_sched_instances.c if (pcmk__ends_with(then->uuid, "_stop_0") then 1497 lib/pacemaker/pcmk_sched_instances.c || pcmk__ends_with(then->uuid, "_demote_0")) { then 1500 lib/pacemaker/pcmk_sched_instances.c rsc = then->rsc; then 1506 lib/pacemaker/pcmk_sched_instances.c first->uuid, then->uuid, (interleave? "" : "not "), then 1535 lib/pacemaker/pcmk_sched_instances.c const pcmk_action_t *then, const pcmk_node_t *node, then 1545 lib/pacemaker/pcmk_sched_instances.c then->task, node); then 1599 lib/pacemaker/pcmk_sched_instances.c pcmk__instance_update_ordered_actions(pcmk_action_t *first, pcmk_action_t *then, then 1604 lib/pacemaker/pcmk_sched_instances.c pcmk__assert((first != NULL) && (then != NULL) && (scheduler != NULL)); then 1606 lib/pacemaker/pcmk_sched_instances.c if (then->rsc == NULL) { then 1609 lib/pacemaker/pcmk_sched_instances.c } else if (can_interleave_actions(first, then)) { then 1610 lib/pacemaker/pcmk_sched_instances.c return update_interleaved_actions(first, then, node, filter, type); then 1614 lib/pacemaker/pcmk_sched_instances.c GList *instances = get_instance_list(then->rsc); then 1617 lib/pacemaker/pcmk_sched_instances.c changed |= pcmk__update_ordered_actions(first, then, node, flags, then 1624 lib/pacemaker/pcmk_sched_instances.c changed |= update_noninterleaved_actions(instance, first, then, then 1627 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 483 lib/pengine/utils.c order_actions(pcmk_action_t *first, pcmk_action_t *then, uint32_t flags) then 493 lib/pengine/utils.c if ((first == NULL) || (then == NULL)) { then 498 lib/pengine/utils.c first->uuid, then->uuid); then 501 lib/pengine/utils.c pcmk__assert(first != then); then 508 lib/pengine/utils.c if ((after->action == then) then 515 lib/pengine/utils.c wrapper->action = then; then 524 lib/pengine/utils.c list = then->actions_before; then 526 lib/pengine/utils.c then->actions_before = list;