order 378 include/crm/pengine/internal.h extern gboolean order_actions(pe_action_t * lh_action, pe_action_t * rh_action, enum pe_ordering order); order 377 lib/pacemaker/libpacemaker_private.h pe_action_t *action, enum pe_ordering order); order 959 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 304 lib/pacemaker/pcmk_sched_fencing.c pe_action_t *action, enum pe_ordering order) order 324 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 526 lib/pacemaker/pcmk_sched_ordering.c pe__ordering_t *order = NULL; order 540 lib/pacemaker/pcmk_sched_ordering.c order = calloc(1, sizeof(pe__ordering_t)); order 541 lib/pacemaker/pcmk_sched_ordering.c CRM_ASSERT(order != NULL); order 543 lib/pacemaker/pcmk_sched_ordering.c order->id = data_set->order_id++; order 544 lib/pacemaker/pcmk_sched_ordering.c order->flags = flags; order 545 lib/pacemaker/pcmk_sched_ordering.c order->lh_rsc = first_rsc; order 546 lib/pacemaker/pcmk_sched_ordering.c order->rh_rsc = then_rsc; order 547 lib/pacemaker/pcmk_sched_ordering.c order->lh_action = first_action; order 548 lib/pacemaker/pcmk_sched_ordering.c order->rh_action = then_action; order 549 lib/pacemaker/pcmk_sched_ordering.c order->lh_action_task = first_action_task; order 550 lib/pacemaker/pcmk_sched_ordering.c order->rh_action_task = then_action_task; order 552 lib/pacemaker/pcmk_sched_ordering.c if ((order->lh_action_task == NULL) && (first_action != NULL)) { order 553 lib/pacemaker/pcmk_sched_ordering.c order->lh_action_task = strdup(first_action->uuid); order 556 lib/pacemaker/pcmk_sched_ordering.c if ((order->rh_action_task == NULL) && (then_action != NULL)) { order 557 lib/pacemaker/pcmk_sched_ordering.c order->rh_action_task = strdup(then_action->uuid); order 560 lib/pacemaker/pcmk_sched_ordering.c if ((order->lh_rsc == NULL) && (first_action != NULL)) { order 561 lib/pacemaker/pcmk_sched_ordering.c order->lh_rsc = first_action->rsc; order 564 lib/pacemaker/pcmk_sched_ordering.c if ((order->rh_rsc == NULL) && (then_action != NULL)) { order 565 lib/pacemaker/pcmk_sched_ordering.c order->rh_rsc = then_action->rsc; order 570 lib/pacemaker/pcmk_sched_ordering.c pcmk__s(order->lh_action_task, "an underspecified action"), order 571 lib/pacemaker/pcmk_sched_ordering.c pcmk__s(order->rh_action_task, "an underspecified action")); order 574 lib/pacemaker/pcmk_sched_ordering.c order); order 575 lib/pacemaker/pcmk_sched_ordering.c pcmk__order_migration_equivalents(order); order 1219 lib/pacemaker/pcmk_sched_ordering.c const pe_resource_t *rsc, pe__ordering_t *order) order 1224 lib/pacemaker/pcmk_sched_ordering.c CRM_CHECK((rsc != NULL) && (order != NULL), return); order 1226 lib/pacemaker/pcmk_sched_ordering.c flags = order->flags; order 1228 lib/pacemaker/pcmk_sched_ordering.c order->id, rsc->id); order 1230 lib/pacemaker/pcmk_sched_ordering.c if (order->rh_action != NULL) { order 1231 lib/pacemaker/pcmk_sched_ordering.c then_actions = g_list_prepend(NULL, order->rh_action); order 1234 lib/pacemaker/pcmk_sched_ordering.c then_actions = find_actions_by_task(rsc, order->rh_action_task); order 1239 lib/pacemaker/pcmk_sched_ordering.c order->id, order->rh_action_task, rsc->id); order 1248 lib/pacemaker/pcmk_sched_ordering.c first_action->uuid, order->rh_action_task, rsc->id); order 1255 lib/pacemaker/pcmk_sched_ordering.c order->id, rsc->id); order 1269 lib/pacemaker/pcmk_sched_ordering.c order->lh_action_task, order->lh_rsc->id); order 1277 lib/pacemaker/pcmk_sched_ordering.c rsc_order_first(pe_resource_t *first_rsc, pe__ordering_t *order, order 1281 lib/pacemaker/pcmk_sched_ordering.c pe_action_t *first_action = order->lh_action; order 1282 lib/pacemaker/pcmk_sched_ordering.c pe_resource_t *then_rsc = order->rh_rsc; order 1286 lib/pacemaker/pcmk_sched_ordering.c order->id, first_rsc->id); order 1292 lib/pacemaker/pcmk_sched_ordering.c first_actions = find_actions_by_task(first_rsc, order->lh_action_task); order 1298 lib/pacemaker/pcmk_sched_ordering.c order->id, order->lh_action_task, first_rsc->id); order 1305 lib/pacemaker/pcmk_sched_ordering.c parse_op_key(order->lh_action_task, NULL, &op_type, &interval_ms); order 1313 lib/pacemaker/pcmk_sched_ordering.c order->id, order->lh_action_task, first_rsc->id); order 1320 lib/pacemaker/pcmk_sched_ordering.c order->id, order->lh_action_task, first_rsc->id); order 1325 lib/pacemaker/pcmk_sched_ordering.c order->lh_action_task, first_rsc->id, order->id); order 1335 lib/pacemaker/pcmk_sched_ordering.c if (order->rh_action == NULL) { order 1337 lib/pacemaker/pcmk_sched_ordering.c order->id); order 1340 lib/pacemaker/pcmk_sched_ordering.c then_rsc = order->rh_action->rsc; order 1346 lib/pacemaker/pcmk_sched_ordering.c order_actions(first_action, order->rh_action, order->flags); order 1349 lib/pacemaker/pcmk_sched_ordering.c order_resource_actions_after(first_action, then_rsc, order); order 1378 lib/pacemaker/pcmk_sched_ordering.c pe__ordering_t *order = gIter->data; order 1379 lib/pacemaker/pcmk_sched_ordering.c pe_resource_t *rsc = order->lh_rsc; order 1382 lib/pacemaker/pcmk_sched_ordering.c rsc_order_first(rsc, order, data_set); order 1386 lib/pacemaker/pcmk_sched_ordering.c rsc = order->rh_rsc; order 1388 lib/pacemaker/pcmk_sched_ordering.c order_resource_actions_after(order->lh_action, rsc, order); order 1392 lib/pacemaker/pcmk_sched_ordering.c order->id); order 1393 lib/pacemaker/pcmk_sched_ordering.c order_actions(order->lh_action, order->rh_action, order->flags); order 341 lib/pacemaker/pcmk_sched_probes.c pe__ordering_t *order = iter->data; order 347 lib/pacemaker/pcmk_sched_probes.c if (order->flags == pe_order_none) { order 352 lib/pacemaker/pcmk_sched_probes.c if ((order->lh_rsc == NULL) || (order->lh_rsc == order->rh_rsc)) { order 357 lib/pacemaker/pcmk_sched_probes.c if (((order->lh_action == NULL) && (order->lh_action_task == NULL)) || order 358 lib/pacemaker/pcmk_sched_probes.c ((order->rh_action == NULL) && (order->rh_action_task == NULL))) { order 363 lib/pacemaker/pcmk_sched_probes.c if ((order->lh_action != NULL) order 364 lib/pacemaker/pcmk_sched_probes.c && !pcmk__str_eq(order->lh_action->task, RSC_STOP, pcmk__str_none)) { order 366 lib/pacemaker/pcmk_sched_probes.c } else if ((order->lh_action == NULL) order 367 lib/pacemaker/pcmk_sched_probes.c && !pcmk__ends_with(order->lh_action_task, "_" RSC_STOP "_0")) { order 375 lib/pacemaker/pcmk_sched_probes.c if ((order->rh_rsc != NULL) order 376 lib/pacemaker/pcmk_sched_probes.c && (order->lh_rsc->container == order->rh_rsc)) { order 378 lib/pacemaker/pcmk_sched_probes.c if ((order->rh_action != NULL) order 379 lib/pacemaker/pcmk_sched_probes.c && pcmk__str_eq(order->rh_action->task, RSC_STOP, order 382 lib/pacemaker/pcmk_sched_probes.c } else if ((order->rh_action == NULL) order 383 lib/pacemaker/pcmk_sched_probes.c && pcmk__ends_with(order->rh_action_task, order 390 lib/pacemaker/pcmk_sched_probes.c if (pcmk_is_set(order->flags, pe_order_apply_first_non_migratable)) { order 394 lib/pacemaker/pcmk_sched_probes.c if (pcmk_is_set(order->flags, pe_order_same_node)) { order 399 lib/pacemaker/pcmk_sched_probes.c if ((order->flags == pe_order_anti_colocation) order 400 lib/pacemaker/pcmk_sched_probes.c || (order->flags == pe_order_load)) { order 401 lib/pacemaker/pcmk_sched_probes.c order_flags = order->flags; order 405 lib/pacemaker/pcmk_sched_probes.c probes = pe__resource_actions(order->lh_rsc, NULL, RSC_STATUS, FALSE); order 411 lib/pacemaker/pcmk_sched_probes.c if (order->rh_action != NULL) { order 412 lib/pacemaker/pcmk_sched_probes.c then_actions = g_list_prepend(NULL, order->rh_action); order 414 lib/pacemaker/pcmk_sched_probes.c } else if (order->rh_rsc != NULL) { order 415 lib/pacemaker/pcmk_sched_probes.c then_actions = find_actions(order->rh_rsc->actions, order 416 lib/pacemaker/pcmk_sched_probes.c order->rh_action_task, NULL); order 425 lib/pacemaker/pcmk_sched_probes.c order->lh_action? order->lh_action->uuid : order->lh_action_task, order 426 lib/pacemaker/pcmk_sched_probes.c order->rh_action? order->rh_action->uuid : order->rh_action_task, order 427 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 488 lib/pengine/utils.c order_actions(pe_action_t * lh_action, pe_action_t * rh_action, enum pe_ordering order) order 494 lib/pengine/utils.c if (order == pe_order_none) { order 513 lib/pengine/utils.c if (after->action == rh_action && (after->type & order)) { order 520 lib/pengine/utils.c wrapper->type = order; order 527 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)