order 295 lib/common/schemas.c unsigned int order = 0; order 310 lib/common/schemas.c &major, &minor, &order) != 3) { order 314 lib/common/schemas.c if ((major > UCHAR_MAX) || (minor > UCHAR_MAX) || (order > UCHAR_MAX)) { order 416 lib/common/schemas.c unsigned char order = 0; // Placeholder only order 419 lib/common/schemas.c &(version.v[0]), &(version.v[1]), &order) == 3) { order 444 lib/pacemaker/libpacemaker_private.h enum pcmk__action_relation_flags order); order 1094 lib/pacemaker/libpacemaker_private.h void pcmk__order_migration_equivalents(pcmk__action_relation_t *order); order 250 lib/pacemaker/pcmk_sched_actions.c pcmk__related_action_t *order, order 262 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_first_implies_same_node_then)) { order 268 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_relation_flags(order->flags, order 270 lib/pacemaker/pcmk_sched_actions.c pcmk__set_relation_flags(order->flags, pcmk__ar_first_implies_then); order 279 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_first_implies_then)) { order 296 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_intermediate_stop) order 309 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_then_implies_first)) { order 325 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_promoted_then_implies_first)) { order 339 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_min_runnable)) { order 364 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_nested_remote_probe) order 374 lib/pacemaker/pcmk_sched_actions.c order->flags = pcmk__ar_none; order 386 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_unrunnable_first_blocks)) { order 404 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_unmigratable_then_blocks)) { order 417 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_first_else_then)) { order 429 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_ordered)) { order 440 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_asymmetric)) { order 452 lib/pacemaker/pcmk_sched_actions.c && pcmk_is_set(order->flags, pcmk__ar_first_implies_then_graphed) order 461 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_then_implies_first_graphed) order 470 lib/pacemaker/pcmk_sched_actions.c if (pcmk_any_flags_set(order->flags, pcmk__ar_first_implies_then order 314 lib/pacemaker/pcmk_sched_fencing.c enum pcmk__action_relation_flags order) order 335 lib/pacemaker/pcmk_sched_fencing.c order_actions(unfence, action, order); order 262 lib/pacemaker/pcmk_sched_migration.c pcmk__order_migration_equivalents(pcmk__action_relation_t *order) order 270 lib/pacemaker/pcmk_sched_migration.c if ((order->rsc1 == NULL) || (order->rsc2 == NULL) order 271 lib/pacemaker/pcmk_sched_migration.c || (order->rsc1 == order->rsc2) order 272 lib/pacemaker/pcmk_sched_migration.c || is_parent(order->rsc1, order->rsc2) order 273 lib/pacemaker/pcmk_sched_migration.c || is_parent(order->rsc2, order->rsc1)) { order 278 lib/pacemaker/pcmk_sched_migration.c first_migratable = pcmk_is_set(order->rsc1->flags, pcmk__rsc_migratable); order 279 lib/pacemaker/pcmk_sched_migration.c then_migratable = pcmk_is_set(order->rsc2->flags, pcmk__rsc_migratable); order 285 lib/pacemaker/pcmk_sched_migration.c first_task = task_from_action_or_key(order->action1, order->task1); order 286 lib/pacemaker/pcmk_sched_migration.c then_task = task_from_action_or_key(order->action2, order->task2); order 296 lib/pacemaker/pcmk_sched_migration.c pcmk__new_ordering(order->rsc1, order 297 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc1->id, order 299 lib/pacemaker/pcmk_sched_migration.c NULL, order->rsc2, order 300 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc2->id, order 302 lib/pacemaker/pcmk_sched_migration.c NULL, flags, order->rsc1->priv->scheduler); order 314 lib/pacemaker/pcmk_sched_migration.c pcmk__new_ordering(order->rsc1, order 315 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc1->id, order 317 lib/pacemaker/pcmk_sched_migration.c NULL, order->rsc2, order 318 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc2->id, order 320 lib/pacemaker/pcmk_sched_migration.c NULL, flags, order->rsc1->priv->scheduler); order 336 lib/pacemaker/pcmk_sched_migration.c pcmk__new_ordering(order->rsc1, order 337 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc1->id, PCMK_ACTION_STOP, 0), order 339 lib/pacemaker/pcmk_sched_migration.c order->rsc2, order 340 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc2->id, order 342 lib/pacemaker/pcmk_sched_migration.c NULL, flags, order->rsc1->priv->scheduler); order 345 lib/pacemaker/pcmk_sched_migration.c if (order->rsc2->priv->partial_migration_target != NULL) { order 346 lib/pacemaker/pcmk_sched_migration.c pcmk__new_ordering(order->rsc1, order 347 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc1->id, PCMK_ACTION_STOP, order 349 lib/pacemaker/pcmk_sched_migration.c NULL, order->rsc2, order 350 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc2->id, order 352 lib/pacemaker/pcmk_sched_migration.c NULL, flags, order->rsc1->priv->scheduler); order 363 lib/pacemaker/pcmk_sched_migration.c pcmk__new_ordering(order->rsc1, order 364 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc1->id, order 366 lib/pacemaker/pcmk_sched_migration.c NULL, order->rsc2, order 367 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc2->id, order 369 lib/pacemaker/pcmk_sched_migration.c NULL, flags, order->rsc1->priv->scheduler); order 380 lib/pacemaker/pcmk_sched_migration.c pcmk__new_ordering(order->rsc1, order 381 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc1->id, order 383 lib/pacemaker/pcmk_sched_migration.c NULL, order->rsc2, order 384 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc2->id, order 386 lib/pacemaker/pcmk_sched_migration.c NULL, flags, order->rsc1->priv->scheduler); order 389 lib/pacemaker/pcmk_sched_migration.c if (order->rsc2->priv->partial_migration_target != NULL) { order 390 lib/pacemaker/pcmk_sched_migration.c pcmk__new_ordering(order->rsc1, order 391 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc1->id, order 393 lib/pacemaker/pcmk_sched_migration.c NULL, order->rsc2, order 394 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc2->id, order 397 lib/pacemaker/pcmk_sched_migration.c order->rsc1->priv->scheduler); order 491 lib/pacemaker/pcmk_sched_ordering.c pcmk__action_relation_t *order = NULL; order 505 lib/pacemaker/pcmk_sched_ordering.c order = pcmk__assert_alloc(1, sizeof(pcmk__action_relation_t)); order 507 lib/pacemaker/pcmk_sched_ordering.c order->id = sched->priv->next_ordering_id++; order 508 lib/pacemaker/pcmk_sched_ordering.c order->flags = flags; order 509 lib/pacemaker/pcmk_sched_ordering.c order->rsc1 = first_rsc; order 510 lib/pacemaker/pcmk_sched_ordering.c order->rsc2 = then_rsc; order 511 lib/pacemaker/pcmk_sched_ordering.c order->action1 = first_action; order 512 lib/pacemaker/pcmk_sched_ordering.c order->action2 = then_action; order 513 lib/pacemaker/pcmk_sched_ordering.c order->task1 = first_action_task; order 514 lib/pacemaker/pcmk_sched_ordering.c order->task2 = then_action_task; order 516 lib/pacemaker/pcmk_sched_ordering.c if ((order->task1 == NULL) && (first_action != NULL)) { order 517 lib/pacemaker/pcmk_sched_ordering.c order->task1 = strdup(first_action->uuid); order 520 lib/pacemaker/pcmk_sched_ordering.c if ((order->task2 == NULL) && (then_action != NULL)) { order 521 lib/pacemaker/pcmk_sched_ordering.c order->task2 = strdup(then_action->uuid); order 524 lib/pacemaker/pcmk_sched_ordering.c if ((order->rsc1 == NULL) && (first_action != NULL)) { order 525 lib/pacemaker/pcmk_sched_ordering.c order->rsc1 = first_action->rsc; order 528 lib/pacemaker/pcmk_sched_ordering.c if ((order->rsc2 == NULL) && (then_action != NULL)) { order 529 lib/pacemaker/pcmk_sched_ordering.c order->rsc2 = then_action->rsc; order 534 lib/pacemaker/pcmk_sched_ordering.c pcmk__s(order->task1, "an underspecified action"), order 535 lib/pacemaker/pcmk_sched_ordering.c pcmk__s(order->task2, "an underspecified action")); order 538 lib/pacemaker/pcmk_sched_ordering.c g_list_prepend(sched->priv->ordering_constraints, order); order 539 lib/pacemaker/pcmk_sched_ordering.c pcmk__order_migration_equivalents(order); order 1224 lib/pacemaker/pcmk_sched_ordering.c pcmk__action_relation_t *order) order 1229 lib/pacemaker/pcmk_sched_ordering.c CRM_CHECK((rsc != NULL) && (order != NULL), return); order 1231 lib/pacemaker/pcmk_sched_ordering.c flags = order->flags; order 1233 lib/pacemaker/pcmk_sched_ordering.c order->id, rsc->id); order 1235 lib/pacemaker/pcmk_sched_ordering.c if (order->action2 != NULL) { order 1236 lib/pacemaker/pcmk_sched_ordering.c then_actions = g_list_prepend(NULL, order->action2); order 1239 lib/pacemaker/pcmk_sched_ordering.c then_actions = find_actions_by_task(rsc, order->task2); order 1244 lib/pacemaker/pcmk_sched_ordering.c order->id, order->task2, rsc->id); order 1253 lib/pacemaker/pcmk_sched_ordering.c first_action->uuid, order->task2, rsc->id); order 1262 lib/pacemaker/pcmk_sched_ordering.c order->id, rsc->id); order 1277 lib/pacemaker/pcmk_sched_ordering.c order->task1, order->rsc1->id); order 1285 lib/pacemaker/pcmk_sched_ordering.c rsc_order_first(pcmk_resource_t *first_rsc, pcmk__action_relation_t *order) order 1288 lib/pacemaker/pcmk_sched_ordering.c pcmk_action_t *first_action = order->action1; order 1289 lib/pacemaker/pcmk_sched_ordering.c pcmk_resource_t *then_rsc = order->rsc2; order 1293 lib/pacemaker/pcmk_sched_ordering.c order->id, first_rsc->id); order 1299 lib/pacemaker/pcmk_sched_ordering.c first_actions = find_actions_by_task(first_rsc, order->task1); order 1305 lib/pacemaker/pcmk_sched_ordering.c order->id, order->task1, first_rsc->id); order 1313 lib/pacemaker/pcmk_sched_ordering.c parse_op_key(order->task1, NULL, &op_type, &interval_ms); order 1323 lib/pacemaker/pcmk_sched_ordering.c order->id, order->task1, first_rsc->id); order 1332 lib/pacemaker/pcmk_sched_ordering.c order->id, order->task1, first_rsc->id); order 1337 lib/pacemaker/pcmk_sched_ordering.c order->task1, first_rsc->id, order->id); order 1347 lib/pacemaker/pcmk_sched_ordering.c if (order->action2 == NULL) { order 1349 lib/pacemaker/pcmk_sched_ordering.c order->id); order 1352 lib/pacemaker/pcmk_sched_ordering.c then_rsc = order->action2->rsc; order 1358 lib/pacemaker/pcmk_sched_ordering.c order_actions(first_action, order->action2, order->flags); order 1361 lib/pacemaker/pcmk_sched_ordering.c order_resource_actions_after(first_action, then_rsc, order); order 1412 lib/pacemaker/pcmk_sched_ordering.c pcmk__action_relation_t *order = iter->data; order 1413 lib/pacemaker/pcmk_sched_ordering.c pcmk_resource_t *rsc = order->rsc1; order 1416 lib/pacemaker/pcmk_sched_ordering.c rsc_order_first(rsc, order); order 1420 lib/pacemaker/pcmk_sched_ordering.c rsc = order->rsc2; order 1422 lib/pacemaker/pcmk_sched_ordering.c order_resource_actions_after(order->action1, rsc, order); order 1426 lib/pacemaker/pcmk_sched_ordering.c order->id); order 1427 lib/pacemaker/pcmk_sched_ordering.c order_actions(order->action1, order->action2, order->flags); order 359 lib/pacemaker/pcmk_sched_probes.c pcmk__action_relation_t *order = iter->data; order 367 lib/pacemaker/pcmk_sched_probes.c if (order->flags == pcmk__ar_none) { order 372 lib/pacemaker/pcmk_sched_probes.c if ((order->rsc1 == NULL) || (order->rsc1 == order->rsc2)) { order 377 lib/pacemaker/pcmk_sched_probes.c first = order->action1; order 378 lib/pacemaker/pcmk_sched_probes.c then = order->action2; order 379 lib/pacemaker/pcmk_sched_probes.c if (((first == NULL) && (order->task1 == NULL)) order 380 lib/pacemaker/pcmk_sched_probes.c || ((then == NULL) && (order->task2 == NULL))) { order 389 lib/pacemaker/pcmk_sched_probes.c && !pcmk__ends_with(order->task1, order 398 lib/pacemaker/pcmk_sched_probes.c if ((order->rsc2 != NULL) order 399 lib/pacemaker/pcmk_sched_probes.c && (order->rsc1->priv->launcher == order->rsc2)) { order 405 lib/pacemaker/pcmk_sched_probes.c && pcmk__ends_with(order->task2, order 412 lib/pacemaker/pcmk_sched_probes.c if (pcmk_is_set(order->flags, pcmk__ar_if_first_unmigratable)) { order 416 lib/pacemaker/pcmk_sched_probes.c if (pcmk_is_set(order->flags, pcmk__ar_if_on_same_node)) { order 421 lib/pacemaker/pcmk_sched_probes.c if ((order->flags == pcmk__ar_if_required_on_same_node) order 422 lib/pacemaker/pcmk_sched_probes.c || (order->flags == pcmk__ar_if_on_same_node_or_target)) { order 423 lib/pacemaker/pcmk_sched_probes.c order_flags = order->flags; order 427 lib/pacemaker/pcmk_sched_probes.c probes = pe__resource_actions(order->rsc1, NULL, PCMK_ACTION_MONITOR, order 437 lib/pacemaker/pcmk_sched_probes.c } else if (order->rsc2 != NULL) { order 438 lib/pacemaker/pcmk_sched_probes.c then_actions = find_actions(order->rsc2->priv->actions, order 439 lib/pacemaker/pcmk_sched_probes.c order->task2, NULL); order 448 lib/pacemaker/pcmk_sched_probes.c ((first == NULL)? order->task1 : first->uuid), order 449 lib/pacemaker/pcmk_sched_probes.c ((then == NULL)? order->task2 : then->uuid), order 450 lib/pacemaker/pcmk_sched_probes.c order->id, order->flags);