rsc2              144 include/crm/common/action_relation_internal.h     pcmk_resource_t *rsc2;      // Resource for second action, if any
rsc2               29 lib/common/tests/nodes/pcmk_foreach_active_resource_test.c static pcmk_resource_t rsc2 = {
rsc2              112 lib/common/tests/nodes/pcmk_foreach_active_resource_test.c     shared.running_rsc = g_list_append(shared.running_rsc, &rsc2);
rsc2              133 lib/common/tests/nodes/pcmk_foreach_active_resource_test.c     shared.running_rsc = g_list_append(shared.running_rsc, &rsc2);
rsc2              689 lib/pacemaker/libpacemaker_private.h #define pcmk__order_starts(rsc1, rsc2, flags)                \
rsc2              691 lib/pacemaker/libpacemaker_private.h                                  (rsc2), PCMK_ACTION_START, (flags))
rsc2              693 lib/pacemaker/libpacemaker_private.h #define pcmk__order_stops(rsc1, rsc2, flags)                 \
rsc2              695 lib/pacemaker/libpacemaker_private.h                                  (rsc2), PCMK_ACTION_STOP, (flags))
rsc2               56 lib/pacemaker/pcmk_sched_colocation.c     const pcmk_resource_t *rsc2 = NULL;
rsc2               67 lib/pacemaker/pcmk_sched_colocation.c         rsc2 = colocation2->dependent;
rsc2               71 lib/pacemaker/pcmk_sched_colocation.c         rsc2 = colocation2->primary;
rsc2               74 lib/pacemaker/pcmk_sched_colocation.c     CRM_ASSERT((rsc1 != NULL) && (rsc2 != NULL));
rsc2               76 lib/pacemaker/pcmk_sched_colocation.c     if (rsc1->priority > rsc2->priority) {
rsc2               79 lib/pacemaker/pcmk_sched_colocation.c     if (rsc1->priority < rsc2->priority) {
rsc2               84 lib/pacemaker/pcmk_sched_colocation.c     if (rsc1->variant > rsc2->variant) {
rsc2               87 lib/pacemaker/pcmk_sched_colocation.c     if (rsc1->variant < rsc2->variant) {
rsc2               97 lib/pacemaker/pcmk_sched_colocation.c             && !pcmk_is_set(rsc2->flags, pcmk_rsc_promotable)) {
rsc2              101 lib/pacemaker/pcmk_sched_colocation.c             && pcmk_is_set(rsc2->flags, pcmk_rsc_promotable)) {
rsc2              106 lib/pacemaker/pcmk_sched_colocation.c     return strcmp(rsc1->id, rsc2->id);
rsc2              272 lib/pacemaker/pcmk_sched_migration.c     if ((order->rsc1 == NULL) || (order->rsc2 == NULL)
rsc2              273 lib/pacemaker/pcmk_sched_migration.c         || (order->rsc1 == order->rsc2)
rsc2              274 lib/pacemaker/pcmk_sched_migration.c         || is_parent(order->rsc1, order->rsc2)
rsc2              275 lib/pacemaker/pcmk_sched_migration.c         || is_parent(order->rsc2, order->rsc1)) {
rsc2              281 lib/pacemaker/pcmk_sched_migration.c     then_migratable = pcmk_is_set(order->rsc2->flags, pcmk_rsc_migratable);
rsc2              301 lib/pacemaker/pcmk_sched_migration.c                                NULL, order->rsc2,
rsc2              302 lib/pacemaker/pcmk_sched_migration.c                                pcmk__op_key(order->rsc2->id,
rsc2              319 lib/pacemaker/pcmk_sched_migration.c                                NULL, order->rsc2,
rsc2              320 lib/pacemaker/pcmk_sched_migration.c                                pcmk__op_key(order->rsc2->id,
rsc2              341 lib/pacemaker/pcmk_sched_migration.c                            order->rsc2,
rsc2              342 lib/pacemaker/pcmk_sched_migration.c                            pcmk__op_key(order->rsc2->id,
rsc2              347 lib/pacemaker/pcmk_sched_migration.c         if (order->rsc2->partial_migration_target != NULL) {
rsc2              351 lib/pacemaker/pcmk_sched_migration.c                                NULL, order->rsc2,
rsc2              352 lib/pacemaker/pcmk_sched_migration.c                                pcmk__op_key(order->rsc2->id,
rsc2              368 lib/pacemaker/pcmk_sched_migration.c                                NULL, order->rsc2,
rsc2              369 lib/pacemaker/pcmk_sched_migration.c                                pcmk__op_key(order->rsc2->id,
rsc2              385 lib/pacemaker/pcmk_sched_migration.c                                NULL, order->rsc2,
rsc2              386 lib/pacemaker/pcmk_sched_migration.c                                pcmk__op_key(order->rsc2->id,
rsc2              391 lib/pacemaker/pcmk_sched_migration.c             if (order->rsc2->partial_migration_target != NULL) {
rsc2              395 lib/pacemaker/pcmk_sched_migration.c                                    NULL, order->rsc2,
rsc2              396 lib/pacemaker/pcmk_sched_migration.c                                    pcmk__op_key(order->rsc2->id,
rsc2              555 lib/pacemaker/pcmk_sched_ordering.c     order->rsc2 = then_rsc;
rsc2              573 lib/pacemaker/pcmk_sched_ordering.c     if ((order->rsc2 == NULL) && (then_action != NULL)) {
rsc2              574 lib/pacemaker/pcmk_sched_ordering.c         order->rsc2 = then_action->rsc;
rsc2             1320 lib/pacemaker/pcmk_sched_ordering.c     pcmk_resource_t *then_rsc = order->rsc2;
rsc2             1449 lib/pacemaker/pcmk_sched_ordering.c         rsc = order->rsc2;
rsc2               75 lib/pacemaker/pcmk_sched_probes.c probe_then_start(pcmk_resource_t *rsc1, pcmk_resource_t *rsc2)
rsc2               84 lib/pacemaker/pcmk_sched_probes.c                            rsc2, pcmk__op_key(rsc2->id, PCMK_ACTION_START, 0),
rsc2              360 lib/pacemaker/pcmk_sched_probes.c         if ((order->rsc1 == NULL) || (order->rsc1 == order->rsc2)) {
rsc2              386 lib/pacemaker/pcmk_sched_probes.c         if ((order->rsc2 != NULL) && (order->rsc1->container == order->rsc2)) {
rsc2              424 lib/pacemaker/pcmk_sched_probes.c         } else if (order->rsc2 != NULL) {
rsc2              425 lib/pacemaker/pcmk_sched_probes.c             then_actions = find_actions(order->rsc2->actions, order->task2,
rsc2              256 lib/pacemaker/pcmk_sched_promotable.c     const pcmk_resource_t *rsc2 = (const pcmk_resource_t *) b;
rsc2              261 lib/pacemaker/pcmk_sched_promotable.c     CRM_ASSERT((rsc1 != NULL) && (rsc2 != NULL));
rsc2              264 lib/pacemaker/pcmk_sched_promotable.c     if (rsc1->sort_index > rsc2->sort_index) {
rsc2              268 lib/pacemaker/pcmk_sched_promotable.c                         rsc1->id, rsc2->id, rsc1->sort_index, rsc2->sort_index);
rsc2              270 lib/pacemaker/pcmk_sched_promotable.c     } else if (rsc1->sort_index < rsc2->sort_index) {
rsc2              274 lib/pacemaker/pcmk_sched_promotable.c                         rsc1->id, rsc2->id, rsc1->sort_index, rsc2->sort_index);
rsc2              280 lib/pacemaker/pcmk_sched_promotable.c     role2 = rsc2->fns->state(rsc2, TRUE);
rsc2              285 lib/pacemaker/pcmk_sched_promotable.c                         rsc1->id, rsc2->id);
rsc2              291 lib/pacemaker/pcmk_sched_promotable.c                         rsc1->id, rsc2->id);
rsc2               18 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c pcmk_resource_t rsc2;
rsc2               24 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c     rsc2.priority = 0;
rsc2               26 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c     assert_int_equal(pe__cmp_rsc_priority(&rsc1, &rsc2), 0);
rsc2               33 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c     rsc2.priority = 0;
rsc2               35 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c     assert_int_equal(pe__cmp_rsc_priority(&rsc1, &rsc2), -1);
rsc2               42 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c     rsc2.priority = 1;
rsc2               43 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c     assert_int_equal(pe__cmp_rsc_priority(NULL, &rsc2), 1);
rsc2               44 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c     assert_int_equal(pe__cmp_rsc_priority(&rsc1, &rsc2), 1);