rsc1 683 lib/pacemaker/libpacemaker_private.h #define pcmk__order_starts(rsc1, rsc2, flags) \ rsc1 684 lib/pacemaker/libpacemaker_private.h pcmk__order_resource_actions((rsc1), PCMK_ACTION_START, \ rsc1 687 lib/pacemaker/libpacemaker_private.h #define pcmk__order_stops(rsc1, rsc2, flags) \ rsc1 688 lib/pacemaker/libpacemaker_private.h pcmk__order_resource_actions((rsc1), PCMK_ACTION_STOP, \ rsc1 55 lib/pacemaker/pcmk_sched_colocation.c const pcmk_resource_t *rsc1 = NULL; rsc1 66 lib/pacemaker/pcmk_sched_colocation.c rsc1 = colocation1->dependent; rsc1 70 lib/pacemaker/pcmk_sched_colocation.c rsc1 = colocation1->primary; rsc1 74 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT((rsc1 != NULL) && (rsc2 != NULL)); rsc1 76 lib/pacemaker/pcmk_sched_colocation.c if (rsc1->priority > rsc2->priority) { rsc1 79 lib/pacemaker/pcmk_sched_colocation.c if (rsc1->priority < rsc2->priority) { rsc1 84 lib/pacemaker/pcmk_sched_colocation.c if (rsc1->variant > rsc2->variant) { rsc1 87 lib/pacemaker/pcmk_sched_colocation.c if (rsc1->variant < rsc2->variant) { rsc1 95 lib/pacemaker/pcmk_sched_colocation.c if (rsc1->variant == pcmk_rsc_variant_clone) { rsc1 96 lib/pacemaker/pcmk_sched_colocation.c if (pcmk_is_set(rsc1->flags, pcmk_rsc_promotable) rsc1 100 lib/pacemaker/pcmk_sched_colocation.c if (!pcmk_is_set(rsc1->flags, pcmk_rsc_promotable) rsc1 106 lib/pacemaker/pcmk_sched_colocation.c return strcmp(rsc1->id, rsc2->id); rsc1 75 lib/pacemaker/pcmk_sched_probes.c probe_then_start(pcmk_resource_t *rsc1, pcmk_resource_t *rsc2) rsc1 77 lib/pacemaker/pcmk_sched_probes.c if ((rsc1->allocated_to != NULL) rsc1 78 lib/pacemaker/pcmk_sched_probes.c && (g_hash_table_lookup(rsc1->known_on, rsc1 79 lib/pacemaker/pcmk_sched_probes.c rsc1->allocated_to->details->id) == NULL)) { rsc1 81 lib/pacemaker/pcmk_sched_probes.c pcmk__new_ordering(rsc1, rsc1 82 lib/pacemaker/pcmk_sched_probes.c pcmk__op_key(rsc1->id, PCMK_ACTION_MONITOR, 0), rsc1 86 lib/pacemaker/pcmk_sched_probes.c pcmk__ar_ordered, rsc1->cluster); rsc1 254 lib/pacemaker/pcmk_sched_promotable.c const pcmk_resource_t *rsc1 = (const pcmk_resource_t *) a; rsc1 260 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT((rsc1 != NULL) && (rsc2 != NULL)); rsc1 263 lib/pacemaker/pcmk_sched_promotable.c if (rsc1->sort_index > rsc2->sort_index) { rsc1 264 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc1, rsc1 267 lib/pacemaker/pcmk_sched_promotable.c rsc1->id, rsc2->id, rsc1->sort_index, rsc2->sort_index); rsc1 269 lib/pacemaker/pcmk_sched_promotable.c } else if (rsc1->sort_index < rsc2->sort_index) { rsc1 270 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc1, rsc1 273 lib/pacemaker/pcmk_sched_promotable.c rsc1->id, rsc2->id, rsc1->sort_index, rsc2->sort_index); rsc1 278 lib/pacemaker/pcmk_sched_promotable.c role1 = rsc1->fns->state(rsc1, TRUE); rsc1 281 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc1, rsc1 284 lib/pacemaker/pcmk_sched_promotable.c rsc1->id, rsc2->id); rsc1 287 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc1, rsc1 290 lib/pacemaker/pcmk_sched_promotable.c rsc1->id, rsc2->id); rsc1 17 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c pcmk_resource_t rsc1; rsc1 23 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c rsc1.priority = 0; rsc1 26 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c assert_int_equal(pe__cmp_rsc_priority(&rsc1, &rsc2), 0); rsc1 32 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c rsc1.priority = 1; rsc1 34 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c assert_int_equal(pe__cmp_rsc_priority(&rsc1, NULL), -1); rsc1 35 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c assert_int_equal(pe__cmp_rsc_priority(&rsc1, &rsc2), -1); rsc1 41 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c rsc1.priority = 0; rsc1 44 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c assert_int_equal(pe__cmp_rsc_priority(&rsc1, &rsc2), 1);