Home
last modified time | relevance | path

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

/freebsd/sys/cam/
H A Dcam_xpt_internal.h150 struct mtx device_mtx; member
H A Dcam_xpt.c2221 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()
/freebsd/sys/dev/usb/
H A Dusb_device.h200 struct mtx device_mtx; member
H A Dusb_device.c1650 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()
H A Dusb_dev.c513 f = usb_fifo_alloc(&udev->device_mtx); in usb_fifo_create()
538 f = usb_fifo_alloc(&udev->device_mtx); in usb_fifo_create()
H A Dusb_transfer.c3279 &udev->device_mtx)) { in usbd_ctrl_transfer_setup()