Lines Matching refs:cs_lock
119 struct mtx cs_lock; member
282 mtx_lock(&cs->cs_lock); in clnt_dg_create()
284 mtx_unlock(&cs->cs_lock); in clnt_dg_create()
300 mtx_init(&cs->cs_lock, "cs->cs_lock", NULL, MTX_DEF); in clnt_dg_create()
355 mtx_lock(&cs->cs_lock); in clnt_dg_call()
358 mtx_unlock(&cs->cs_lock); in clnt_dg_call()
387 mtx_unlock(&cs->cs_lock); in clnt_dg_call()
390 mtx_lock(&cs->cs_lock); in clnt_dg_call()
417 mtx_assert(&cs->cs_lock, MA_OWNED); in clnt_dg_call()
422 mtx_unlock(&cs->cs_lock); in clnt_dg_call()
443 mtx_lock(&cs->cs_lock); in clnt_dg_call()
449 mtx_lock(&cs->cs_lock); in clnt_dg_call()
456 error = msleep(&cu->cu_cwnd_wait, &cs->cs_lock, in clnt_dg_call()
470 mtx_unlock(&cs->cs_lock); in clnt_dg_call()
489 mtx_lock(&cs->cs_lock); in clnt_dg_call()
555 error = msleep(cr, &cs->cs_lock, in clnt_dg_call()
654 mtx_unlock(&cs->cs_lock); in clnt_dg_call()
661 mtx_lock(&cs->cs_lock); in clnt_dg_call()
684 mtx_unlock(&cs->cs_lock); in clnt_dg_call()
726 mtx_lock(&cs->cs_lock); in clnt_dg_call()
747 mtx_lock(&cs->cs_lock); in clnt_dg_call()
757 mtx_lock(&cs->cs_lock); in clnt_dg_call()
759 mtx_assert(&cs->cs_lock, MA_OWNED); in clnt_dg_call()
770 mtx_unlock(&cs->cs_lock); in clnt_dg_call()
814 mtx_lock(&cs->cs_lock); in clnt_dg_control()
819 mtx_unlock(&cs->cs_lock); in clnt_dg_control()
823 mtx_unlock(&cs->cs_lock); in clnt_dg_control()
829 mtx_unlock(&cs->cs_lock); in clnt_dg_control()
835 mtx_unlock(&cs->cs_lock); in clnt_dg_control()
845 mtx_unlock(&cs->cs_lock); in clnt_dg_control()
932 mtx_unlock(&cs->cs_lock); in clnt_dg_control()
935 mtx_unlock(&cs->cs_lock); in clnt_dg_control()
947 mtx_lock(&cs->cs_lock); in clnt_dg_close()
950 mtx_unlock(&cs->cs_lock); in clnt_dg_close()
956 msleep(cu, &cs->cs_lock, 0, "rpcclose", 0); in clnt_dg_close()
958 mtx_unlock(&cs->cs_lock); in clnt_dg_close()
976 msleep(cu, &cs->cs_lock, 0, "rpcclose", 0); in clnt_dg_close()
981 mtx_unlock(&cs->cs_lock); in clnt_dg_close()
997 mtx_lock(&cs->cs_lock); in clnt_dg_destroy()
1001 mtx_unlock(&cs->cs_lock); in clnt_dg_destroy()
1005 mtx_destroy(&cs->cs_lock); in clnt_dg_destroy()
1009 mtx_unlock(&cs->cs_lock); in clnt_dg_destroy()
1072 mtx_lock(&cs->cs_lock); in clnt_dg_soupcall()
1078 mtx_unlock(&cs->cs_lock); in clnt_dg_soupcall()
1099 mtx_lock(&cs->cs_lock); in clnt_dg_soupcall()
1119 mtx_unlock(&cs->cs_lock); in clnt_dg_soupcall()