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.c86 struct mtx usb_ref_lock; variable
126 mtx_lock(&usb_ref_lock); in usb_ref_device()
152 mtx_unlock(&usb_ref_lock); in usb_ref_device()
160 mtx_lock(&usb_ref_lock); in usb_ref_device()
222 mtx_unlock(&usb_ref_lock); in usb_ref_device()
234 mtx_unlock(&usb_ref_lock); in usb_ref_device()
288 mtx_lock(&usb_ref_lock); in usb_unref_device()
306 mtx_unlock(&usb_ref_lock); in usb_unref_device()
455 mtx_lock(&usb_ref_lock); in usb_fifo_create()
457 mtx_unlock(&usb_ref_lock); in usb_fifo_create()
[all …]
Dusb_core.h186 extern struct mtx usb_ref_lock;
Dusb_device.c399 mtx_lock(&usb_ref_lock); in usb_wait_pending_refs()
408 cv_wait(&udev->ref_cv, &usb_ref_lock); in usb_wait_pending_refs()
410 mtx_unlock(&usb_ref_lock); in usb_wait_pending_refs()
2601 mtx_lock(&usb_ref_lock); in usb_set_device_state()
2605 mtx_unlock(&usb_ref_lock); in usb_set_device_state()
Dusb_hub.c2310 mtx_lock(&usb_ref_lock); in usb_bus_port_set_device()
2314 mtx_unlock(&usb_ref_lock); in usb_bus_port_set_device()