Home
last modified time | relevance | path

Searched refs:up_mtx (Results 1 – 3 of 3) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/
Dusb_process.c71 mtx_lock(up->up_mtx); in usb_process_thread()
149 (void)cv_wait(&up->up_cv, up->up_mtx); in usb_process_thread()
154 mtx_unlock(up->up_mtx); in usb_process_thread()
212 up->up_mtx = p_mtx; in usb_proc_create()
247 if (up->up_mtx == NULL) in usb_proc_free()
256 up->up_mtx = NULL; in usb_proc_free()
365 if (up->up_mtx != NULL) { in usb_proc_is_gone()
366 mtx_assert(up->up_mtx, MA_OWNED); in usb_proc_is_gone()
389 mtx_assert(up->up_mtx, MA_OWNED); in usb_proc_mwait()
410 (void)cv_wait(&up->up_drain, up->up_mtx); in usb_proc_mwait()
[all …]
Dusb_process.h60 struct mtx *up_mtx; member
Dusb_request.c726 err = usbd_do_request_flags(udev, pproc->up_mtx, in usbd_do_request_proc()