Lines Matching refs:MAXNS
1141 char* nameservers[MAXNS];
1142 struct addrinfo* nsaddrinfo[MAXNS];
1145 struct res_stats nsstats[MAXNS];
1726 struct addrinfo* nsaddrinfo[MAXNS]; in resolv_set_nameservers_for_net()
1728 if (numservers > MAXNS) { in resolv_set_nameservers_for_net()
1729 LOG(ERROR) << __func__ << ": numservers=" << numservers << ", MAXNS=" << MAXNS; in resolv_set_nameservers_for_net()
1880 for (nserv = 0; nserv < MAXNS; nserv++) { in _resolv_populate_res_for_net()
1933 for (int i = 0; i < MAXNS; ++i) { in res_cache_clear_stats_locked()
1940 struct sockaddr_storage servers[MAXNS], int* dcount, in android_net_res_stats_get_info_for_net() argument
1942 res_params* params, struct res_stats stats[MAXNS], in android_net_res_stats_get_info_for_net() argument
1949 if (info->nscount > MAXNS) { in android_net_res_stats_get_info_for_net()
1950 LOG(INFO) << __func__ << ": nscount " << info->nscount << " > MAXNS " << MAXNS; in android_net_res_stats_get_info_for_net()
2003 int resolv_cache_get_resolver_stats(unsigned netid, res_params* params, res_stats stats[MAXNS]) { in resolv_cache_get_resolver_stats() argument