Home
last modified time | relevance | path

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

/freebsd/lib/libc/rpc/
H A Dmt_misc.h33 #define rpcbaddr_cache_lock __rpcbaddr_cache_lock macro
49 extern pthread_rwlock_t rpcbaddr_cache_lock;
H A Dmt_misc.c15 #define rpcbaddr_cache_lock __rpcbaddr_cache_lock macro
36 pthread_rwlock_t rpcbaddr_cache_lock = PTHREAD_RWLOCK_INITIALIZER; variable
H A Drpcb_clnt.c225 rwlock_wrlock(&rpcbaddr_cache_lock); in add_cache()
259 rwlock_unlock(&rpcbaddr_cache_lock); in add_cache()
285 rwlock_rdlock(&rpcbaddr_cache_lock); in getclnthandle()
296 rwlock_unlock(&rpcbaddr_cache_lock); in getclnthandle()
307 rwlock_unlock(&rpcbaddr_cache_lock); in getclnthandle()
313 rwlock_wrlock(&rpcbaddr_cache_lock); in getclnthandle()
315 rwlock_unlock(&rpcbaddr_cache_lock); in getclnthandle()
/freebsd/sys/rpc/
H A Drpcb_clnt.c234 rwlock_wrlock(&rpcbaddr_cache_lock);
269 rwlock_unlock(&rpcbaddr_cache_lock);
298 rwlock_rdlock(&rpcbaddr_cache_lock);
309 rwlock_unlock(&rpcbaddr_cache_lock);
320 rwlock_unlock(&rpcbaddr_cache_lock);
326 rwlock_wrlock(&rpcbaddr_cache_lock);
328 rwlock_unlock(&rpcbaddr_cache_lock);