Searched refs:device_mtx (Results 1 – 6 of 6) sorted by relevance
150 struct mtx device_mtx; member
2241 mtx_lock(&device->device_mtx); in xptdevicetraverse()2243 mtx_unlock(&device->device_mtx); in xptdevicetraverse()4188 mtx_unlock(&device->device_mtx); in xpt_async_process_dev()4200 mtx_lock(&device->device_mtx); in xpt_async_process_dev()4789 mtx_lock(&device->device_mtx); in xpt_destroy_device()4790 mtx_destroy(&device->device_mtx); in xpt_destroy_device()4831 mtx_init(&device->device_mtx, "CAM device lock", NULL, MTX_DEF); in xpt_alloc_device()5290 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()2361 mtx_destroy(&udev->device_mtx); in usb_free_device()
512 f = usb_fifo_alloc(&udev->device_mtx); in usb_fifo_create()537 f = usb_fifo_alloc(&udev->device_mtx); in usb_fifo_create()
3281 &udev->device_mtx)) { in usbd_ctrl_transfer_setup()