Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dcallb.c76 kmutex_t ct_lock; /* protect all callb states */ member
103 mutex_init(&callb_table.ct_lock, NULL, MUTEX_DEFAULT, NULL); in callb_init()
112 mutex_enter(&ct->ct_lock); in callb_fini()
122 mutex_exit(&ct->ct_lock); in callb_fini()
124 mutex_enter(&ct->ct_lock); in callb_fini()
128 mutex_exit(&ct->ct_lock); in callb_fini()
130 mutex_destroy(&callb_table.ct_lock); in callb_fini()
144 mutex_enter(&ct->ct_lock); in callb_add_common()
146 cv_wait(&ct->ct_busy_cv, &ct->ct_lock); in callb_add_common()
171 mutex_exit(&ct->ct_lock); in callb_add_common()
[all …]
/freebsd/sys/rpc/
H A Dclnt_vc.c149 mtx_init(&ct->ct_lock, "ct->ct_lock", NULL, MTX_DEF); in clnt_vc_create()
278 mtx_destroy(&ct->ct_lock); in clnt_vc_create()
313 mtx_lock(&ct->ct_lock); in clnt_vc_call()
316 mtx_unlock(&ct->ct_lock); in clnt_vc_call()
345 mtx_assert(&ct->ct_lock, MA_OWNED); in clnt_vc_call()
349 mtx_unlock(&ct->ct_lock); in clnt_vc_call()
357 mtx_unlock(&ct->ct_lock); in clnt_vc_call()
382 mtx_lock(&ct->ct_lock); in clnt_vc_call()
395 mtx_lock(&ct->ct_lock); in clnt_vc_call()
416 msleep(&ct->ct_rcvstate, &ct->ct_lock, 0, "rpcrcvst", hz); in clnt_vc_call()
[all …]
H A Dclnt_bck.c132 mtx_init(&ct->ct_lock, "ct->ct_lock", NULL, MTX_DEF); in clnt_bck_create()
175 mtx_destroy(&ct->ct_lock); in clnt_bck_create()
210 mtx_lock(&ct->ct_lock); in clnt_bck_call()
213 mtx_unlock(&ct->ct_lock); in clnt_bck_call()
236 mtx_assert(&ct->ct_lock, MA_OWNED); in clnt_bck_call()
241 mtx_unlock(&ct->ct_lock); in clnt_bck_call()
266 mtx_lock(&ct->ct_lock); in clnt_bck_call()
279 mtx_lock(&ct->ct_lock); in clnt_bck_call()
297 mtx_unlock(&ct->ct_lock); in clnt_bck_call()
326 mtx_lock(&ct->ct_lock); in clnt_bck_call()
[all …]
H A Dkrpc.h97 struct mtx ct_lock; member
H A Dsvc_vc.c956 mtx_lock(&ct->ct_lock); in svc_vc_backchannel_recv()
960 mtx_unlock(&ct->ct_lock); in svc_vc_backchannel_recv()
965 mtx_unlock(&ct->ct_lock); in svc_vc_backchannel_recv()