Home
last modified time | relevance | path

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

/third_party/FreeBSD/sys/dev/usb/
Dusb_dev.c319 f->priv_mtx = mtx; in usb_fifo_alloc()
532 mtx_lock(f->priv_mtx); in usb_fifo_free()
540 mtx_unlock(f->priv_mtx); in usb_fifo_free()
643 mtx_lock(f->priv_mtx); in usb_fifo_open()
671 mtx_unlock(f->priv_mtx); in usb_fifo_open()
712 mtx_lock(f->priv_mtx); in usb_fifo_close()
746 err = cv_timedwait(&f->cv_io, f->priv_mtx, in usb_fifo_close()
769 mtx_unlock(f->priv_mtx); in usb_fifo_close()
1064 mtx_lock(f->priv_mtx); in usb_poll()
1095 mtx_unlock(f->priv_mtx); in usb_poll()
[all …]
Dusb_generic.c95 mtx_unlock(f->priv_mtx); in ugen_transfer_setup()
102 setup, n_setup, f, f->priv_mtx); in ugen_transfer_setup()
116 mtx_lock(f->priv_mtx); in ugen_transfer_setup()
130 mtx_lock(f->priv_mtx); in ugen_open()
150 mtx_unlock(f->priv_mtx); in ugen_open()
163 mtx_lock(f->priv_mtx); in ugen_close()
166 mtx_unlock(f->priv_mtx); in ugen_close()
184 USB_MTX_ASSERT(f->priv_mtx, MA_OWNED); in ugen_open_pipe_write()
253 USB_MTX_ASSERT(f->priv_mtx, MA_OWNED); in ugen_open_pipe_read()
958 mtx_lock(f->priv_mtx); in ugen_fs_copy_in()
[all …]
Dusb_dev.h114 struct mtx *priv_mtx; /* client data */ member
Dusbdi.h546 void *priv_sc, struct mtx *priv_mtx);
620 struct mtx *priv_mtx, struct usb_fifo_methods *pm,