rsc1 506 lib/pacemaker/libpacemaker_private.h #define pcmk__order_starts(rsc1, rsc2, flags) \ rsc1 507 lib/pacemaker/libpacemaker_private.h pcmk__order_resource_actions((rsc1), CRMD_ACTION_START, \ rsc1 510 lib/pacemaker/libpacemaker_private.h #define pcmk__order_stops(rsc1, rsc2, flags) \ rsc1 511 lib/pacemaker/libpacemaker_private.h pcmk__order_resource_actions((rsc1), CRMD_ACTION_STOP, \ rsc1 74 lib/pacemaker/pcmk_sched_probes.c probe_then_start(pe_resource_t *rsc1, pe_resource_t *rsc2) rsc1 76 lib/pacemaker/pcmk_sched_probes.c if ((rsc1->allocated_to != NULL) rsc1 77 lib/pacemaker/pcmk_sched_probes.c && (g_hash_table_lookup(rsc1->known_on, rsc1 78 lib/pacemaker/pcmk_sched_probes.c rsc1->allocated_to->details->id) == NULL)) { rsc1 80 lib/pacemaker/pcmk_sched_probes.c pcmk__new_ordering(rsc1, pcmk__op_key(rsc1->id, RSC_STATUS, 0), NULL, rsc1 82 lib/pacemaker/pcmk_sched_probes.c pe_order_optional, rsc1->cluster); rsc1 241 lib/pacemaker/pcmk_sched_promotable.c const pe_resource_t *rsc1 = (const pe_resource_t *) a; rsc1 247 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT((rsc1 != NULL) && (rsc2 != NULL)); rsc1 250 lib/pacemaker/pcmk_sched_promotable.c if (rsc1->sort_index > rsc2->sort_index) { rsc1 251 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc1, rsc1 254 lib/pacemaker/pcmk_sched_promotable.c rsc1->id, rsc2->id, rsc1->sort_index, rsc2->sort_index); rsc1 256 lib/pacemaker/pcmk_sched_promotable.c } else if (rsc1->sort_index < rsc2->sort_index) { rsc1 257 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc1, rsc1 260 lib/pacemaker/pcmk_sched_promotable.c rsc1->id, rsc2->id, rsc1->sort_index, rsc2->sort_index); rsc1 265 lib/pacemaker/pcmk_sched_promotable.c role1 = rsc1->fns->state(rsc1, TRUE); rsc1 268 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc1, rsc1 271 lib/pacemaker/pcmk_sched_promotable.c rsc1->id, rsc2->id); rsc1 274 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc1, rsc1 277 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);