order 344 include/crm/pengine/internal.h extern gboolean order_actions(pe_action_t * lh_action, pe_action_t * rh_action, enum pe_ordering order); order 76 lib/pacemaker/libpacemaker_private.h pe_action_t *action, enum pe_ordering order, order 224 lib/pacemaker/pcmk_sched_actions.c pe_action_wrapper_t *order, order 236 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->type, pe_order_implies_then_on_node)) { order 242 lib/pacemaker/pcmk_sched_actions.c pe__clear_order_flags(order->type, pe_order_implies_then_on_node); order 243 lib/pacemaker/pcmk_sched_actions.c pe__set_order_flags(order->type, pe_order_implies_then); order 251 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->type, pe_order_implies_then)) { order 268 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->type, pe_order_restart) && (then->rsc != NULL)) { order 279 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->type, pe_order_implies_first)) { order 296 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->type, pe_order_promoted_implies_first)) { order 310 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->type, pe_order_one_or_more)) { order 337 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->type, pe_order_probe) && (then->rsc != NULL)) { order 344 lib/pacemaker/pcmk_sched_actions.c order->type = pe_order_none; order 357 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->type, pe_order_runnable_left)) { order 376 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->type, pe_order_implies_first_migratable)) { order 388 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->type, pe_order_pseudo_left)) { order 401 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->type, pe_order_optional)) { order 414 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->type, pe_order_asymmetrical)) { order 428 lib/pacemaker/pcmk_sched_actions.c && pcmk_is_set(order->type, pe_order_implies_then_printed) order 437 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->type, pe_order_implies_first_printed) order 446 lib/pacemaker/pcmk_sched_actions.c if (pcmk_any_flags_set(order->type, pe_order_implies_then order 311 lib/pacemaker/pcmk_sched_fencing.c enum pe_ordering order, pe_working_set_t *data_set) order 329 lib/pacemaker/pcmk_sched_fencing.c order_actions(unfence, action, order); order 510 lib/pacemaker/pcmk_sched_ordering.c handle_migration_ordering(pe__ordering_t *order, pe_working_set_t *data_set) order 518 lib/pacemaker/pcmk_sched_ordering.c if ((order->lh_rsc == NULL) || (order->rh_rsc == NULL) order 519 lib/pacemaker/pcmk_sched_ordering.c || (order->lh_rsc == order->rh_rsc)) { order 524 lib/pacemaker/pcmk_sched_ordering.c if (is_parent(order->lh_rsc, order->rh_rsc) order 525 lib/pacemaker/pcmk_sched_ordering.c || is_parent(order->rh_rsc, order->lh_rsc)) { order 530 lib/pacemaker/pcmk_sched_ordering.c lh_migratable = pcmk_is_set(order->lh_rsc->flags, pe_rsc_allow_migrate); order 531 lib/pacemaker/pcmk_sched_ordering.c rh_migratable = pcmk_is_set(order->rh_rsc->flags, pe_rsc_allow_migrate); order 537 lib/pacemaker/pcmk_sched_ordering.c lh_task = task_from_action_or_key(order->lh_action, order->lh_action_task); order 538 lib/pacemaker/pcmk_sched_ordering.c rh_task = task_from_action_or_key(order->rh_action, order->rh_action_task); order 551 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, order 552 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_MIGRATED, 0), order 553 lib/pacemaker/pcmk_sched_ordering.c NULL, order->rh_rsc, order 554 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->rh_rsc->id, RSC_MIGRATE, 0), order 567 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, order 568 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_START, 0), order 569 lib/pacemaker/pcmk_sched_ordering.c NULL, order->rh_rsc, order 570 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->rh_rsc->id, RSC_MIGRATE, 0), order 586 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, order 587 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_STOP, 0), NULL, order 588 lib/pacemaker/pcmk_sched_ordering.c order->rh_rsc, order 589 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->rh_rsc->id, RSC_MIGRATE, 0), order 593 lib/pacemaker/pcmk_sched_ordering.c if (order->rh_rsc->partial_migration_target) { order 594 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, order 595 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_STOP, 0), order 596 lib/pacemaker/pcmk_sched_ordering.c NULL, order->rh_rsc, order 597 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->rh_rsc->id, RSC_MIGRATED, 0), order 609 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, order 610 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_PROMOTE, 0), order 611 lib/pacemaker/pcmk_sched_ordering.c NULL, order->rh_rsc, order 612 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->rh_rsc->id, RSC_MIGRATE, 0), order 624 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, order 625 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_DEMOTE, 0), order 626 lib/pacemaker/pcmk_sched_ordering.c NULL, order->rh_rsc, order 627 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->rh_rsc->id, RSC_MIGRATE, 0), order 631 lib/pacemaker/pcmk_sched_ordering.c if (order->rh_rsc->partial_migration_target) { order 632 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, order 633 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_DEMOTE, 0), order 634 lib/pacemaker/pcmk_sched_ordering.c NULL, order->rh_rsc, order 635 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->rh_rsc->id, RSC_MIGRATED, 0), order 678 lib/pacemaker/pcmk_sched_ordering.c pe__ordering_t *order = NULL; order 692 lib/pacemaker/pcmk_sched_ordering.c order = calloc(1, sizeof(pe__ordering_t)); order 693 lib/pacemaker/pcmk_sched_ordering.c CRM_ASSERT(order != NULL); order 695 lib/pacemaker/pcmk_sched_ordering.c order->id = data_set->order_id++; order 696 lib/pacemaker/pcmk_sched_ordering.c order->type = type; order 697 lib/pacemaker/pcmk_sched_ordering.c order->lh_rsc = lh_rsc; order 698 lib/pacemaker/pcmk_sched_ordering.c order->rh_rsc = rh_rsc; order 699 lib/pacemaker/pcmk_sched_ordering.c order->lh_action = lh_action; order 700 lib/pacemaker/pcmk_sched_ordering.c order->rh_action = rh_action; order 701 lib/pacemaker/pcmk_sched_ordering.c order->lh_action_task = lh_action_task; order 702 lib/pacemaker/pcmk_sched_ordering.c order->rh_action_task = rh_action_task; order 704 lib/pacemaker/pcmk_sched_ordering.c if ((order->lh_action_task == NULL) && (lh_action != NULL)) { order 705 lib/pacemaker/pcmk_sched_ordering.c order->lh_action_task = strdup(lh_action->uuid); order 708 lib/pacemaker/pcmk_sched_ordering.c if ((order->rh_action_task == NULL) && (rh_action != NULL)) { order 709 lib/pacemaker/pcmk_sched_ordering.c order->rh_action_task = strdup(rh_action->uuid); order 712 lib/pacemaker/pcmk_sched_ordering.c if ((order->lh_rsc == NULL) && (lh_action != NULL)) { order 713 lib/pacemaker/pcmk_sched_ordering.c order->lh_rsc = lh_action->rsc; order 716 lib/pacemaker/pcmk_sched_ordering.c if ((order->rh_rsc == NULL) && (rh_action != NULL)) { order 717 lib/pacemaker/pcmk_sched_ordering.c order->rh_rsc = rh_action->rsc; order 726 lib/pacemaker/pcmk_sched_ordering.c order); order 727 lib/pacemaker/pcmk_sched_ordering.c handle_migration_ordering(order, data_set); order 1365 lib/pacemaker/pcmk_sched_ordering.c pe__ordering_t *order) order 1372 lib/pacemaker/pcmk_sched_ordering.c CRM_CHECK(order != NULL, return); order 1374 lib/pacemaker/pcmk_sched_ordering.c type = order->type; order 1375 lib/pacemaker/pcmk_sched_ordering.c rh_action = order->rh_action; order 1376 lib/pacemaker/pcmk_sched_ordering.c crm_trace("Applying ordering constraint %d (then: %s)", order->id, rsc->id); order 1382 lib/pacemaker/pcmk_sched_ordering.c rh_actions = find_actions_by_task(rsc, order->rh_action_task); order 1388 lib/pacemaker/pcmk_sched_ordering.c order->id, order->rh_action_task, rsc->id); order 1396 lib/pacemaker/pcmk_sched_ordering.c lh_action->uuid, order->rh_action_task); order 1418 lib/pacemaker/pcmk_sched_ordering.c rsc_order_first(pe_resource_t *lh_rsc, pe__ordering_t *order, order 1422 lib/pacemaker/pcmk_sched_ordering.c pe_action_t *lh_action = order->lh_action; order 1423 lib/pacemaker/pcmk_sched_ordering.c pe_resource_t *rh_rsc = order->rh_rsc; order 1427 lib/pacemaker/pcmk_sched_ordering.c order->id, lh_rsc->id); order 1433 lib/pacemaker/pcmk_sched_ordering.c lh_actions = find_actions_by_task(lh_rsc, order->lh_action_task); order 1439 lib/pacemaker/pcmk_sched_ordering.c order->id, order->lh_action_task, lh_rsc->id); order 1446 lib/pacemaker/pcmk_sched_ordering.c parse_op_key(order->lh_action_task, NULL, &op_type, &interval_ms); order 1454 lib/pacemaker/pcmk_sched_ordering.c order->id, order->lh_action_task, lh_rsc->id); order 1461 lib/pacemaker/pcmk_sched_ordering.c order->id, order->lh_action_task, lh_rsc->id); order 1466 lib/pacemaker/pcmk_sched_ordering.c order->lh_action_task, lh_rsc->id, order->id); order 1475 lib/pacemaker/pcmk_sched_ordering.c if (order->rh_action == NULL) { order 1477 lib/pacemaker/pcmk_sched_ordering.c order->id); order 1480 lib/pacemaker/pcmk_sched_ordering.c rh_rsc = order->rh_action->rsc; order 1486 lib/pacemaker/pcmk_sched_ordering.c order_actions(lh_action, order->rh_action, order->type); order 1489 lib/pacemaker/pcmk_sched_ordering.c rsc_order_then(lh_action, rh_rsc, order); order 1512 lib/pacemaker/pcmk_sched_ordering.c pe__ordering_t *order = gIter->data; order 1513 lib/pacemaker/pcmk_sched_ordering.c pe_resource_t *rsc = order->lh_rsc; order 1516 lib/pacemaker/pcmk_sched_ordering.c rsc_order_first(rsc, order, data_set); order 1520 lib/pacemaker/pcmk_sched_ordering.c rsc = order->rh_rsc; order 1522 lib/pacemaker/pcmk_sched_ordering.c rsc_order_then(order->lh_action, rsc, order); order 1526 lib/pacemaker/pcmk_sched_ordering.c order->id); order 1527 lib/pacemaker/pcmk_sched_ordering.c order_actions(order->lh_action, order->rh_action, order->type); order 72 lib/pacemaker/pcmk_sched_probes.c pe__ordering_t *order = iter->data; order 78 lib/pacemaker/pcmk_sched_probes.c if (order->type == pe_order_none) { order 83 lib/pacemaker/pcmk_sched_probes.c if ((order->lh_rsc == NULL) || (order->lh_rsc == order->rh_rsc)) { order 88 lib/pacemaker/pcmk_sched_probes.c if (((order->lh_action == NULL) && (order->lh_action_task == NULL)) || order 89 lib/pacemaker/pcmk_sched_probes.c ((order->rh_action == NULL) && (order->rh_action_task == NULL))) { order 94 lib/pacemaker/pcmk_sched_probes.c if ((order->lh_action != NULL) order 95 lib/pacemaker/pcmk_sched_probes.c && !pcmk__str_eq(order->lh_action->task, RSC_STOP, pcmk__str_none)) { order 97 lib/pacemaker/pcmk_sched_probes.c } else if ((order->lh_action == NULL) order 98 lib/pacemaker/pcmk_sched_probes.c && !pcmk__ends_with(order->lh_action_task, "_" RSC_STOP "_0")) { order 106 lib/pacemaker/pcmk_sched_probes.c if ((order->rh_rsc != NULL) order 107 lib/pacemaker/pcmk_sched_probes.c && (order->lh_rsc->container == order->rh_rsc)) { order 109 lib/pacemaker/pcmk_sched_probes.c if ((order->rh_action != NULL) order 110 lib/pacemaker/pcmk_sched_probes.c && pcmk__str_eq(order->rh_action->task, RSC_STOP, order 113 lib/pacemaker/pcmk_sched_probes.c } else if ((order->rh_action == NULL) order 114 lib/pacemaker/pcmk_sched_probes.c && pcmk__ends_with(order->rh_action_task, order 121 lib/pacemaker/pcmk_sched_probes.c if (pcmk_is_set(order->type, pe_order_apply_first_non_migratable)) { order 125 lib/pacemaker/pcmk_sched_probes.c if (pcmk_is_set(order->type, pe_order_same_node)) { order 130 lib/pacemaker/pcmk_sched_probes.c if ((order->type == pe_order_anti_colocation) order 131 lib/pacemaker/pcmk_sched_probes.c || (order->type == pe_order_load)) { order 132 lib/pacemaker/pcmk_sched_probes.c order_type = order->type; order 136 lib/pacemaker/pcmk_sched_probes.c probes = pe__resource_actions(order->lh_rsc, NULL, RSC_STATUS, FALSE); order 142 lib/pacemaker/pcmk_sched_probes.c if (order->rh_action != NULL) { order 143 lib/pacemaker/pcmk_sched_probes.c then_actions = g_list_prepend(NULL, order->rh_action); order 145 lib/pacemaker/pcmk_sched_probes.c } else if (order->rh_rsc != NULL) { order 146 lib/pacemaker/pcmk_sched_probes.c then_actions = find_actions(order->rh_rsc->actions, order 147 lib/pacemaker/pcmk_sched_probes.c order->rh_action_task, NULL); order 156 lib/pacemaker/pcmk_sched_probes.c order->lh_action? order->lh_action->uuid : order->lh_action_task, order 157 lib/pacemaker/pcmk_sched_probes.c order->rh_action? order->rh_action->uuid : order->rh_action_task, order 158 lib/pacemaker/pcmk_sched_probes.c order->id, order->type); order 238 lib/pengine/status.c pe__ordering_t *order = iterator->data; order 242 lib/pengine/status.c free(order->lh_action_task); order 243 lib/pengine/status.c free(order->rh_action_task); order 244 lib/pengine/status.c free(order); order 1906 lib/pengine/utils.c order_actions(pe_action_t * lh_action, pe_action_t * rh_action, enum pe_ordering order) order 1912 lib/pengine/utils.c if (order == pe_order_none) { order 1931 lib/pengine/utils.c if (after->action == rh_action && (after->type & order)) { order 1938 lib/pengine/utils.c wrapper->type = order; order 1945 lib/pengine/utils.c wrapper->type = order; order 94 maint/gnulib/lib/filevercmp.c int s1_c = (s1_pos == s1_len) ? 0 : order (s1[s1_pos]); order 95 maint/gnulib/lib/filevercmp.c int s2_c = (s2_pos == s2_len) ? 0 : order (s2[s2_pos]); order 4449 maint/gnulib/lib/mini-gmp.c mpz_import (mpz_t r, size_t count, int order, size_t size, int endian, order 4468 maint/gnulib/lib/mini-gmp.c assert (order == 1 || order == -1); order 4476 maint/gnulib/lib/mini-gmp.c word_step = (order != endian) ? 2 * size : 0; order 4480 maint/gnulib/lib/mini-gmp.c if (order == 1) order 4517 maint/gnulib/lib/mini-gmp.c mpz_export (void *r, size_t *countp, int order, size_t size, int endian, order 4526 maint/gnulib/lib/mini-gmp.c assert (order == 1 || order == -1); order 4570 maint/gnulib/lib/mini-gmp.c word_step = (order != endian) ? 2 * size : 0; order 4574 maint/gnulib/lib/mini-gmp.c if (order == 1) order 171 maint/gnulib/tests/test-tsearch.c mangle_tree (enum order how, enum action what, void **root, int lag)