lh_rsc 181 include/crm/pengine/internal.h pe_resource_t *lh_rsc; lh_rsc 116 lib/pacemaker/libpacemaker_private.h void pcmk__new_ordering(pe_resource_t *lh_rsc, char *lh_task, lh_rsc 146 lib/pacemaker/libpacemaker_private.h #define pcmk__order_resource_actions(lh_rsc, lh_task, rh_rsc, rh_task, \ lh_rsc 148 lib/pacemaker/libpacemaker_private.h pcmk__new_ordering((lh_rsc), pcmk__op_key((lh_rsc)->id, (lh_task), 0), \ lh_rsc 1539 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *lh_rsc = order->lh_rsc; lh_rsc 1551 lib/pacemaker/pcmk_sched_allocate.c if (lh_rsc == NULL) { lh_rsc 1554 lib/pacemaker/pcmk_sched_allocate.c } else if (rh_rsc && lh_rsc == rh_rsc) { lh_rsc 1583 lib/pacemaker/pcmk_sched_allocate.c if (rh_rsc && lh_rsc->container == rh_rsc) { lh_rsc 1613 lib/pacemaker/pcmk_sched_allocate.c probes = pe__resource_actions(lh_rsc, NULL, RSC_STATUS, FALSE); lh_rsc 511 lib/pacemaker/pcmk_sched_ordering.c if ((order->lh_rsc == NULL) || (order->rh_rsc == NULL) lh_rsc 512 lib/pacemaker/pcmk_sched_ordering.c || (order->lh_rsc == order->rh_rsc)) { lh_rsc 517 lib/pacemaker/pcmk_sched_ordering.c if (is_parent(order->lh_rsc, order->rh_rsc) lh_rsc 518 lib/pacemaker/pcmk_sched_ordering.c || is_parent(order->rh_rsc, order->lh_rsc)) { lh_rsc 523 lib/pacemaker/pcmk_sched_ordering.c lh_migratable = pcmk_is_set(order->lh_rsc->flags, pe_rsc_allow_migrate); lh_rsc 544 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, lh_rsc 545 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_MIGRATED, 0), lh_rsc 560 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, lh_rsc 561 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_START, 0), lh_rsc 579 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, lh_rsc 580 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_STOP, 0), NULL, lh_rsc 587 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, lh_rsc 588 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_STOP, 0), lh_rsc 602 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, lh_rsc 603 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_PROMOTE, 0), lh_rsc 617 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, lh_rsc 618 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_DEMOTE, 0), lh_rsc 625 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, lh_rsc 626 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_DEMOTE, 0), lh_rsc 666 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(pe_resource_t *lh_rsc, char *lh_action_task, lh_rsc 674 lib/pacemaker/pcmk_sched_ordering.c CRM_CHECK(((lh_action != NULL) || (lh_rsc != NULL)) lh_rsc 678 lib/pacemaker/pcmk_sched_ordering.c if ((lh_rsc == NULL) && (lh_action != NULL)) { lh_rsc 679 lib/pacemaker/pcmk_sched_ordering.c lh_rsc = lh_action->rsc; lh_rsc 689 lib/pacemaker/pcmk_sched_ordering.c order->lh_rsc = lh_rsc; lh_rsc 704 lib/pacemaker/pcmk_sched_ordering.c if ((order->lh_rsc == NULL) && (lh_action != NULL)) { lh_rsc 705 lib/pacemaker/pcmk_sched_ordering.c order->lh_rsc = lh_action->rsc; lh_rsc 712 lib/pacemaker/pcmk_sched_ordering.c pe_rsc_trace(lh_rsc, "Created ordering %d for %s then %s", lh_rsc 1412 lib/pacemaker/pcmk_sched_ordering.c rsc_order_first(pe_resource_t *lh_rsc, pe__ordering_t *order, lh_rsc 1419 lib/pacemaker/pcmk_sched_ordering.c CRM_ASSERT(lh_rsc != NULL); lh_rsc 1420 lib/pacemaker/pcmk_sched_ordering.c pe_rsc_trace(lh_rsc, "Applying ordering constraint %d (first: %s)", lh_rsc 1421 lib/pacemaker/pcmk_sched_ordering.c order->id, lh_rsc->id); lh_rsc 1427 lib/pacemaker/pcmk_sched_ordering.c lh_actions = find_actions_by_task(lh_rsc, order->lh_action_task); lh_rsc 1430 lib/pacemaker/pcmk_sched_ordering.c if ((lh_actions == NULL) && (lh_rsc == rh_rsc)) { lh_rsc 1431 lib/pacemaker/pcmk_sched_ordering.c pe_rsc_trace(lh_rsc, lh_rsc 1433 lib/pacemaker/pcmk_sched_ordering.c order->id, order->lh_action_task, lh_rsc->id); lh_rsc 1441 lib/pacemaker/pcmk_sched_ordering.c key = pcmk__op_key(lh_rsc->id, op_type, interval_ms); lh_rsc 1443 lib/pacemaker/pcmk_sched_ordering.c if ((lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_STOPPED) lh_rsc 1446 lib/pacemaker/pcmk_sched_ordering.c pe_rsc_trace(lh_rsc, lh_rsc 1448 lib/pacemaker/pcmk_sched_ordering.c order->id, order->lh_action_task, lh_rsc->id); lh_rsc 1450 lib/pacemaker/pcmk_sched_ordering.c } else if ((lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_UNPROMOTED) lh_rsc 1453 lib/pacemaker/pcmk_sched_ordering.c pe_rsc_trace(lh_rsc, lh_rsc 1455 lib/pacemaker/pcmk_sched_ordering.c order->id, order->lh_action_task, lh_rsc->id); lh_rsc 1458 lib/pacemaker/pcmk_sched_ordering.c pe_rsc_trace(lh_rsc, lh_rsc 1460 lib/pacemaker/pcmk_sched_ordering.c order->lh_action_task, lh_rsc->id, order->id); lh_rsc 1461 lib/pacemaker/pcmk_sched_ordering.c lh_action = custom_action(lh_rsc, key, op_type, NULL, TRUE, TRUE, data_set); lh_rsc 1470 lib/pacemaker/pcmk_sched_ordering.c pe_rsc_trace(lh_rsc, "Ignoring constraint %d: then not found", lh_rsc 1507 lib/pacemaker/pcmk_sched_ordering.c pe_resource_t *rsc = order->lh_rsc; lh_rsc 62 lib/pacemaker/pcmk_sched_remote.c order_start_then_action(pe_resource_t *lh_rsc, pe_action_t *rh_action, lh_rsc 65 lib/pacemaker/pcmk_sched_remote.c if ((lh_rsc != NULL) && (rh_action != NULL) && (data_set != NULL)) { lh_rsc 66 lib/pacemaker/pcmk_sched_remote.c pcmk__new_ordering(lh_rsc, start_key(lh_rsc), NULL,