rsc_constraint1 38 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *rsc_constraint1 = (const pcmk__colocation_t *) a; rsc_constraint1 48 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT(rsc_constraint1->dependent != NULL); rsc_constraint1 49 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT(rsc_constraint1->primary != NULL); rsc_constraint1 51 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->dependent->priority > rsc_constraint2->dependent->priority) { rsc_constraint1 55 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->dependent->priority < rsc_constraint2->dependent->priority) { rsc_constraint1 60 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->dependent->variant > rsc_constraint2->dependent->variant) { rsc_constraint1 63 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->dependent->variant < rsc_constraint2->dependent->variant) { rsc_constraint1 71 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->dependent->variant == pe_clone) { rsc_constraint1 72 lib/pacemaker/pcmk_sched_colocation.c if (pcmk_is_set(rsc_constraint1->dependent->flags, pe_rsc_promotable) rsc_constraint1 75 lib/pacemaker/pcmk_sched_colocation.c } else if (!pcmk_is_set(rsc_constraint1->dependent->flags, pe_rsc_promotable) rsc_constraint1 81 lib/pacemaker/pcmk_sched_colocation.c return strcmp(rsc_constraint1->dependent->id, rsc_constraint1 88 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *rsc_constraint1 = (const pcmk__colocation_t *) a; rsc_constraint1 98 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT(rsc_constraint1->dependent != NULL); rsc_constraint1 99 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT(rsc_constraint1->primary != NULL); rsc_constraint1 101 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->priority > rsc_constraint2->primary->priority) { rsc_constraint1 105 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->priority < rsc_constraint2->primary->priority) { rsc_constraint1 110 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->variant > rsc_constraint2->primary->variant) { rsc_constraint1 112 lib/pacemaker/pcmk_sched_colocation.c } else if (rsc_constraint1->primary->variant < rsc_constraint2->primary->variant) { rsc_constraint1 120 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->variant == pe_clone) { rsc_constraint1 121 lib/pacemaker/pcmk_sched_colocation.c if (pcmk_is_set(rsc_constraint1->primary->flags, pe_rsc_promotable) rsc_constraint1 124 lib/pacemaker/pcmk_sched_colocation.c } else if (!pcmk_is_set(rsc_constraint1->primary->flags, pe_rsc_promotable) rsc_constraint1 130 lib/pacemaker/pcmk_sched_colocation.c return strcmp(rsc_constraint1->primary->id, rsc_constraint2->primary->id);