Searched refs:server_head (Results 1 – 1 of 1) sorted by relevance
313 struct nameserver *server_head; member1336 struct nameserver *started_at = base->server_head, *picked; in nameserver_pick()1338 if (!base->server_head) return NULL; in nameserver_pick()1343 base->server_head = base->server_head->next; in nameserver_pick()1344 return base->server_head; in nameserver_pick()1349 if (base->server_head->state) { in nameserver_pick()1351 picked = base->server_head; in nameserver_pick()1352 base->server_head = base->server_head->next; in nameserver_pick()1356 base->server_head = base->server_head->next; in nameserver_pick()1357 if (base->server_head == started_at) { in nameserver_pick()[all …]