lh_rsc 184 include/crm/pengine/internal.h pe_resource_t *lh_rsc; lh_rsc 176 lib/pacemaker/libpacemaker_private.h void pcmk__new_ordering(pe_resource_t *lh_rsc, char *lh_task, lh_rsc 210 lib/pacemaker/libpacemaker_private.h #define pcmk__order_resource_actions(lh_rsc, lh_task, rh_rsc, rh_task, \ lh_rsc 212 lib/pacemaker/libpacemaker_private.h pcmk__new_ordering((lh_rsc), pcmk__op_key((lh_rsc)->id, (lh_task), 0), \ lh_rsc 518 lib/pacemaker/pcmk_sched_ordering.c if ((order->lh_rsc == NULL) || (order->rh_rsc == NULL) lh_rsc 519 lib/pacemaker/pcmk_sched_ordering.c || (order->lh_rsc == order->rh_rsc)) { lh_rsc 524 lib/pacemaker/pcmk_sched_ordering.c if (is_parent(order->lh_rsc, order->rh_rsc) lh_rsc 525 lib/pacemaker/pcmk_sched_ordering.c || is_parent(order->rh_rsc, order->lh_rsc)) { lh_rsc 530 lib/pacemaker/pcmk_sched_ordering.c lh_migratable = pcmk_is_set(order->lh_rsc->flags, pe_rsc_allow_migrate); lh_rsc 551 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, lh_rsc 552 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_MIGRATED, 0), lh_rsc 567 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, lh_rsc 568 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_START, 0), lh_rsc 586 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, lh_rsc 587 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_STOP, 0), NULL, lh_rsc 594 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, lh_rsc 595 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_STOP, 0), lh_rsc 609 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, lh_rsc 610 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_PROMOTE, 0), lh_rsc 624 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, lh_rsc 625 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_DEMOTE, 0), lh_rsc 632 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(order->lh_rsc, lh_rsc 633 lib/pacemaker/pcmk_sched_ordering.c pcmk__op_key(order->lh_rsc->id, RSC_DEMOTE, 0), lh_rsc 673 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(pe_resource_t *lh_rsc, char *lh_action_task, lh_rsc 681 lib/pacemaker/pcmk_sched_ordering.c CRM_CHECK(((lh_action != NULL) || (lh_rsc != NULL)) lh_rsc 685 lib/pacemaker/pcmk_sched_ordering.c if ((lh_rsc == NULL) && (lh_action != NULL)) { lh_rsc 686 lib/pacemaker/pcmk_sched_ordering.c lh_rsc = lh_action->rsc; lh_rsc 697 lib/pacemaker/pcmk_sched_ordering.c order->lh_rsc = lh_rsc; lh_rsc 712 lib/pacemaker/pcmk_sched_ordering.c if ((order->lh_rsc == NULL) && (lh_action != NULL)) { lh_rsc 713 lib/pacemaker/pcmk_sched_ordering.c order->lh_rsc = lh_action->rsc; lh_rsc 720 lib/pacemaker/pcmk_sched_ordering.c pe_rsc_trace(lh_rsc, "Created ordering %d for %s then %s", lh_rsc 1418 lib/pacemaker/pcmk_sched_ordering.c rsc_order_first(pe_resource_t *lh_rsc, pe__ordering_t *order, lh_rsc 1425 lib/pacemaker/pcmk_sched_ordering.c CRM_ASSERT(lh_rsc != NULL); lh_rsc 1426 lib/pacemaker/pcmk_sched_ordering.c pe_rsc_trace(lh_rsc, "Applying ordering constraint %d (first: %s)", lh_rsc 1427 lib/pacemaker/pcmk_sched_ordering.c order->id, lh_rsc->id); lh_rsc 1433 lib/pacemaker/pcmk_sched_ordering.c lh_actions = find_actions_by_task(lh_rsc, order->lh_action_task); lh_rsc 1436 lib/pacemaker/pcmk_sched_ordering.c if ((lh_actions == NULL) && (lh_rsc == rh_rsc)) { lh_rsc 1437 lib/pacemaker/pcmk_sched_ordering.c pe_rsc_trace(lh_rsc, lh_rsc 1439 lib/pacemaker/pcmk_sched_ordering.c order->id, order->lh_action_task, lh_rsc->id); lh_rsc 1447 lib/pacemaker/pcmk_sched_ordering.c key = pcmk__op_key(lh_rsc->id, op_type, interval_ms); lh_rsc 1449 lib/pacemaker/pcmk_sched_ordering.c if ((lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_STOPPED) lh_rsc 1452 lib/pacemaker/pcmk_sched_ordering.c pe_rsc_trace(lh_rsc, lh_rsc 1454 lib/pacemaker/pcmk_sched_ordering.c order->id, order->lh_action_task, lh_rsc->id); lh_rsc 1456 lib/pacemaker/pcmk_sched_ordering.c } else if ((lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_UNPROMOTED) lh_rsc 1459 lib/pacemaker/pcmk_sched_ordering.c pe_rsc_trace(lh_rsc, lh_rsc 1461 lib/pacemaker/pcmk_sched_ordering.c order->id, order->lh_action_task, lh_rsc->id); lh_rsc 1464 lib/pacemaker/pcmk_sched_ordering.c pe_rsc_trace(lh_rsc, lh_rsc 1466 lib/pacemaker/pcmk_sched_ordering.c order->lh_action_task, lh_rsc->id, order->id); lh_rsc 1467 lib/pacemaker/pcmk_sched_ordering.c lh_action = custom_action(lh_rsc, key, op_type, NULL, TRUE, TRUE, data_set); lh_rsc 1476 lib/pacemaker/pcmk_sched_ordering.c pe_rsc_trace(lh_rsc, "Ignoring constraint %d: then not found", lh_rsc 1513 lib/pacemaker/pcmk_sched_ordering.c pe_resource_t *rsc = order->lh_rsc; lh_rsc 83 lib/pacemaker/pcmk_sched_probes.c if ((order->lh_rsc == NULL) || (order->lh_rsc == order->rh_rsc)) { lh_rsc 107 lib/pacemaker/pcmk_sched_probes.c && (order->lh_rsc->container == order->rh_rsc)) { lh_rsc 136 lib/pacemaker/pcmk_sched_probes.c probes = pe__resource_actions(order->lh_rsc, NULL, RSC_STATUS, FALSE); 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,