lh_rsc 181 include/crm/pengine/internal.h pe_resource_t *lh_rsc; lh_rsc 58 include/pcmki/pcmki_sched_allocate.h void native_rsc_colocation_lh(pe_resource_t *lh_rsc, pe_resource_t *rh_rsc, lh_rsc 61 include/pcmki/pcmki_sched_allocate.h void native_rsc_colocation_rh(pe_resource_t *lh_rsc, pe_resource_t *rh_rsc, lh_rsc 64 include/pcmki/pcmki_sched_allocate.h extern void rsc_ticket_constraint(pe_resource_t * lh_rsc, rsc_ticket_t * rsc_ticket, lh_rsc 78 include/pcmki/pcmki_sched_allocate.h void group_rsc_colocation_lh(pe_resource_t *lh_rsc, pe_resource_t *rh_rsc, lh_rsc 81 include/pcmki/pcmki_sched_allocate.h void group_rsc_colocation_rh(pe_resource_t *lh_rsc, pe_resource_t *rh_rsc, lh_rsc 98 include/pcmki/pcmki_sched_allocate.h void pcmk__bundle_rsc_colocation_lh(pe_resource_t *lh_rsc, lh_rsc 102 include/pcmki/pcmki_sched_allocate.h void pcmk__bundle_rsc_colocation_rh(pe_resource_t *lh_rsc, lh_rsc 116 include/pcmki/pcmki_sched_allocate.h void clone_rsc_colocation_lh(pe_resource_t *lh_rsc, pe_resource_t *rh_rsc, lh_rsc 119 include/pcmki/pcmki_sched_allocate.h void clone_rsc_colocation_rh(pe_resource_t *lh_rsc, pe_resource_t *rh_rsc, lh_rsc 135 include/pcmki/pcmki_sched_allocate.h void promotable_colocation_rh(pe_resource_t *lh_rsc, pe_resource_t *rh_rsc, lh_rsc 87 include/pcmki/pcmki_scheduler.h extern int custom_action_order(pe_resource_t * lh_rsc, char *lh_task, pe_action_t * lh_action, lh_rsc 91 include/pcmki/pcmki_scheduler.h extern int new_rsc_order(pe_resource_t * lh_rsc, const char *lh_task, lh_rsc 1304 lib/pacemaker/pcmk_sched_allocate.c order_start_then_action(pe_resource_t *lh_rsc, pe_action_t *rh_action, lh_rsc 1307 lib/pacemaker/pcmk_sched_allocate.c if (lh_rsc && rh_action && data_set) { lh_rsc 1308 lib/pacemaker/pcmk_sched_allocate.c custom_action_order(lh_rsc, start_key(lh_rsc), NULL, lh_rsc 1831 lib/pacemaker/pcmk_sched_allocate.c rsc_order_first(pe_resource_t *lh_rsc, pe__ordering_t *order, lh_rsc 1840 lib/pacemaker/pcmk_sched_allocate.c CRM_ASSERT(lh_rsc != NULL); lh_rsc 1846 lib/pacemaker/pcmk_sched_allocate.c lh_actions = find_actions_by_task(lh_rsc->actions, lh_rsc, order->lh_action_task); lh_rsc 1849 lib/pacemaker/pcmk_sched_allocate.c if (lh_actions == NULL && lh_rsc != rh_rsc) { lh_rsc 1855 lib/pacemaker/pcmk_sched_allocate.c key = pcmk__op_key(lh_rsc->id, op_type, interval_ms); lh_rsc 1857 lib/pacemaker/pcmk_sched_allocate.c if (lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_STOPPED && pcmk__str_eq(op_type, RSC_STOP, pcmk__str_casei)) { lh_rsc 1859 lib/pacemaker/pcmk_sched_allocate.c pe_rsc_trace(lh_rsc, "No LH-Side (%s/%s) found for constraint %d with %s - ignoring", lh_rsc 1860 lib/pacemaker/pcmk_sched_allocate.c lh_rsc->id, order->lh_action_task, order->id, order->rh_action_task); lh_rsc 1862 lib/pacemaker/pcmk_sched_allocate.c } else if ((lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_UNPROMOTED) lh_rsc 1865 lib/pacemaker/pcmk_sched_allocate.c pe_rsc_trace(lh_rsc, "No LH-Side (%s/%s) found for constraint %d with %s - ignoring", lh_rsc 1866 lib/pacemaker/pcmk_sched_allocate.c lh_rsc->id, order->lh_action_task, order->id, order->rh_action_task); lh_rsc 1869 lib/pacemaker/pcmk_sched_allocate.c pe_rsc_trace(lh_rsc, "No LH-Side (%s/%s) found for constraint %d with %s - creating", lh_rsc 1870 lib/pacemaker/pcmk_sched_allocate.c lh_rsc->id, order->lh_action_task, order->id, order->rh_action_task); lh_rsc 1871 lib/pacemaker/pcmk_sched_allocate.c lh_action = custom_action(lh_rsc, key, op_type, NULL, TRUE, TRUE, data_set); lh_rsc 2348 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *lh_rsc = order->lh_rsc; lh_rsc 2360 lib/pacemaker/pcmk_sched_allocate.c if (lh_rsc == NULL) { lh_rsc 2363 lib/pacemaker/pcmk_sched_allocate.c } else if (rh_rsc && lh_rsc == rh_rsc) { lh_rsc 2392 lib/pacemaker/pcmk_sched_allocate.c if (rh_rsc && lh_rsc->container == rh_rsc) { lh_rsc 2422 lib/pacemaker/pcmk_sched_allocate.c probes = pe__resource_actions(lh_rsc, NULL, RSC_STATUS, FALSE); lh_rsc 2799 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = order->lh_rsc; lh_rsc 1407 lib/pacemaker/pcmk_sched_constraints.c new_rsc_order(pe_resource_t * lh_rsc, const char *lh_task, lh_rsc 1414 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(lh_rsc != NULL, return -1); lh_rsc 1423 lib/pacemaker/pcmk_sched_constraints.c if (validate_order_resources(lh_rsc, lh_task, rh_rsc, rh_task)) { lh_rsc 1428 lib/pacemaker/pcmk_sched_constraints.c lh_key = pcmk__op_key(lh_rsc->id, lh_task, 0); lh_rsc 1431 lib/pacemaker/pcmk_sched_constraints.c return custom_action_order(lh_rsc, lh_key, NULL, rh_rsc, rh_key, NULL, type, data_set); lh_rsc 1459 lib/pacemaker/pcmk_sched_constraints.c if (order->lh_rsc == NULL || order->rh_rsc == NULL) { lh_rsc 1461 lib/pacemaker/pcmk_sched_constraints.c } else if (order->lh_rsc == order->rh_rsc) { lh_rsc 1465 lib/pacemaker/pcmk_sched_constraints.c } else if (is_parent(order->lh_rsc, order->rh_rsc)) { lh_rsc 1467 lib/pacemaker/pcmk_sched_constraints.c } else if (is_parent(order->rh_rsc, order->lh_rsc)) { lh_rsc 1471 lib/pacemaker/pcmk_sched_constraints.c lh_migratable = pcmk_is_set(order->lh_rsc->flags, pe_rsc_allow_migrate); lh_rsc 1496 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(order->lh_rsc, lh_rsc 1497 lib/pacemaker/pcmk_sched_constraints.c pcmk__op_key(order->lh_rsc->id, RSC_MIGRATED, 0), lh_rsc 1510 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(order->lh_rsc, lh_rsc 1511 lib/pacemaker/pcmk_sched_constraints.c pcmk__op_key(order->lh_rsc->id, RSC_START, 0), lh_rsc 1527 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(order->lh_rsc, lh_rsc 1528 lib/pacemaker/pcmk_sched_constraints.c pcmk__op_key(order->lh_rsc->id, RSC_STOP, 0), NULL, lh_rsc 1536 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(order->lh_rsc, lh_rsc 1537 lib/pacemaker/pcmk_sched_constraints.c pcmk__op_key(order->lh_rsc->id, RSC_STOP, 0), lh_rsc 1549 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(order->lh_rsc, lh_rsc 1550 lib/pacemaker/pcmk_sched_constraints.c pcmk__op_key(order->lh_rsc->id, RSC_PROMOTE, 0), lh_rsc 1562 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(order->lh_rsc, pcmk__op_key(order->lh_rsc->id, RSC_DEMOTE, 0), NULL, lh_rsc 1569 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(order->lh_rsc, lh_rsc 1570 lib/pacemaker/pcmk_sched_constraints.c pcmk__op_key(order->lh_rsc->id, RSC_DEMOTE, 0), lh_rsc 1585 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(pe_resource_t * lh_rsc, char *lh_action_task, pe_action_t * lh_action, lh_rsc 1591 lib/pacemaker/pcmk_sched_constraints.c if (lh_rsc == NULL && lh_action) { lh_rsc 1592 lib/pacemaker/pcmk_sched_constraints.c lh_rsc = lh_action->rsc; lh_rsc 1598 lib/pacemaker/pcmk_sched_constraints.c if ((lh_action == NULL && lh_rsc == NULL) lh_rsc 1609 lib/pacemaker/pcmk_sched_constraints.c lh_rsc?lh_rsc->id:"NA", lh_action_task?lh_action_task:"NA", lh_action?lh_action->uuid:"NA", lh_rsc 1616 lib/pacemaker/pcmk_sched_constraints.c order->lh_rsc = lh_rsc; lh_rsc 1631 lib/pacemaker/pcmk_sched_constraints.c if (order->lh_rsc == NULL && lh_action) { lh_rsc 1632 lib/pacemaker/pcmk_sched_constraints.c order->lh_rsc = lh_action->rsc;