Lines Matching refs:nscount
201 unsigned int nscount = statp->nscount; in nameserver_offset() local
202 if (nscount <= 1 || !(statp->options & RES_ROTATE)) in nameserver_offset()
229 switch (nscount) in nameserver_offset()
238 return offset % nscount; in nameserver_offset()
273 if (statp->nscount == 0) { in __res_context_send()
293 if (EXT(statp).nscount != 0) { in __res_context_send()
296 if (EXT(statp).nscount != statp->nscount) in __res_context_send()
299 for (unsigned int ns = 0; ns < statp->nscount; ns++) { in __res_context_send()
311 EXT(statp).nscount = 0; in __res_context_send()
318 if (EXT(statp).nscount == 0) { in __res_context_send()
319 for (unsigned int ns = 0; ns < statp->nscount; ns++) { in __res_context_send()
336 EXT(statp).nscount = statp->nscount; in __res_context_send()
347 for (unsigned ns_shift = 0; ns_shift < statp->nscount; ns_shift++) in __res_context_send()
352 if (ns >= statp->nscount) in __res_context_send()
353 ns -= statp->nscount; in __res_context_send()
947 seconds /= statp->nscount; in send_dg()