order 144 include/crm/pengine/internal.h extern gboolean order_actions(action_t * lh_action, action_t * rh_action, enum pe_ordering order); order 1726 lib/pengine/utils.c order_actions(action_t * lh_action, action_t * rh_action, enum pe_ordering order) order 1732 lib/pengine/utils.c if (order == pe_order_none) { order 1750 lib/pengine/utils.c if (after->action == rh_action && (after->type & order)) { order 1757 lib/pengine/utils.c wrapper->type = order; order 1770 lib/pengine/utils.c wrapper->type = order; order 1683 pengine/allocate.c rsc_order_then(action_t * lh_action, resource_t * rsc, order_constraint_t * order) order 1688 pengine/allocate.c enum pe_ordering type = order->type; order 1691 pengine/allocate.c CRM_CHECK(order != NULL, return); order 1693 pengine/allocate.c rh_action = order->rh_action; order 1694 pengine/allocate.c crm_trace("Processing RH of ordering constraint %d", order->id); order 1700 pengine/allocate.c rh_actions = find_actions_by_task(rsc->actions, rsc, order->rh_action_task); order 1705 pengine/allocate.c " ignoring", rsc->id, order->rh_action_task); order 1714 pengine/allocate.c order->rh_action_task); order 1737 pengine/allocate.c rsc_order_first(resource_t * lh_rsc, order_constraint_t * order, pe_working_set_t * data_set) order 1741 pengine/allocate.c action_t *lh_action = order->lh_action; order 1742 pengine/allocate.c resource_t *rh_rsc = order->rh_rsc; order 1744 pengine/allocate.c crm_trace("Processing LH of ordering constraint %d", order->id); order 1751 pengine/allocate.c lh_actions = find_actions_by_task(lh_rsc->actions, lh_rsc, order->lh_action_task); order 1760 pengine/allocate.c parse_op_key(order->lh_action_task, &rsc_id, &op_type, &interval); order 1766 pengine/allocate.c lh_rsc->id, order->lh_action_task, order->id, order->rh_action_task); order 1771 pengine/allocate.c lh_rsc->id, order->lh_action_task, order->id, order->rh_action_task); order 1775 pengine/allocate.c lh_rsc->id, order->lh_action_task, order->id, order->rh_action_task); order 1788 pengine/allocate.c if (rh_rsc == NULL && order->rh_action) { order 1789 pengine/allocate.c rh_rsc = order->rh_action->rsc; order 1792 pengine/allocate.c rsc_order_then(lh_action_iter, rh_rsc, order); order 1794 pengine/allocate.c } else if (order->rh_action) { order 1795 pengine/allocate.c order_actions(lh_action_iter, order->rh_action, order->type); order 2332 pengine/allocate.c order_constraint_t *order = (order_constraint_t *) gIter->data; order 2333 pengine/allocate.c resource_t *rsc = order->lh_rsc; order 2335 pengine/allocate.c crm_trace("Applying ordering constraint: %d", order->id); order 2339 pengine/allocate.c rsc_order_first(rsc, order, data_set); order 2343 pengine/allocate.c rsc = order->rh_rsc; order 2346 pengine/allocate.c rsc_order_then(order->lh_action, rsc, order); order 2350 pengine/allocate.c order_actions(order->lh_action, order->rh_action, order->type); order 1347 pengine/constraints.c handle_migration_ordering(order_constraint_t *order, pe_working_set_t *data_set) order 1354 pengine/constraints.c if (order->lh_rsc == NULL || order->rh_rsc == NULL) { order 1356 pengine/constraints.c } else if (order->lh_rsc == order->rh_rsc) { order 1360 pengine/constraints.c } else if (is_parent(order->lh_rsc, order->rh_rsc)) { order 1362 pengine/constraints.c } else if (is_parent(order->rh_rsc, order->lh_rsc)) { order 1366 pengine/constraints.c lh_migratable = is_set(order->lh_rsc->flags, pe_rsc_allow_migrate); order 1367 pengine/constraints.c rh_migratable = is_set(order->rh_rsc->flags, pe_rsc_allow_migrate); order 1379 pengine/constraints.c lh_task = task_from_action_or_key(order->lh_action, order->lh_action_task); order 1380 pengine/constraints.c rh_task = task_from_action_or_key(order->rh_action, order->rh_action_task); order 1391 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_MIGRATED, 0), NULL, order 1392 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATE, 0), NULL, order 1403 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_START, 0), NULL, order 1404 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATE, 0), NULL, order 1418 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_STOP, 0), NULL, order 1419 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATE, 0), NULL, order 1424 pengine/constraints.c if (order->rh_rsc->partial_migration_target) { order 1425 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_STOP, 0), NULL, order 1426 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATED, 0), NULL, order 1436 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_PROMOTE, 0), NULL, order 1437 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATE, 0), NULL, order 1447 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_DEMOTE, 0), NULL, order 1448 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATE, 0), NULL, order 1453 pengine/constraints.c if (order->rh_rsc->partial_migration_target) { order 1454 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_DEMOTE, 0), NULL, order 1455 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATED, 0), NULL, order 1472 pengine/constraints.c order_constraint_t *order = NULL; order 1489 pengine/constraints.c order = calloc(1, sizeof(order_constraint_t)); order 1497 pengine/constraints.c order->id = data_set->order_id++; order 1498 pengine/constraints.c order->type = type; order 1499 pengine/constraints.c order->lh_rsc = lh_rsc; order 1500 pengine/constraints.c order->rh_rsc = rh_rsc; order 1501 pengine/constraints.c order->lh_action = lh_action; order 1502 pengine/constraints.c order->rh_action = rh_action; order 1503 pengine/constraints.c order->lh_action_task = lh_action_task; order 1504 pengine/constraints.c order->rh_action_task = rh_action_task; order 1506 pengine/constraints.c if (order->lh_action_task == NULL && lh_action) { order 1507 pengine/constraints.c order->lh_action_task = strdup(lh_action->uuid); order 1510 pengine/constraints.c if (order->rh_action_task == NULL && rh_action) { order 1511 pengine/constraints.c order->rh_action_task = strdup(rh_action->uuid); order 1514 pengine/constraints.c if (order->lh_rsc == NULL && lh_action) { order 1515 pengine/constraints.c order->lh_rsc = lh_action->rsc; order 1518 pengine/constraints.c if (order->rh_rsc == NULL && rh_action) { order 1519 pengine/constraints.c order->rh_rsc = rh_action->rsc; order 1522 pengine/constraints.c data_set->ordering_constraints = g_list_prepend(data_set->ordering_constraints, order); order 1523 pengine/constraints.c handle_migration_ordering(order, data_set); order 1525 pengine/constraints.c return order->id; order 187 pengine/graph.c action_wrapper_t *order) order 190 pengine/graph.c enum pe_ordering type = order->type; order 325 pengine/graph.c order->type = pe_order_none; order 30 pengine/utils.c order_constraint_t *order = iterator->data; order 34 pengine/utils.c free(order->lh_action_task); order 35 pengine/utils.c free(order->rh_action_task); order 36 pengine/utils.c free(order);