Lines Matching refs:nscount
250 static void res_set_usable_server(int selectedServer, int nscount, bool usable_servers[]) { in res_set_usable_server() argument
252 for (int ns = 0; ns < nscount; ns++) { in res_set_usable_server()
275 for (ns = 0; ns < statp->nscount; ns++) { in res_ourserver_p()
286 for (ns = 0; ns < statp->nscount; ns++) { in res_ourserver_p()
405 if (statp->nscount == 0) { in res_nsend()
420 if (statp->_u._ext.nscount != 0) { in res_nsend()
425 if (statp->_u._ext.nscount != statp->nscount) { in res_nsend()
428 for (int ns = 0; ns < statp->nscount; ns++) { in res_nsend()
451 statp->_u._ext.nscount = 0; in res_nsend()
458 if (statp->_u._ext.nscount == 0) { in res_nsend()
459 for (int ns = 0; ns < statp->nscount; ns++) { in res_nsend()
465 statp->_u._ext.nscount = statp->nscount; in res_nsend()
475 int lastns = statp->nscount - 1; in res_nsend()
506 ¶ms, stats, statp->nscount, usable_servers); in res_nsend()
513 res_set_usable_server(selectedServer, statp->nscount, usable_servers); in res_nsend()
523 for (int ns = 0; ns < statp->nscount; ns++) { in res_nsend()
693 msec /= statp->nscount; in get_timeout()