Home
last modified time | relevance | path

Searched refs:device_mtx (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/sys/cam/
H A Dcam_xpt_internal.h155 struct mtx device_mtx; member
H A Dcam_xpt.c2295 mtx_lock(&device->device_mtx); in xptdevicetraverse()
2297 mtx_unlock(&device->device_mtx); in xptdevicetraverse()
3226 mtx_unlock(&dev->device_mtx); in xpt_polled_action()
3236 mtx_lock(&dev->device_mtx); in xpt_polled_action()
4238 mtx_unlock(&device->device_mtx); in xpt_async_process_dev()
4250 mtx_lock(&device->device_mtx); in xpt_async_process_dev()
4816 mtx_lock(&device->device_mtx); in xpt_destroy_device()
4817 mtx_destroy(&device->device_mtx); in xpt_destroy_device()
4858 mtx_init(&device->device_mtx, "CAM device lock", NULL, MTX_DEF); in xpt_alloc_device()
5310 return (&path->device->device_mtx); in xpt_path_mtx()
/freebsd-13.1/sys/dev/usb/
H A Dusb_device.h201 struct mtx device_mtx; member
H A Dusb_device.c1635 USB_MTX_LOCK(&udev->device_mtx); in usbd_clear_stall_proc()
1641 USB_MTX_UNLOCK(&udev->device_mtx); in usbd_clear_stall_proc()
1794 mtx_init(&udev->device_mtx, "USB device mutex", NULL, MTX_DEF); in usb_alloc_device()
2343 mtx_destroy(&udev->device_mtx); in usb_free_device()
H A Dusb_dev.c515 f = usb_fifo_alloc(&udev->device_mtx); in usb_fifo_create()
540 f = usb_fifo_alloc(&udev->device_mtx); in usb_fifo_create()
H A Dusb_transfer.c3227 &udev->device_mtx)) { in usbd_ctrl_transfer_setup()