rsc2 683 lib/pacemaker/libpacemaker_private.h #define pcmk__order_starts(rsc1, rsc2, flags) \ rsc2 685 lib/pacemaker/libpacemaker_private.h (rsc2), PCMK_ACTION_START, (flags)) rsc2 687 lib/pacemaker/libpacemaker_private.h #define pcmk__order_stops(rsc1, rsc2, flags) \ rsc2 689 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 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 255 lib/pacemaker/pcmk_sched_promotable.c const pcmk_resource_t *rsc2 = (const pcmk_resource_t *) b; rsc2 260 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT((rsc1 != NULL) && (rsc2 != NULL)); rsc2 263 lib/pacemaker/pcmk_sched_promotable.c if (rsc1->sort_index > rsc2->sort_index) { rsc2 267 lib/pacemaker/pcmk_sched_promotable.c rsc1->id, rsc2->id, rsc1->sort_index, rsc2->sort_index); rsc2 269 lib/pacemaker/pcmk_sched_promotable.c } else if (rsc1->sort_index < rsc2->sort_index) { rsc2 273 lib/pacemaker/pcmk_sched_promotable.c rsc1->id, rsc2->id, rsc1->sort_index, rsc2->sort_index); rsc2 279 lib/pacemaker/pcmk_sched_promotable.c role2 = rsc2->fns->state(rsc2, TRUE); rsc2 284 lib/pacemaker/pcmk_sched_promotable.c rsc1->id, rsc2->id); rsc2 290 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);