lh_rsc 180 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 1325 lib/pacemaker/pcmk_sched_allocate.c order_start_then_action(pe_resource_t *lh_rsc, pe_action_t *rh_action, lh_rsc 1328 lib/pacemaker/pcmk_sched_allocate.c if (lh_rsc && rh_action && data_set) { lh_rsc 1329 lib/pacemaker/pcmk_sched_allocate.c custom_action_order(lh_rsc, start_key(lh_rsc), NULL, lh_rsc 1850 lib/pacemaker/pcmk_sched_allocate.c rsc_order_first(pe_resource_t *lh_rsc, pe__ordering_t *order, lh_rsc 1859 lib/pacemaker/pcmk_sched_allocate.c CRM_ASSERT(lh_rsc != NULL); lh_rsc 1865 lib/pacemaker/pcmk_sched_allocate.c lh_actions = find_actions_by_task(lh_rsc->actions, lh_rsc, order->lh_action_task); lh_rsc 1868 lib/pacemaker/pcmk_sched_allocate.c if (lh_actions == NULL && lh_rsc != rh_rsc) { lh_rsc 1874 lib/pacemaker/pcmk_sched_allocate.c key = pcmk__op_key(lh_rsc->id, op_type, interval_ms); lh_rsc 1876 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 1878 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 1879 lib/pacemaker/pcmk_sched_allocate.c lh_rsc->id, order->lh_action_task, order->id, order->rh_action_task); lh_rsc 1881 lib/pacemaker/pcmk_sched_allocate.c } else if (lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_SLAVE && pcmk__str_eq(op_type, RSC_DEMOTE, pcmk__str_casei)) { lh_rsc 1883 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 1884 lib/pacemaker/pcmk_sched_allocate.c lh_rsc->id, order->lh_action_task, order->id, order->rh_action_task); lh_rsc 1887 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 1888 lib/pacemaker/pcmk_sched_allocate.c lh_rsc->id, order->lh_action_task, order->id, order->rh_action_task); lh_rsc 1889 lib/pacemaker/pcmk_sched_allocate.c lh_action = custom_action(lh_rsc, key, op_type, NULL, TRUE, TRUE, data_set); lh_rsc 2366 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *lh_rsc = order->lh_rsc; lh_rsc 2378 lib/pacemaker/pcmk_sched_allocate.c if (lh_rsc == NULL) { lh_rsc 2381 lib/pacemaker/pcmk_sched_allocate.c } else if (rh_rsc && lh_rsc == rh_rsc) { lh_rsc 2410 lib/pacemaker/pcmk_sched_allocate.c if (rh_rsc && lh_rsc->container == rh_rsc) { lh_rsc 2440 lib/pacemaker/pcmk_sched_allocate.c probes = pe__resource_actions(lh_rsc, NULL, RSC_STATUS, FALSE); lh_rsc 2815 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = order->lh_rsc; lh_rsc 1401 lib/pacemaker/pcmk_sched_constraints.c new_rsc_order(pe_resource_t * lh_rsc, const char *lh_task, lh_rsc 1408 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(lh_rsc != NULL, return -1); lh_rsc 1417 lib/pacemaker/pcmk_sched_constraints.c if (validate_order_resources(lh_rsc, lh_task, rh_rsc, rh_task)) { lh_rsc 1422 lib/pacemaker/pcmk_sched_constraints.c lh_key = pcmk__op_key(lh_rsc->id, lh_task, 0); lh_rsc 1425 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 1453 lib/pacemaker/pcmk_sched_constraints.c if (order->lh_rsc == NULL || order->rh_rsc == NULL) { lh_rsc 1455 lib/pacemaker/pcmk_sched_constraints.c } else if (order->lh_rsc == order->rh_rsc) { lh_rsc 1459 lib/pacemaker/pcmk_sched_constraints.c } else if (is_parent(order->lh_rsc, order->rh_rsc)) { lh_rsc 1461 lib/pacemaker/pcmk_sched_constraints.c } else if (is_parent(order->rh_rsc, order->lh_rsc)) { lh_rsc 1465 lib/pacemaker/pcmk_sched_constraints.c lh_migratable = pcmk_is_set(order->lh_rsc->flags, pe_rsc_allow_migrate); lh_rsc 1490 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(order->lh_rsc, lh_rsc 1491 lib/pacemaker/pcmk_sched_constraints.c pcmk__op_key(order->lh_rsc->id, RSC_MIGRATED, 0), lh_rsc 1504 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(order->lh_rsc, lh_rsc 1505 lib/pacemaker/pcmk_sched_constraints.c pcmk__op_key(order->lh_rsc->id, RSC_START, 0), lh_rsc 1521 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(order->lh_rsc, lh_rsc 1522 lib/pacemaker/pcmk_sched_constraints.c pcmk__op_key(order->lh_rsc->id, RSC_STOP, 0), NULL, lh_rsc 1530 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(order->lh_rsc, lh_rsc 1531 lib/pacemaker/pcmk_sched_constraints.c pcmk__op_key(order->lh_rsc->id, RSC_STOP, 0), lh_rsc 1543 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(order->lh_rsc, lh_rsc 1544 lib/pacemaker/pcmk_sched_constraints.c pcmk__op_key(order->lh_rsc->id, RSC_PROMOTE, 0), lh_rsc 1556 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 1563 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(order->lh_rsc, lh_rsc 1564 lib/pacemaker/pcmk_sched_constraints.c pcmk__op_key(order->lh_rsc->id, RSC_DEMOTE, 0), lh_rsc 1579 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 1585 lib/pacemaker/pcmk_sched_constraints.c if (lh_rsc == NULL && lh_action) { lh_rsc 1586 lib/pacemaker/pcmk_sched_constraints.c lh_rsc = lh_action->rsc; lh_rsc 1592 lib/pacemaker/pcmk_sched_constraints.c if ((lh_action == NULL && lh_rsc == NULL) lh_rsc 1603 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 1610 lib/pacemaker/pcmk_sched_constraints.c order->lh_rsc = lh_rsc; lh_rsc 1625 lib/pacemaker/pcmk_sched_constraints.c if (order->lh_rsc == NULL && lh_action) { lh_rsc 1626 lib/pacemaker/pcmk_sched_constraints.c order->lh_rsc = lh_action->rsc;