Lines Matching defs:clnt_cache_next_to_use
161 static int clnt_cache_next_to_use = 0;
237 if (clnt_cache_ptr[clnt_cache_next_to_use]) {
238 clnt_destroy(clnt_cache_ptr[clnt_cache_next_to_use]);
239 clnt_cache_ptr[clnt_cache_next_to_use] = NULL;
298 clnt_cache_ptr[clnt_cache_next_to_use] = client;
299 memcpy(&clnt_cache_addr[clnt_cache_next_to_use], host_addr,
301 clnt_cache_vers[clnt_cache_next_to_use] = vers;
302 clnt_cache_time[clnt_cache_next_to_use] = time_now.tv_sec;
303 if (++clnt_cache_next_to_use >= CLIENT_CACHE_SIZE)
304 clnt_cache_next_to_use = 0;