order             387 include/crm/pengine/internal.h extern gboolean order_actions(pe_action_t * lh_action, pe_action_t * rh_action, enum pe_ordering order);
order             311 lib/pacemaker/libpacemaker_private.h                             pe_action_t *action, enum pe_ordering order);
order             796 lib/pacemaker/libpacemaker_private.h void pcmk__order_migration_equivalents(pe__ordering_t *order);
order             221 lib/pacemaker/pcmk_sched_actions.c                                  pe_action_wrapper_t *order,
order             233 lib/pacemaker/pcmk_sched_actions.c     if (pcmk_is_set(order->type, pe_order_implies_then_on_node)) {
order             239 lib/pacemaker/pcmk_sched_actions.c         pe__clear_order_flags(order->type, pe_order_implies_then_on_node);
order             240 lib/pacemaker/pcmk_sched_actions.c         pe__set_order_flags(order->type, pe_order_implies_then);
order             248 lib/pacemaker/pcmk_sched_actions.c     if (pcmk_is_set(order->type, pe_order_implies_then)) {
order             266 lib/pacemaker/pcmk_sched_actions.c     if (pcmk_is_set(order->type, pe_order_restart) && (then->rsc != NULL)) {
order             278 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             311 lib/pacemaker/pcmk_sched_actions.c     if (pcmk_is_set(order->type, pe_order_one_or_more)) {
order             339 lib/pacemaker/pcmk_sched_actions.c     if (pcmk_is_set(order->type, pe_order_probe) && (then->rsc != NULL)) {
order             346 lib/pacemaker/pcmk_sched_actions.c             order->type = pe_order_none;
order             360 lib/pacemaker/pcmk_sched_actions.c     if (pcmk_is_set(order->type, pe_order_runnable_left)) {
order             380 lib/pacemaker/pcmk_sched_actions.c     if (pcmk_is_set(order->type, pe_order_implies_first_migratable)) {
order             395 lib/pacemaker/pcmk_sched_actions.c     if (pcmk_is_set(order->type, pe_order_pseudo_left)) {
order             409 lib/pacemaker/pcmk_sched_actions.c     if (pcmk_is_set(order->type, pe_order_optional)) {
order             423 lib/pacemaker/pcmk_sched_actions.c     if (pcmk_is_set(order->type, pe_order_asymmetrical)) {
order             438 lib/pacemaker/pcmk_sched_actions.c         && pcmk_is_set(order->type, pe_order_implies_then_printed)
order             447 lib/pacemaker/pcmk_sched_actions.c     if (pcmk_is_set(order->type, pe_order_implies_first_printed)
order             456 lib/pacemaker/pcmk_sched_actions.c     if (pcmk_any_flags_set(order->type, pe_order_implies_then
order             310 lib/pacemaker/pcmk_sched_fencing.c                        enum pe_ordering order)
order             330 lib/pacemaker/pcmk_sched_fencing.c         order_actions(unfence, action, order);
order             257 lib/pacemaker/pcmk_sched_migration.c pcmk__order_migration_equivalents(pe__ordering_t *order)
order             265 lib/pacemaker/pcmk_sched_migration.c     if ((order->lh_rsc == NULL) || (order->rh_rsc == NULL)
order             266 lib/pacemaker/pcmk_sched_migration.c         || (order->lh_rsc == order->rh_rsc)
order             267 lib/pacemaker/pcmk_sched_migration.c         || is_parent(order->lh_rsc, order->rh_rsc)
order             268 lib/pacemaker/pcmk_sched_migration.c         || is_parent(order->rh_rsc, order->lh_rsc)) {
order             273 lib/pacemaker/pcmk_sched_migration.c     first_migratable = pcmk_is_set(order->lh_rsc->flags, pe_rsc_allow_migrate);
order             274 lib/pacemaker/pcmk_sched_migration.c     then_migratable = pcmk_is_set(order->rh_rsc->flags, pe_rsc_allow_migrate);
order             280 lib/pacemaker/pcmk_sched_migration.c     first_task = task_from_action_or_key(order->lh_action,
order             281 lib/pacemaker/pcmk_sched_migration.c                                          order->lh_action_task);
order             282 lib/pacemaker/pcmk_sched_migration.c     then_task = task_from_action_or_key(order->rh_action,
order             283 lib/pacemaker/pcmk_sched_migration.c                                         order->rh_action_task);
order             293 lib/pacemaker/pcmk_sched_migration.c             pcmk__new_ordering(order->lh_rsc,
order             294 lib/pacemaker/pcmk_sched_migration.c                                pcmk__op_key(order->lh_rsc->id, RSC_MIGRATED, 0),
order             295 lib/pacemaker/pcmk_sched_migration.c                                NULL, order->rh_rsc,
order             296 lib/pacemaker/pcmk_sched_migration.c                                pcmk__op_key(order->rh_rsc->id, RSC_MIGRATE, 0),
order             297 lib/pacemaker/pcmk_sched_migration.c                                NULL, flags, order->lh_rsc->cluster);
order             309 lib/pacemaker/pcmk_sched_migration.c             pcmk__new_ordering(order->lh_rsc,
order             310 lib/pacemaker/pcmk_sched_migration.c                                pcmk__op_key(order->lh_rsc->id, RSC_START, 0),
order             311 lib/pacemaker/pcmk_sched_migration.c                                NULL, order->rh_rsc,
order             312 lib/pacemaker/pcmk_sched_migration.c                                pcmk__op_key(order->rh_rsc->id, RSC_MIGRATE, 0),
order             313 lib/pacemaker/pcmk_sched_migration.c                                NULL, flags, order->lh_rsc->cluster);
order             329 lib/pacemaker/pcmk_sched_migration.c         pcmk__new_ordering(order->lh_rsc,
order             330 lib/pacemaker/pcmk_sched_migration.c                            pcmk__op_key(order->lh_rsc->id, RSC_STOP, 0), NULL,
order             331 lib/pacemaker/pcmk_sched_migration.c                            order->rh_rsc,
order             332 lib/pacemaker/pcmk_sched_migration.c                            pcmk__op_key(order->rh_rsc->id, RSC_MIGRATE, 0),
order             333 lib/pacemaker/pcmk_sched_migration.c                            NULL, flags, order->lh_rsc->cluster);
order             336 lib/pacemaker/pcmk_sched_migration.c         if (order->rh_rsc->partial_migration_target) {
order             337 lib/pacemaker/pcmk_sched_migration.c             pcmk__new_ordering(order->lh_rsc,
order             338 lib/pacemaker/pcmk_sched_migration.c                                pcmk__op_key(order->lh_rsc->id, RSC_STOP, 0),
order             339 lib/pacemaker/pcmk_sched_migration.c                                NULL, order->rh_rsc,
order             340 lib/pacemaker/pcmk_sched_migration.c                                pcmk__op_key(order->rh_rsc->id, RSC_MIGRATED, 0),
order             341 lib/pacemaker/pcmk_sched_migration.c                                NULL, flags, order->lh_rsc->cluster);
order             352 lib/pacemaker/pcmk_sched_migration.c             pcmk__new_ordering(order->lh_rsc,
order             353 lib/pacemaker/pcmk_sched_migration.c                                pcmk__op_key(order->lh_rsc->id, RSC_PROMOTE, 0),
order             354 lib/pacemaker/pcmk_sched_migration.c                                NULL, order->rh_rsc,
order             355 lib/pacemaker/pcmk_sched_migration.c                                pcmk__op_key(order->rh_rsc->id, RSC_MIGRATE, 0),
order             356 lib/pacemaker/pcmk_sched_migration.c                                NULL, flags, order->lh_rsc->cluster);
order             367 lib/pacemaker/pcmk_sched_migration.c             pcmk__new_ordering(order->lh_rsc,
order             368 lib/pacemaker/pcmk_sched_migration.c                                pcmk__op_key(order->lh_rsc->id, RSC_DEMOTE, 0),
order             369 lib/pacemaker/pcmk_sched_migration.c                                NULL, order->rh_rsc,
order             370 lib/pacemaker/pcmk_sched_migration.c                                pcmk__op_key(order->rh_rsc->id, RSC_MIGRATE, 0),
order             371 lib/pacemaker/pcmk_sched_migration.c                                NULL, flags, order->lh_rsc->cluster);
order             374 lib/pacemaker/pcmk_sched_migration.c             if (order->rh_rsc->partial_migration_target) {
order             375 lib/pacemaker/pcmk_sched_migration.c                 pcmk__new_ordering(order->lh_rsc,
order             376 lib/pacemaker/pcmk_sched_migration.c                                    pcmk__op_key(order->lh_rsc->id, RSC_DEMOTE, 0),
order             377 lib/pacemaker/pcmk_sched_migration.c                                    NULL, order->rh_rsc,
order             378 lib/pacemaker/pcmk_sched_migration.c                                    pcmk__op_key(order->rh_rsc->id, RSC_MIGRATED, 0),
order             379 lib/pacemaker/pcmk_sched_migration.c                                    NULL, flags, order->lh_rsc->cluster);
order             527 lib/pacemaker/pcmk_sched_ordering.c     pe__ordering_t *order = NULL;
order             541 lib/pacemaker/pcmk_sched_ordering.c     order = calloc(1, sizeof(pe__ordering_t));
order             542 lib/pacemaker/pcmk_sched_ordering.c     CRM_ASSERT(order != NULL);
order             544 lib/pacemaker/pcmk_sched_ordering.c     order->id = data_set->order_id++;
order             545 lib/pacemaker/pcmk_sched_ordering.c     order->flags = flags;
order             546 lib/pacemaker/pcmk_sched_ordering.c     order->lh_rsc = first_rsc;
order             547 lib/pacemaker/pcmk_sched_ordering.c     order->rh_rsc = then_rsc;
order             548 lib/pacemaker/pcmk_sched_ordering.c     order->lh_action = first_action;
order             549 lib/pacemaker/pcmk_sched_ordering.c     order->rh_action = then_action;
order             550 lib/pacemaker/pcmk_sched_ordering.c     order->lh_action_task = first_action_task;
order             551 lib/pacemaker/pcmk_sched_ordering.c     order->rh_action_task = then_action_task;
order             553 lib/pacemaker/pcmk_sched_ordering.c     if ((order->lh_action_task == NULL) && (first_action != NULL)) {
order             554 lib/pacemaker/pcmk_sched_ordering.c         order->lh_action_task = strdup(first_action->uuid);
order             557 lib/pacemaker/pcmk_sched_ordering.c     if ((order->rh_action_task == NULL) && (then_action != NULL)) {
order             558 lib/pacemaker/pcmk_sched_ordering.c         order->rh_action_task = strdup(then_action->uuid);
order             561 lib/pacemaker/pcmk_sched_ordering.c     if ((order->lh_rsc == NULL) && (first_action != NULL)) {
order             562 lib/pacemaker/pcmk_sched_ordering.c         order->lh_rsc = first_action->rsc;
order             565 lib/pacemaker/pcmk_sched_ordering.c     if ((order->rh_rsc == NULL) && (then_action != NULL)) {
order             566 lib/pacemaker/pcmk_sched_ordering.c         order->rh_rsc = then_action->rsc;
order             575 lib/pacemaker/pcmk_sched_ordering.c                                                     order);
order             576 lib/pacemaker/pcmk_sched_ordering.c     pcmk__order_migration_equivalents(order);
order            1222 lib/pacemaker/pcmk_sched_ordering.c                              const pe_resource_t *rsc, pe__ordering_t *order)
order            1227 lib/pacemaker/pcmk_sched_ordering.c     CRM_CHECK((rsc != NULL) && (order != NULL), return);
order            1229 lib/pacemaker/pcmk_sched_ordering.c     flags = order->flags;
order            1231 lib/pacemaker/pcmk_sched_ordering.c                  order->id, rsc->id);
order            1233 lib/pacemaker/pcmk_sched_ordering.c     if (order->rh_action != NULL) {
order            1234 lib/pacemaker/pcmk_sched_ordering.c         then_actions = g_list_prepend(NULL, order->rh_action);
order            1237 lib/pacemaker/pcmk_sched_ordering.c         then_actions = find_actions_by_task(rsc, order->rh_action_task);
order            1242 lib/pacemaker/pcmk_sched_ordering.c                      order->id, order->rh_action_task, rsc->id);
order            1251 lib/pacemaker/pcmk_sched_ordering.c                      first_action->uuid, order->rh_action_task, rsc->id);
order            1258 lib/pacemaker/pcmk_sched_ordering.c                      order->id, rsc->id);
order            1272 lib/pacemaker/pcmk_sched_ordering.c                      order->lh_action_task, order->lh_rsc->id);
order            1280 lib/pacemaker/pcmk_sched_ordering.c rsc_order_first(pe_resource_t *first_rsc, pe__ordering_t *order,
order            1284 lib/pacemaker/pcmk_sched_ordering.c     pe_action_t *first_action = order->lh_action;
order            1285 lib/pacemaker/pcmk_sched_ordering.c     pe_resource_t *then_rsc = order->rh_rsc;
order            1289 lib/pacemaker/pcmk_sched_ordering.c                  order->id, first_rsc->id);
order            1295 lib/pacemaker/pcmk_sched_ordering.c         first_actions = find_actions_by_task(first_rsc, order->lh_action_task);
order            1301 lib/pacemaker/pcmk_sched_ordering.c                      order->id, order->lh_action_task, first_rsc->id);
order            1308 lib/pacemaker/pcmk_sched_ordering.c         parse_op_key(order->lh_action_task, NULL, &op_type, &interval_ms);
order            1316 lib/pacemaker/pcmk_sched_ordering.c                          order->id, order->lh_action_task, first_rsc->id);
order            1323 lib/pacemaker/pcmk_sched_ordering.c                          order->id, order->lh_action_task, first_rsc->id);
order            1328 lib/pacemaker/pcmk_sched_ordering.c                          order->lh_action_task, first_rsc->id, order->id);
order            1338 lib/pacemaker/pcmk_sched_ordering.c         if (order->rh_action == NULL) {
order            1340 lib/pacemaker/pcmk_sched_ordering.c                          order->id);
order            1343 lib/pacemaker/pcmk_sched_ordering.c         then_rsc = order->rh_action->rsc;
order            1349 lib/pacemaker/pcmk_sched_ordering.c             order_actions(first_action, order->rh_action, order->flags);
order            1352 lib/pacemaker/pcmk_sched_ordering.c             order_resource_actions_after(first_action, then_rsc, order);
order            1381 lib/pacemaker/pcmk_sched_ordering.c         pe__ordering_t *order = gIter->data;
order            1382 lib/pacemaker/pcmk_sched_ordering.c         pe_resource_t *rsc = order->lh_rsc;
order            1385 lib/pacemaker/pcmk_sched_ordering.c             rsc_order_first(rsc, order, data_set);
order            1389 lib/pacemaker/pcmk_sched_ordering.c         rsc = order->rh_rsc;
order            1391 lib/pacemaker/pcmk_sched_ordering.c             order_resource_actions_after(order->lh_action, rsc, order);
order            1395 lib/pacemaker/pcmk_sched_ordering.c                       order->id);
order            1396 lib/pacemaker/pcmk_sched_ordering.c             order_actions(order->lh_action, order->rh_action, order->flags);
order             340 lib/pacemaker/pcmk_sched_probes.c         pe__ordering_t *order = iter->data;
order             346 lib/pacemaker/pcmk_sched_probes.c         if (order->flags == pe_order_none) {
order             351 lib/pacemaker/pcmk_sched_probes.c         if ((order->lh_rsc == NULL) || (order->lh_rsc == order->rh_rsc)) {
order             356 lib/pacemaker/pcmk_sched_probes.c         if (((order->lh_action == NULL) && (order->lh_action_task == NULL)) ||
order             357 lib/pacemaker/pcmk_sched_probes.c             ((order->rh_action == NULL) && (order->rh_action_task == NULL))) {
order             362 lib/pacemaker/pcmk_sched_probes.c         if ((order->lh_action != NULL)
order             363 lib/pacemaker/pcmk_sched_probes.c             && !pcmk__str_eq(order->lh_action->task, RSC_STOP, pcmk__str_none)) {
order             365 lib/pacemaker/pcmk_sched_probes.c         } else if ((order->lh_action == NULL)
order             366 lib/pacemaker/pcmk_sched_probes.c                    && !pcmk__ends_with(order->lh_action_task, "_" RSC_STOP "_0")) {
order             374 lib/pacemaker/pcmk_sched_probes.c         if ((order->rh_rsc != NULL)
order             375 lib/pacemaker/pcmk_sched_probes.c             && (order->lh_rsc->container == order->rh_rsc)) {
order             377 lib/pacemaker/pcmk_sched_probes.c             if ((order->rh_action != NULL)
order             378 lib/pacemaker/pcmk_sched_probes.c                 && pcmk__str_eq(order->rh_action->task, RSC_STOP,
order             381 lib/pacemaker/pcmk_sched_probes.c             } else if ((order->rh_action == NULL)
order             382 lib/pacemaker/pcmk_sched_probes.c                        && pcmk__ends_with(order->rh_action_task,
order             389 lib/pacemaker/pcmk_sched_probes.c         if (pcmk_is_set(order->flags, pe_order_apply_first_non_migratable)) {
order             393 lib/pacemaker/pcmk_sched_probes.c         if (pcmk_is_set(order->flags, pe_order_same_node)) {
order             398 lib/pacemaker/pcmk_sched_probes.c         if ((order->flags == pe_order_anti_colocation)
order             399 lib/pacemaker/pcmk_sched_probes.c             || (order->flags == pe_order_load)) {
order             400 lib/pacemaker/pcmk_sched_probes.c             order_flags = order->flags;
order             404 lib/pacemaker/pcmk_sched_probes.c         probes = pe__resource_actions(order->lh_rsc, NULL, RSC_STATUS, FALSE);
order             410 lib/pacemaker/pcmk_sched_probes.c         if (order->rh_action != NULL) {
order             411 lib/pacemaker/pcmk_sched_probes.c             then_actions = g_list_prepend(NULL, order->rh_action);
order             413 lib/pacemaker/pcmk_sched_probes.c         } else if (order->rh_rsc != NULL) {
order             414 lib/pacemaker/pcmk_sched_probes.c             then_actions = find_actions(order->rh_rsc->actions,
order             415 lib/pacemaker/pcmk_sched_probes.c                                         order->rh_action_task, NULL);
order             424 lib/pacemaker/pcmk_sched_probes.c                   order->lh_action? order->lh_action->uuid : order->lh_action_task,
order             425 lib/pacemaker/pcmk_sched_probes.c                   order->rh_action? order->rh_action->uuid : order->rh_action_task,
order             426 lib/pacemaker/pcmk_sched_probes.c                   order->id, order->flags);
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             474 lib/pengine/utils.c order_actions(pe_action_t * lh_action, pe_action_t * rh_action, enum pe_ordering order)
order             480 lib/pengine/utils.c     if (order == pe_order_none) {
order             499 lib/pengine/utils.c         if (after->action == rh_action && (after->type & order)) {
order             506 lib/pengine/utils.c     wrapper->type = order;
order             513 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)