Home
last modified time | relevance | path

Searched refs:clnt_cache_next_to_use (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/usr.sbin/rpc.lockd/
H A Dlock_proc.c121 static int clnt_cache_next_to_use = 0; variable
189 if (clnt_cache_ptr[clnt_cache_next_to_use]) { in get_client()
190 clnt_destroy(clnt_cache_ptr[clnt_cache_next_to_use]); in get_client()
191 clnt_cache_ptr[clnt_cache_next_to_use] = NULL; in get_client()
234 clnt_cache_ptr[clnt_cache_next_to_use] = client; in get_client()
235 (void)memcpy(&clnt_cache_addr[clnt_cache_next_to_use], host_addr, in get_client()
237 clnt_cache_time[clnt_cache_next_to_use] = time_now.tv_sec; in get_client()
238 if (++clnt_cache_next_to_use >= CLIENT_CACHE_SIZE) in get_client()
239 clnt_cache_next_to_use = 0; in get_client()