Searched refs:usable_servers (Results 1 – 2 of 2) sorted by relevance
148 int nscount, bool usable_servers[]) { in android_net_res_stats_get_usable_servers() argument155 usable_servers[ns] = usable; in android_net_res_stats_get_usable_servers()161 usable_servers[ns] = true; in android_net_res_stats_get_usable_servers()
250 static void res_set_usable_server(int selectedServer, int nscount, bool usable_servers[]) { in res_set_usable_server() argument253 if (usable_servers[ns]) ++usableIndex; in res_set_usable_server()254 if (usableIndex != selectedServer) usable_servers[ns] = false; in res_set_usable_server()504 bool usable_servers[MAXNS]; in res_nsend() local506 ¶ms, stats, statp->nscount, usable_servers); in res_nsend()513 res_set_usable_server(selectedServer, statp->nscount, usable_servers); in res_nsend()524 if (!usable_servers[ns]) continue; in res_nsend()