Lines Matching refs:id2
158 * @return -1 if id1 is less than id2
160 * 1 if id1 is bigger than id2
162 int8_t bulk_pool_cmp_id(struct bulk_pool_id *id1, struct bulk_pool_id *id2)
165 if (id1->machine < id2->machine) {
169 if (id1->machine > id2->machine) {
173 if (id1->dom < id2->dom) {
177 if (id1->dom > id2->dom) {
181 if (id1->local < id2->local) {
185 if (id1->local > id2->local) {
189 assert(id1->machine == id2->machine);
190 assert(id1->dom == id2->dom);