Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/dev/usb/
Dusb_dev.c390 f->priv_mtx = mtx; in usb_fifo_alloc()
604 mtx_lock(f->priv_mtx); in usb_fifo_free()
612 mtx_unlock(f->priv_mtx); in usb_fifo_free()
719 mtx_lock(f->priv_mtx); in usb_fifo_open()
747 mtx_unlock(f->priv_mtx); in usb_fifo_open()
788 mtx_lock(f->priv_mtx); in usb_fifo_close()
839 err = cv_timedwait_sig(&f->cv_io, f->priv_mtx, in usb_fifo_close()
862 mtx_unlock(f->priv_mtx); in usb_fifo_close()
1161 USB_MTX_ASSERT(f->priv_mtx, MA_OWNED); in usb_filter_write()
1202 USB_MTX_ASSERT(f->priv_mtx, MA_OWNED); in usb_filter_read()
[all …]
Dusb_generic.c150 mtx_unlock(f->priv_mtx); in ugen_transfer_setup()
157 setup, n_setup, f, f->priv_mtx); in ugen_transfer_setup()
172 mtx_lock(f->priv_mtx); in ugen_transfer_setup()
187 mtx_lock(f->priv_mtx); in ugen_open()
207 mtx_unlock(f->priv_mtx); in ugen_open()
221 mtx_lock(f->priv_mtx); in ugen_close()
224 mtx_unlock(f->priv_mtx); in ugen_close()
242 USB_MTX_ASSERT(f->priv_mtx, MA_OWNED); in ugen_open_pipe_write()
311 USB_MTX_ASSERT(f->priv_mtx, MA_OWNED); in ugen_open_pipe_read()
1065 mtx_lock(f->priv_mtx); in ugen_fs_copy_in()
[all …]
Dusb_dev.h120 struct mtx *priv_mtx; /* client data */ member
Dusbdi.h616 void *priv_sc, struct mtx *priv_mtx);
688 struct mtx *priv_mtx, struct usb_fifo_methods *pm,