order 327 lib/common/schemas.c int order = 0; // Placeholder only order 330 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 247 lib/pacemaker/pcmk_sched_actions.c pcmk__related_action_t *order, order 259 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_first_implies_same_node_then)) { order 265 lib/pacemaker/pcmk_sched_actions.c pcmk__clear_relation_flags(order->flags, order 267 lib/pacemaker/pcmk_sched_actions.c pcmk__set_relation_flags(order->flags, pcmk__ar_first_implies_then); order 276 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_first_implies_then)) { order 293 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_intermediate_stop) order 306 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_then_implies_first)) { order 322 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_promoted_then_implies_first)) { order 336 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_min_runnable)) { order 361 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_nested_remote_probe) order 371 lib/pacemaker/pcmk_sched_actions.c order->flags = pcmk__ar_none; order 383 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_unrunnable_first_blocks)) { order 401 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_unmigratable_then_blocks)) { order 414 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_first_else_then)) { order 426 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_ordered)) { order 437 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_asymmetric)) { order 449 lib/pacemaker/pcmk_sched_actions.c && pcmk_is_set(order->flags, pcmk__ar_first_implies_then_graphed) order 458 lib/pacemaker/pcmk_sched_actions.c if (pcmk_is_set(order->flags, pcmk__ar_then_implies_first_graphed) order 467 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 488 lib/pacemaker/pcmk_sched_ordering.c pcmk__action_relation_t *order = NULL; order 502 lib/pacemaker/pcmk_sched_ordering.c order = pcmk__assert_alloc(1, sizeof(pcmk__action_relation_t)); order 504 lib/pacemaker/pcmk_sched_ordering.c order->id = sched->priv->next_ordering_id++; order 505 lib/pacemaker/pcmk_sched_ordering.c order->flags = flags; order 506 lib/pacemaker/pcmk_sched_ordering.c order->rsc1 = first_rsc; order 507 lib/pacemaker/pcmk_sched_ordering.c order->rsc2 = then_rsc; order 508 lib/pacemaker/pcmk_sched_ordering.c order->action1 = first_action; order 509 lib/pacemaker/pcmk_sched_ordering.c order->action2 = then_action; order 510 lib/pacemaker/pcmk_sched_ordering.c order->task1 = first_action_task; order 511 lib/pacemaker/pcmk_sched_ordering.c order->task2 = then_action_task; order 513 lib/pacemaker/pcmk_sched_ordering.c if ((order->task1 == NULL) && (first_action != NULL)) { order 514 lib/pacemaker/pcmk_sched_ordering.c order->task1 = strdup(first_action->uuid); order 517 lib/pacemaker/pcmk_sched_ordering.c if ((order->task2 == NULL) && (then_action != NULL)) { order 518 lib/pacemaker/pcmk_sched_ordering.c order->task2 = strdup(then_action->uuid); order 521 lib/pacemaker/pcmk_sched_ordering.c if ((order->rsc1 == NULL) && (first_action != NULL)) { order 522 lib/pacemaker/pcmk_sched_ordering.c order->rsc1 = first_action->rsc; order 525 lib/pacemaker/pcmk_sched_ordering.c if ((order->rsc2 == NULL) && (then_action != NULL)) { order 526 lib/pacemaker/pcmk_sched_ordering.c order->rsc2 = then_action->rsc; order 531 lib/pacemaker/pcmk_sched_ordering.c pcmk__s(order->task1, "an underspecified action"), order 532 lib/pacemaker/pcmk_sched_ordering.c pcmk__s(order->task2, "an underspecified action")); order 535 lib/pacemaker/pcmk_sched_ordering.c g_list_prepend(sched->priv->ordering_constraints, order); order 536 lib/pacemaker/pcmk_sched_ordering.c pcmk__order_migration_equivalents(order); order 1219 lib/pacemaker/pcmk_sched_ordering.c pcmk__action_relation_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->action2 != NULL) { order 1231 lib/pacemaker/pcmk_sched_ordering.c then_actions = g_list_prepend(NULL, order->action2); order 1234 lib/pacemaker/pcmk_sched_ordering.c then_actions = find_actions_by_task(rsc, order->task2); order 1239 lib/pacemaker/pcmk_sched_ordering.c order->id, order->task2, rsc->id); order 1248 lib/pacemaker/pcmk_sched_ordering.c first_action->uuid, order->task2, rsc->id); order 1257 lib/pacemaker/pcmk_sched_ordering.c order->id, rsc->id); order 1271 lib/pacemaker/pcmk_sched_ordering.c order->task1, order->rsc1->id); order 1279 lib/pacemaker/pcmk_sched_ordering.c rsc_order_first(pcmk_resource_t *first_rsc, pcmk__action_relation_t *order) order 1282 lib/pacemaker/pcmk_sched_ordering.c pcmk_action_t *first_action = order->action1; order 1283 lib/pacemaker/pcmk_sched_ordering.c pcmk_resource_t *then_rsc = order->rsc2; order 1287 lib/pacemaker/pcmk_sched_ordering.c order->id, first_rsc->id); order 1293 lib/pacemaker/pcmk_sched_ordering.c first_actions = find_actions_by_task(first_rsc, order->task1); order 1299 lib/pacemaker/pcmk_sched_ordering.c order->id, order->task1, first_rsc->id); order 1307 lib/pacemaker/pcmk_sched_ordering.c parse_op_key(order->task1, NULL, &op_type, &interval_ms); order 1317 lib/pacemaker/pcmk_sched_ordering.c order->id, order->task1, first_rsc->id); order 1326 lib/pacemaker/pcmk_sched_ordering.c order->id, order->task1, first_rsc->id); order 1331 lib/pacemaker/pcmk_sched_ordering.c order->task1, first_rsc->id, order->id); order 1341 lib/pacemaker/pcmk_sched_ordering.c if (order->action2 == NULL) { order 1343 lib/pacemaker/pcmk_sched_ordering.c order->id); order 1346 lib/pacemaker/pcmk_sched_ordering.c then_rsc = order->action2->rsc; order 1352 lib/pacemaker/pcmk_sched_ordering.c order_actions(first_action, order->action2, order->flags); order 1355 lib/pacemaker/pcmk_sched_ordering.c order_resource_actions_after(first_action, then_rsc, order); order 1406 lib/pacemaker/pcmk_sched_ordering.c pcmk__action_relation_t *order = iter->data; order 1407 lib/pacemaker/pcmk_sched_ordering.c pcmk_resource_t *rsc = order->rsc1; order 1410 lib/pacemaker/pcmk_sched_ordering.c rsc_order_first(rsc, order); order 1414 lib/pacemaker/pcmk_sched_ordering.c rsc = order->rsc2; order 1416 lib/pacemaker/pcmk_sched_ordering.c order_resource_actions_after(order->action1, rsc, order); order 1420 lib/pacemaker/pcmk_sched_ordering.c order->id); order 1421 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); order 297 lib/pengine/status.c pcmk__action_relation_t *order = iterator->data; order 301 lib/pengine/status.c free(order->task1); order 302 lib/pengine/status.c free(order->task2); order 303 lib/pengine/status.c free(order);