first_rsc         648 lib/pacemaker/libpacemaker_private.h void pcmk__new_ordering(pcmk_resource_t *first_rsc, char *first_task,
first_rsc         680 lib/pacemaker/libpacemaker_private.h #define pcmk__order_resource_actions(first_rsc, first_task,                 \
first_rsc         682 lib/pacemaker/libpacemaker_private.h     pcmk__new_ordering((first_rsc),                                         \
first_rsc         683 lib/pacemaker/libpacemaker_private.h                        pcmk__op_key((first_rsc)->id, (first_task), 0),      \
first_rsc         687 lib/pacemaker/libpacemaker_private.h                        NULL, (flags), (first_rsc)->cluster)
first_rsc          94 lib/pacemaker/pcmk_sched_actions.c                          const pcmk_resource_t *first_rsc)
first_rsc         105 lib/pacemaker/pcmk_sched_actions.c         || (first_rsc->variant < pcmk_rsc_variant_group)) {
first_rsc         144 lib/pacemaker/pcmk_sched_actions.c         if (pcmk_is_set(first_rsc->flags, pcmk_rsc_notify)
first_rsc         145 lib/pacemaker/pcmk_sched_actions.c             && (pcmk__is_clone(first_rsc) || pcmk__is_bundled(first_rsc))) {
first_rsc         151 lib/pacemaker/pcmk_sched_actions.c         pcmk__rsc_trace(first_rsc,
first_rsc         291 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(pcmk_resource_t *first_rsc, int first_role,
first_rsc         327 lib/pacemaker/pcmk_sched_colocation.c             pcmk__order_resource_actions(first_rsc, first_tasks[first_lpc],
first_rsc         531 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(pcmk_resource_t *first_rsc, char *first_action_task,
first_rsc         539 lib/pacemaker/pcmk_sched_ordering.c     CRM_CHECK(((first_action != NULL) || (first_rsc != NULL))
first_rsc         543 lib/pacemaker/pcmk_sched_ordering.c     if ((first_rsc == NULL) && (first_action != NULL)) {
first_rsc         544 lib/pacemaker/pcmk_sched_ordering.c         first_rsc = first_action->rsc;
first_rsc         554 lib/pacemaker/pcmk_sched_ordering.c     order->rsc1 = first_rsc;
first_rsc         577 lib/pacemaker/pcmk_sched_ordering.c     pcmk__rsc_trace(first_rsc, "Created ordering %d for %s then %s",
first_rsc        1316 lib/pacemaker/pcmk_sched_ordering.c rsc_order_first(pcmk_resource_t *first_rsc, pcmk__action_relation_t *order)
first_rsc        1322 lib/pacemaker/pcmk_sched_ordering.c     CRM_ASSERT(first_rsc != NULL);
first_rsc        1323 lib/pacemaker/pcmk_sched_ordering.c     pcmk__rsc_trace(first_rsc, "Applying ordering constraint %d (first: %s)",
first_rsc        1324 lib/pacemaker/pcmk_sched_ordering.c                     order->id, first_rsc->id);
first_rsc        1330 lib/pacemaker/pcmk_sched_ordering.c         first_actions = find_actions_by_task(first_rsc, order->task1);
first_rsc        1333 lib/pacemaker/pcmk_sched_ordering.c     if ((first_actions == NULL) && (first_rsc == then_rsc)) {
first_rsc        1334 lib/pacemaker/pcmk_sched_ordering.c         pcmk__rsc_trace(first_rsc,
first_rsc        1336 lib/pacemaker/pcmk_sched_ordering.c                         order->id, order->task1, first_rsc->id);
first_rsc        1344 lib/pacemaker/pcmk_sched_ordering.c         key = pcmk__op_key(first_rsc->id, op_type, interval_ms);
first_rsc        1346 lib/pacemaker/pcmk_sched_ordering.c         if ((first_rsc->fns->state(first_rsc, TRUE) == pcmk_role_stopped)
first_rsc        1349 lib/pacemaker/pcmk_sched_ordering.c             pcmk__rsc_trace(first_rsc,
first_rsc        1352 lib/pacemaker/pcmk_sched_ordering.c                             order->id, order->task1, first_rsc->id);
first_rsc        1354 lib/pacemaker/pcmk_sched_ordering.c         } else if ((first_rsc->fns->state(first_rsc,
first_rsc        1359 lib/pacemaker/pcmk_sched_ordering.c             pcmk__rsc_trace(first_rsc,
first_rsc        1362 lib/pacemaker/pcmk_sched_ordering.c                             order->id, order->task1, first_rsc->id);
first_rsc        1365 lib/pacemaker/pcmk_sched_ordering.c             pcmk__rsc_trace(first_rsc,
first_rsc        1367 lib/pacemaker/pcmk_sched_ordering.c                             order->task1, first_rsc->id, order->id);
first_rsc        1368 lib/pacemaker/pcmk_sched_ordering.c             first_action = custom_action(first_rsc, key, op_type, NULL, TRUE,
first_rsc        1369 lib/pacemaker/pcmk_sched_ordering.c                                          first_rsc->cluster);
first_rsc        1378 lib/pacemaker/pcmk_sched_ordering.c             pcmk__rsc_trace(first_rsc, "Ignoring constraint %d: then not found",
first_rsc         788 lib/pacemaker/pcmk_sched_probes.c             pcmk_resource_t *first_rsc = first->rsc;
first_rsc         801 lib/pacemaker/pcmk_sched_probes.c                     first_rsc = before->action->rsc;
first_rsc         810 lib/pacemaker/pcmk_sched_probes.c             if (first_rsc == NULL) {
first_rsc         813 lib/pacemaker/pcmk_sched_probes.c             } else if (pe__const_top_resource(first_rsc, false)
first_rsc         815 lib/pacemaker/pcmk_sched_probes.c                 crm_trace("Same parent %s for %s", first_rsc->id, start->uuid);
first_rsc         818 lib/pacemaker/pcmk_sched_probes.c             } else if (!pcmk__is_clone(pe__const_top_resource(first_rsc,
first_rsc         820 lib/pacemaker/pcmk_sched_probes.c                 crm_trace("Not a clone %s for %s", first_rsc->id, start->uuid);
first_rsc         825 lib/pacemaker/pcmk_sched_probes.c                       pe__const_top_resource(first_rsc, false)->variant);
first_rsc          61 lib/pacemaker/pcmk_sched_remote.c order_start_then_action(pcmk_resource_t *first_rsc, pcmk_action_t *then_action,
first_rsc          64 lib/pacemaker/pcmk_sched_remote.c     if ((first_rsc != NULL) && (then_action != NULL)) {
first_rsc          65 lib/pacemaker/pcmk_sched_remote.c         pcmk__new_ordering(first_rsc, start_key(first_rsc), NULL,
first_rsc          70 lib/pacemaker/pcmk_sched_remote.c                            first_rsc->cluster);