Searched refs:usable_servers (Results 1 – 2 of 2) sorted by relevance
147 int nscount, bool usable_servers[]) { in android_net_res_stats_get_usable_servers() argument154 usable_servers[ns] = usable; in android_net_res_stats_get_usable_servers()160 usable_servers[ns] = true; in android_net_res_stats_get_usable_servers()
289 static void res_set_usable_server(int selectedServer, int nscount, bool usable_servers[]) { in res_set_usable_server() argument292 if (usable_servers[ns]) ++usableIndex; in res_set_usable_server()293 if (usableIndex != selectedServer) usable_servers[ns] = false; in res_set_usable_server()496 bool usable_servers[MAXNS]; in res_nsend() local498 ¶ms, stats, statp->nameserverCount(), usable_servers); in res_nsend()504 usable_servers[i] = true; in res_nsend()514 res_set_usable_server(selectedServer, statp->nameserverCount(), usable_servers); in res_nsend()526 if (!usable_servers[ns]) continue; in res_nsend()