Lines Matching refs:ucom_mtx
182 static struct mtx ucom_mtx; variable
190 mtx_init(&ucom_mtx, "UCOM MTX", NULL, MTX_DEF); in ucom_init()
206 mtx_destroy(&ucom_mtx); in ucom_uninit()
365 mtx_lock(&ucom_mtx); in ucom_drain()
368 usb_pause_mtx(&ucom_mtx, hz); in ucom_drain()
370 mtx_unlock(&ucom_mtx); in ucom_drain()
376 mtx_lock(&ucom_mtx); in ucom_drain_all()
380 usb_pause_mtx(&ucom_mtx, hz); in ucom_drain_all()
382 mtx_unlock(&ucom_mtx); in ucom_drain_all()
473 mtx_lock(&ucom_mtx); in ucom_detach_tty()
475 mtx_unlock(&ucom_mtx); in ucom_detach_tty()
1504 mtx_lock(&ucom_mtx); in ucom_free()
1506 mtx_unlock(&ucom_mtx); in ucom_free()
1627 mtx_lock(&ucom_mtx); in ucom_ref()
1629 mtx_unlock(&ucom_mtx); in ucom_ref()
1664 mtx_lock(&ucom_mtx); in ucom_unref()
1667 mtx_unlock(&ucom_mtx); in ucom_unref()