Home
last modified time | relevance | path

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

/freebsd/sys/dev/usb/
H A Dusb_dev.c389 f->priv_mtx = mtx; in usb_fifo_alloc()
601 mtx_lock(f->priv_mtx); in usb_fifo_free()
609 mtx_unlock(f->priv_mtx); in usb_fifo_free()
717 mtx_lock(f->priv_mtx); in usb_fifo_open()
745 mtx_unlock(f->priv_mtx); in usb_fifo_open()
786 mtx_lock(f->priv_mtx); in usb_fifo_close()
835 err = cv_timedwait_sig(&f->cv_io, f->priv_mtx, in usb_fifo_close()
858 mtx_unlock(f->priv_mtx); in usb_fifo_close()
1156 USB_MTX_ASSERT(f->priv_mtx, MA_OWNED); in usb_filter_write()
1197 USB_MTX_ASSERT(f->priv_mtx, MA_OWNED); in usb_filter_read()
[all …]
H A Dusb_generic.c157 mtx_unlock(f->priv_mtx); in ugen_transfer_setup()
164 setup, n_setup, f, f->priv_mtx); in ugen_transfer_setup()
178 mtx_lock(f->priv_mtx); in ugen_transfer_setup()
193 mtx_lock(f->priv_mtx); in ugen_open()
213 mtx_unlock(f->priv_mtx); in ugen_open()
227 mtx_lock(f->priv_mtx); in ugen_close()
230 mtx_unlock(f->priv_mtx); in ugen_close()
248 USB_MTX_ASSERT(f->priv_mtx, MA_OWNED); in ugen_open_pipe_write()
317 USB_MTX_ASSERT(f->priv_mtx, MA_OWNED); in ugen_open_pipe_read()
984 mtx_lock(f->priv_mtx); in ugen_fs_init()
[all …]
H A Dusb_dev.h121 struct mtx *priv_mtx; /* client data */ member
H A Dusbdi.h615 void *priv_sc, struct mtx *priv_mtx);
689 struct mtx *priv_mtx, struct usb_fifo_methods *pm,