Home
last modified time | relevance | path

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

/third_party/FreeBSD/sys/dev/usb/
Dusb_dev.c87 struct mtx usb_ref_lock; variable
127 mtx_lock(&usb_ref_lock); in usb_ref_device()
153 mtx_unlock(&usb_ref_lock); in usb_ref_device()
161 mtx_lock(&usb_ref_lock); in usb_ref_device()
223 mtx_unlock(&usb_ref_lock); in usb_ref_device()
235 mtx_unlock(&usb_ref_lock); in usb_ref_device()
289 mtx_lock(&usb_ref_lock); in usb_unref_device()
307 mtx_unlock(&usb_ref_lock); in usb_unref_device()
456 mtx_lock(&usb_ref_lock); in usb_fifo_create()
458 mtx_unlock(&usb_ref_lock); in usb_fifo_create()
[all …]
Dusb_core.h185 extern struct mtx usb_ref_lock;
Dusb_device.c400 mtx_lock(&usb_ref_lock); in usb_wait_pending_refs()
409 cv_wait(&udev->ref_cv, &usb_ref_lock); in usb_wait_pending_refs()
411 mtx_unlock(&usb_ref_lock); in usb_wait_pending_refs()
2602 mtx_lock(&usb_ref_lock); in usb_set_device_state()
2606 mtx_unlock(&usb_ref_lock); in usb_set_device_state()
Dusb_hub.c2311 mtx_lock(&usb_ref_lock); in usb_bus_port_set_device()
2315 mtx_unlock(&usb_ref_lock); in usb_bus_port_set_device()