lh_rsc 1212 pengine/allocate.c order_start_then_action(resource_t *lh_rsc, action_t *rh_action, lh_rsc 1215 pengine/allocate.c if (lh_rsc && rh_action && data_set) { lh_rsc 1216 pengine/allocate.c custom_action_order(lh_rsc, start_key(lh_rsc), NULL, lh_rsc 1737 pengine/allocate.c rsc_order_first(resource_t * lh_rsc, order_constraint_t * order, pe_working_set_t * data_set) lh_rsc 1745 pengine/allocate.c CRM_ASSERT(lh_rsc != NULL); lh_rsc 1751 pengine/allocate.c lh_actions = find_actions_by_task(lh_rsc->actions, lh_rsc, order->lh_action_task); lh_rsc 1754 pengine/allocate.c if (lh_actions == NULL && lh_rsc != rh_rsc) { lh_rsc 1761 pengine/allocate.c key = generate_op_key(lh_rsc->id, op_type, interval); lh_rsc 1763 pengine/allocate.c if (lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_STOPPED && safe_str_eq(op_type, RSC_STOP)) { lh_rsc 1765 pengine/allocate.c pe_rsc_trace(lh_rsc, "No LH-Side (%s/%s) found for constraint %d with %s - ignoring", lh_rsc 1766 pengine/allocate.c lh_rsc->id, order->lh_action_task, order->id, order->rh_action_task); lh_rsc 1768 pengine/allocate.c } else if (lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_SLAVE && safe_str_eq(op_type, RSC_DEMOTE)) { lh_rsc 1770 pengine/allocate.c pe_rsc_trace(lh_rsc, "No LH-Side (%s/%s) found for constraint %d with %s - ignoring", lh_rsc 1771 pengine/allocate.c lh_rsc->id, order->lh_action_task, order->id, order->rh_action_task); lh_rsc 1774 pengine/allocate.c pe_rsc_trace(lh_rsc, "No LH-Side (%s/%s) found for constraint %d with %s - creating", lh_rsc 1775 pengine/allocate.c lh_rsc->id, order->lh_action_task, order->id, order->rh_action_task); lh_rsc 1776 pengine/allocate.c lh_action = custom_action(lh_rsc, key, op_type, NULL, TRUE, TRUE, data_set); lh_rsc 2333 pengine/allocate.c resource_t *rsc = order->lh_rsc; lh_rsc 70 pengine/allocate.h extern void native_rsc_colocation_lh(resource_t * lh_rsc, resource_t * rh_rsc, lh_rsc 72 pengine/allocate.h extern void native_rsc_colocation_rh(resource_t * lh_rsc, resource_t * rh_rsc, lh_rsc 74 pengine/allocate.h extern void rsc_ticket_constraint(resource_t * lh_rsc, rsc_ticket_t * rsc_ticket, lh_rsc 89 pengine/allocate.h extern void group_rsc_colocation_lh(resource_t * lh_rsc, resource_t * rh_rsc, lh_rsc 91 pengine/allocate.h extern void group_rsc_colocation_rh(resource_t * lh_rsc, resource_t * rh_rsc, lh_rsc 102 pengine/allocate.h extern void container_rsc_colocation_lh(resource_t * lh_rsc, resource_t * rh_rsc, lh_rsc 104 pengine/allocate.h extern void container_rsc_colocation_rh(resource_t * lh_rsc, resource_t * rh_rsc, lh_rsc 117 pengine/allocate.h extern void clone_rsc_colocation_lh(resource_t * lh_rsc, resource_t * rh_rsc, lh_rsc 119 pengine/allocate.h extern void clone_rsc_colocation_rh(resource_t * lh_rsc, resource_t * rh_rsc, lh_rsc 132 pengine/allocate.h extern void master_rsc_colocation_rh(resource_t * lh_rsc, resource_t * rh_rsc, lh_rsc 1292 pengine/constraints.c new_rsc_order(resource_t * lh_rsc, const char *lh_task, lh_rsc 1299 pengine/constraints.c CRM_CHECK(lh_rsc != NULL, return -1); lh_rsc 1312 pengine/constraints.c lh_key = generate_op_key(lh_rsc->id, lh_task, 0); lh_rsc 1315 pengine/constraints.c return custom_action_order(lh_rsc, lh_key, NULL, rh_rsc, rh_key, NULL, type, data_set); lh_rsc 1354 pengine/constraints.c if (order->lh_rsc == NULL || order->rh_rsc == NULL) { lh_rsc 1356 pengine/constraints.c } else if (order->lh_rsc == order->rh_rsc) { lh_rsc 1360 pengine/constraints.c } else if (is_parent(order->lh_rsc, order->rh_rsc)) { lh_rsc 1362 pengine/constraints.c } else if (is_parent(order->rh_rsc, order->lh_rsc)) { lh_rsc 1366 pengine/constraints.c lh_migratable = is_set(order->lh_rsc->flags, pe_rsc_allow_migrate); lh_rsc 1391 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_MIGRATED, 0), NULL, lh_rsc 1403 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_START, 0), NULL, lh_rsc 1418 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_STOP, 0), NULL, lh_rsc 1425 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_STOP, 0), NULL, lh_rsc 1436 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_PROMOTE, 0), NULL, lh_rsc 1447 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_DEMOTE, 0), NULL, lh_rsc 1454 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_DEMOTE, 0), NULL, lh_rsc 1468 pengine/constraints.c custom_action_order(resource_t * lh_rsc, char *lh_action_task, action_t * lh_action, lh_rsc 1474 pengine/constraints.c if (lh_rsc == NULL && lh_action) { lh_rsc 1475 pengine/constraints.c lh_rsc = lh_action->rsc; lh_rsc 1481 pengine/constraints.c if ((lh_action == NULL && lh_rsc == NULL) lh_rsc 1483 pengine/constraints.c crm_config_err("Invalid inputs %p.%p %p.%p", lh_rsc, lh_action, rh_rsc, rh_action); lh_rsc 1492 pengine/constraints.c lh_rsc?lh_rsc->id:"NA", lh_action_task, lh_action?lh_action->uuid:"NA", lh_rsc 1499 pengine/constraints.c order->lh_rsc = lh_rsc; lh_rsc 1514 pengine/constraints.c if (order->lh_rsc == NULL && lh_action) { lh_rsc 1515 pengine/constraints.c order->lh_rsc = lh_action->rsc; lh_rsc 92 pengine/pengine.h resource_t *lh_rsc; lh_rsc 128 pengine/pengine.h extern int custom_action_order(resource_t * lh_rsc, char *lh_task, action_t * lh_action, lh_rsc 132 pengine/pengine.h extern int new_rsc_order(resource_t * lh_rsc, const char *lh_task,