Searched refs:device_mtx (Results 1 – 6 of 6) sorted by relevance
150 struct mtx device_mtx; member
2221 mtx_lock(&device->device_mtx); in xptdevicetraverse()2223 mtx_unlock(&device->device_mtx); in xptdevicetraverse()4156 mtx_unlock(&device->device_mtx); in xpt_async_process_dev()4168 mtx_lock(&device->device_mtx); in xpt_async_process_dev()4752 mtx_lock(&device->device_mtx); in xpt_destroy_device()4753 mtx_destroy(&device->device_mtx); in xpt_destroy_device()4794 mtx_init(&device->device_mtx, "CAM device lock", NULL, MTX_DEF); in xpt_alloc_device()5249 return (&path->device->device_mtx); in xpt_path_mtx()
200 struct mtx device_mtx; member
1650 USB_MTX_LOCK(&udev->device_mtx); in usbd_clear_stall_proc()1656 USB_MTX_UNLOCK(&udev->device_mtx); in usbd_clear_stall_proc()1809 mtx_init(&udev->device_mtx, "USB device mutex", NULL, MTX_DEF); in usb_alloc_device()2360 mtx_destroy(&udev->device_mtx); in usb_free_device()
513 f = usb_fifo_alloc(&udev->device_mtx); in usb_fifo_create()538 f = usb_fifo_alloc(&udev->device_mtx); in usb_fifo_create()
3279 &udev->device_mtx)) { in usbd_ctrl_transfer_setup()