Searched refs:device_mtx (Results 1 – 6 of 6) sorted by relevance
155 struct mtx device_mtx; member
2295 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()
201 struct mtx device_mtx; member
1635 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()
515 f = usb_fifo_alloc(&udev->device_mtx); in usb_fifo_create()540 f = usb_fifo_alloc(&udev->device_mtx); in usb_fifo_create()
3227 &udev->device_mtx)) { in usbd_ctrl_transfer_setup()