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()
534 mtx_lock(f->priv_mtx); in usb_fifo_free()
542 mtx_unlock(f->priv_mtx); in usb_fifo_free()
645 mtx_lock(f->priv_mtx); in usb_fifo_open()
673 mtx_unlock(f->priv_mtx); in usb_fifo_open()
714 mtx_lock(f->priv_mtx); in usb_fifo_close()
750 err = cv_timedwait(&f->cv_io, f->priv_mtx, in usb_fifo_close()
773 mtx_unlock(f->priv_mtx); in usb_fifo_close()
1070 mtx_lock(f->priv_mtx); in usb_poll()
1101 mtx_unlock(f->priv_mtx); in usb_poll()
[all …]
Dusb_generic.c97 mtx_unlock(f->priv_mtx); in ugen_transfer_setup()
104 setup, n_setup, f, f->priv_mtx); in ugen_transfer_setup()
119 mtx_lock(f->priv_mtx); in ugen_transfer_setup()
133 mtx_lock(f->priv_mtx); in ugen_open()
153 mtx_unlock(f->priv_mtx); in ugen_open()
166 mtx_lock(f->priv_mtx); in ugen_close()
169 mtx_unlock(f->priv_mtx); in ugen_close()
187 USB_MTX_ASSERT(f->priv_mtx, MA_OWNED); in ugen_open_pipe_write()
256 USB_MTX_ASSERT(f->priv_mtx, MA_OWNED); in ugen_open_pipe_read()
1013 mtx_lock(f->priv_mtx); in ugen_fs_copy_in()
[all …]
Dusb_dev.h114 struct mtx *priv_mtx; /* client data */ member
Dusbdi.h547 void *priv_sc, struct mtx *priv_mtx);
621 struct mtx *priv_mtx, struct usb_fifo_methods *pm,