first_rsc         464 lib/pacemaker/libpacemaker_private.h void pcmk__new_ordering(pe_resource_t *first_rsc, char *first_task,
first_rsc         497 lib/pacemaker/libpacemaker_private.h #define pcmk__order_resource_actions(first_rsc, first_task,                 \
first_rsc         499 lib/pacemaker/libpacemaker_private.h     pcmk__new_ordering((first_rsc),                                         \
first_rsc         500 lib/pacemaker/libpacemaker_private.h                        pcmk__op_key((first_rsc)->id, (first_task), 0),      \
first_rsc         504 lib/pacemaker/libpacemaker_private.h                        NULL, (flags), (first_rsc)->cluster)
first_rsc          92 lib/pacemaker/pcmk_sched_actions.c action_uuid_for_ordering(const char *first_uuid, pe_resource_t *first_rsc)
first_rsc         103 lib/pacemaker/pcmk_sched_actions.c         || (first_rsc->variant < pe_group)) {
first_rsc         144 lib/pacemaker/pcmk_sched_actions.c         if (pcmk_is_set(first_rsc->flags, pe_rsc_notify)
first_rsc         145 lib/pacemaker/pcmk_sched_actions.c             && ((first_rsc->parent == NULL)
first_rsc         146 lib/pacemaker/pcmk_sched_actions.c                 || (pe_rsc_is_clone(first_rsc)
first_rsc         147 lib/pacemaker/pcmk_sched_actions.c                     && (first_rsc->parent->variant == pe_container)))) {
first_rsc         153 lib/pacemaker/pcmk_sched_actions.c         pe_rsc_trace(first_rsc,
first_rsc         166 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(pe_resource_t *first_rsc, int first_role,
first_rsc         203 lib/pacemaker/pcmk_sched_colocation.c             pcmk__order_resource_actions(first_rsc, first_tasks[first_lpc],
first_rsc         522 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(pe_resource_t *first_rsc, char *first_action_task,
first_rsc         530 lib/pacemaker/pcmk_sched_ordering.c     CRM_CHECK(((first_action != NULL) || (first_rsc != NULL))
first_rsc         534 lib/pacemaker/pcmk_sched_ordering.c     if ((first_rsc == NULL) && (first_action != NULL)) {
first_rsc         535 lib/pacemaker/pcmk_sched_ordering.c         first_rsc = first_action->rsc;
first_rsc         546 lib/pacemaker/pcmk_sched_ordering.c     order->lh_rsc = first_rsc;
first_rsc         569 lib/pacemaker/pcmk_sched_ordering.c     pe_rsc_trace(first_rsc, "Created ordering %d for %s then %s",
first_rsc        1280 lib/pacemaker/pcmk_sched_ordering.c rsc_order_first(pe_resource_t *first_rsc, pe__ordering_t *order,
first_rsc        1287 lib/pacemaker/pcmk_sched_ordering.c     CRM_ASSERT(first_rsc != NULL);
first_rsc        1288 lib/pacemaker/pcmk_sched_ordering.c     pe_rsc_trace(first_rsc, "Applying ordering constraint %d (first: %s)",
first_rsc        1289 lib/pacemaker/pcmk_sched_ordering.c                  order->id, first_rsc->id);
first_rsc        1295 lib/pacemaker/pcmk_sched_ordering.c         first_actions = find_actions_by_task(first_rsc, order->lh_action_task);
first_rsc        1298 lib/pacemaker/pcmk_sched_ordering.c     if ((first_actions == NULL) && (first_rsc == then_rsc)) {
first_rsc        1299 lib/pacemaker/pcmk_sched_ordering.c         pe_rsc_trace(first_rsc,
first_rsc        1301 lib/pacemaker/pcmk_sched_ordering.c                      order->id, order->lh_action_task, first_rsc->id);
first_rsc        1309 lib/pacemaker/pcmk_sched_ordering.c         key = pcmk__op_key(first_rsc->id, op_type, interval_ms);
first_rsc        1311 lib/pacemaker/pcmk_sched_ordering.c         if ((first_rsc->fns->state(first_rsc, TRUE) == RSC_ROLE_STOPPED)
first_rsc        1314 lib/pacemaker/pcmk_sched_ordering.c             pe_rsc_trace(first_rsc,
first_rsc        1316 lib/pacemaker/pcmk_sched_ordering.c                          order->id, order->lh_action_task, first_rsc->id);
first_rsc        1318 lib/pacemaker/pcmk_sched_ordering.c         } else if ((first_rsc->fns->state(first_rsc, TRUE) == RSC_ROLE_UNPROMOTED)
first_rsc        1321 lib/pacemaker/pcmk_sched_ordering.c             pe_rsc_trace(first_rsc,
first_rsc        1323 lib/pacemaker/pcmk_sched_ordering.c                          order->id, order->lh_action_task, first_rsc->id);
first_rsc        1326 lib/pacemaker/pcmk_sched_ordering.c             pe_rsc_trace(first_rsc,
first_rsc        1328 lib/pacemaker/pcmk_sched_ordering.c                          order->lh_action_task, first_rsc->id, order->id);
first_rsc        1329 lib/pacemaker/pcmk_sched_ordering.c             first_action = custom_action(first_rsc, key, op_type, NULL, TRUE,
first_rsc        1339 lib/pacemaker/pcmk_sched_ordering.c             pe_rsc_trace(first_rsc, "Ignoring constraint %d: then not found",
first_rsc         710 lib/pacemaker/pcmk_sched_probes.c             pe_resource_t *first_rsc = first->rsc;
first_rsc         723 lib/pacemaker/pcmk_sched_probes.c                     first_rsc = before->action->rsc;
first_rsc         731 lib/pacemaker/pcmk_sched_probes.c             if (first_rsc == NULL) {
first_rsc         734 lib/pacemaker/pcmk_sched_probes.c             } else if (uber_parent(first_rsc) == uber_parent(start->rsc)) {
first_rsc         735 lib/pacemaker/pcmk_sched_probes.c                 crm_trace("Same parent %s for %s", first_rsc->id, start->uuid);
first_rsc         738 lib/pacemaker/pcmk_sched_probes.c             } else if (!pe_rsc_is_clone(uber_parent(first_rsc))) {
first_rsc         739 lib/pacemaker/pcmk_sched_probes.c                 crm_trace("Not a clone %s for %s", first_rsc->id, start->uuid);
first_rsc         744 lib/pacemaker/pcmk_sched_probes.c                     uber_parent(first_rsc)->variant);
first_rsc          62 lib/pacemaker/pcmk_sched_remote.c order_start_then_action(pe_resource_t *first_rsc, pe_action_t *then_action,
first_rsc          65 lib/pacemaker/pcmk_sched_remote.c     if ((first_rsc != NULL) && (then_action != NULL) && (data_set != NULL)) {
first_rsc          66 lib/pacemaker/pcmk_sched_remote.c         pcmk__new_ordering(first_rsc, start_key(first_rsc), NULL,