Lines Matching defs:b2
9 const struct director_host *b2)
13 ret = net_ip_cmp(&b1->ip, &b2->ip);
16 return (int)b1->port - (int)b2->port;
134 const struct director_host *b2,
139 if ((ret = director_host_cmp(b1, b2)) >= 0)
140 return ret == 0 ? 0 : -director_host_cmp_to_self(b2, b1, self);
143 self, b1, b2 -> b2
144 b1, self, b2 -> b1
145 b1, b2, self -> b2
148 return 1; /* self, b1, b2 */
149 if (director_host_cmp(self, b2) < 0)
150 return -1; /* b1, self, b2 */
151 return 1; /* b1, b2, self */