rsc1 581 lib/pacemaker/libpacemaker_private.h #define pcmk__order_starts(rsc1, rsc2, flags) \ rsc1 582 lib/pacemaker/libpacemaker_private.h pcmk__order_resource_actions((rsc1), CRMD_ACTION_START, \ rsc1 585 lib/pacemaker/libpacemaker_private.h #define pcmk__order_stops(rsc1, rsc2, flags) \ rsc1 586 lib/pacemaker/libpacemaker_private.h pcmk__order_resource_actions((rsc1), CRMD_ACTION_STOP, \ rsc1 75 lib/pacemaker/pcmk_sched_probes.c probe_then_start(pe_resource_t *rsc1, pe_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, pcmk__op_key(rsc1->id, RSC_STATUS, 0), NULL, rsc1 83 lib/pacemaker/pcmk_sched_probes.c pe_order_optional, rsc1->cluster); rsc1 245 lib/pacemaker/pcmk_sched_promotable.c const pe_resource_t *rsc1 = (const pe_resource_t *) a; rsc1 251 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT((rsc1 != NULL) && (rsc2 != NULL)); rsc1 254 lib/pacemaker/pcmk_sched_promotable.c if (rsc1->sort_index > rsc2->sort_index) { rsc1 255 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc1, rsc1 258 lib/pacemaker/pcmk_sched_promotable.c rsc1->id, rsc2->id, rsc1->sort_index, rsc2->sort_index); rsc1 260 lib/pacemaker/pcmk_sched_promotable.c } else if (rsc1->sort_index < rsc2->sort_index) { rsc1 261 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc1, rsc1 264 lib/pacemaker/pcmk_sched_promotable.c rsc1->id, rsc2->id, rsc1->sort_index, rsc2->sort_index); rsc1 269 lib/pacemaker/pcmk_sched_promotable.c role1 = rsc1->fns->state(rsc1, TRUE); rsc1 272 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc1, rsc1 275 lib/pacemaker/pcmk_sched_promotable.c rsc1->id, rsc2->id); rsc1 278 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc1, rsc1 281 lib/pacemaker/pcmk_sched_promotable.c rsc1->id, rsc2->id); rsc1 17 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c pe_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);