rsc_constraint1 35 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *rsc_constraint1 = (const pcmk__colocation_t *) a; rsc_constraint1 45 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT(rsc_constraint1->dependent != NULL); rsc_constraint1 46 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT(rsc_constraint1->primary != NULL); rsc_constraint1 48 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->dependent->priority > rsc_constraint2->dependent->priority) { rsc_constraint1 52 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->dependent->priority < rsc_constraint2->dependent->priority) { rsc_constraint1 57 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->dependent->variant > rsc_constraint2->dependent->variant) { rsc_constraint1 60 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->dependent->variant < rsc_constraint2->dependent->variant) { rsc_constraint1 68 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->dependent->variant == pe_clone) { rsc_constraint1 69 lib/pacemaker/pcmk_sched_colocation.c if (pcmk_is_set(rsc_constraint1->dependent->flags, pe_rsc_promotable) rsc_constraint1 72 lib/pacemaker/pcmk_sched_colocation.c } else if (!pcmk_is_set(rsc_constraint1->dependent->flags, pe_rsc_promotable) rsc_constraint1 78 lib/pacemaker/pcmk_sched_colocation.c return strcmp(rsc_constraint1->dependent->id, rsc_constraint1 85 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *rsc_constraint1 = (const pcmk__colocation_t *) a; rsc_constraint1 95 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT(rsc_constraint1->dependent != NULL); rsc_constraint1 96 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT(rsc_constraint1->primary != NULL); rsc_constraint1 98 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->priority > rsc_constraint2->primary->priority) { rsc_constraint1 102 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->priority < rsc_constraint2->primary->priority) { rsc_constraint1 107 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->variant > rsc_constraint2->primary->variant) { rsc_constraint1 109 lib/pacemaker/pcmk_sched_colocation.c } else if (rsc_constraint1->primary->variant < rsc_constraint2->primary->variant) { rsc_constraint1 117 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->variant == pe_clone) { rsc_constraint1 118 lib/pacemaker/pcmk_sched_colocation.c if (pcmk_is_set(rsc_constraint1->primary->flags, pe_rsc_promotable) rsc_constraint1 121 lib/pacemaker/pcmk_sched_colocation.c } else if (!pcmk_is_set(rsc_constraint1->primary->flags, pe_rsc_promotable) rsc_constraint1 127 lib/pacemaker/pcmk_sched_colocation.c return strcmp(rsc_constraint1->primary->id, rsc_constraint2->primary->id);