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()
286 static void res_set_usable_server(int selectedServer, int nscount, bool usable_servers[]) { in res_set_usable_server() argument289 if (usable_servers[ns]) ++usableIndex; in res_set_usable_server()290 if (usableIndex != selectedServer) usable_servers[ns] = false; in res_set_usable_server()493 bool usable_servers[MAXNS]; in res_nsend() local495 ¶ms, stats, statp->nameserverCount(), usable_servers); in res_nsend()501 usable_servers[i] = true; in res_nsend()511 res_set_usable_server(selectedServer, statp->nameserverCount(), usable_servers); in res_nsend()523 if (!usable_servers[ns]) continue; in res_nsend()