rsc_constraint1 1125 pengine/constraints.c const rsc_colocation_t *rsc_constraint1 = (const rsc_colocation_t *)a; rsc_constraint1 1135 pengine/constraints.c CRM_ASSERT(rsc_constraint1->rsc_lh != NULL); rsc_constraint1 1136 pengine/constraints.c CRM_ASSERT(rsc_constraint1->rsc_rh != NULL); rsc_constraint1 1138 pengine/constraints.c if (rsc_constraint1->rsc_lh->priority > rsc_constraint2->rsc_lh->priority) { rsc_constraint1 1142 pengine/constraints.c if (rsc_constraint1->rsc_lh->priority < rsc_constraint2->rsc_lh->priority) { rsc_constraint1 1147 pengine/constraints.c if (rsc_constraint1->rsc_lh->variant > rsc_constraint2->rsc_lh->variant) { rsc_constraint1 1149 pengine/constraints.c } else if (rsc_constraint1->rsc_lh->variant < rsc_constraint2->rsc_lh->variant) { rsc_constraint1 1153 pengine/constraints.c return strcmp(rsc_constraint1->rsc_lh->id, rsc_constraint2->rsc_lh->id); rsc_constraint1 1159 pengine/constraints.c const rsc_colocation_t *rsc_constraint1 = (const rsc_colocation_t *)a; rsc_constraint1 1169 pengine/constraints.c CRM_ASSERT(rsc_constraint1->rsc_lh != NULL); rsc_constraint1 1170 pengine/constraints.c CRM_ASSERT(rsc_constraint1->rsc_rh != NULL); rsc_constraint1 1172 pengine/constraints.c if (rsc_constraint1->rsc_rh->priority > rsc_constraint2->rsc_rh->priority) { rsc_constraint1 1176 pengine/constraints.c if (rsc_constraint1->rsc_rh->priority < rsc_constraint2->rsc_rh->priority) { rsc_constraint1 1181 pengine/constraints.c if (rsc_constraint1->rsc_rh->variant > rsc_constraint2->rsc_rh->variant) { rsc_constraint1 1183 pengine/constraints.c } else if (rsc_constraint1->rsc_rh->variant < rsc_constraint2->rsc_rh->variant) { rsc_constraint1 1187 pengine/constraints.c return strcmp(rsc_constraint1->rsc_rh->id, rsc_constraint2->rsc_rh->id);