Searched refs:ctrl_sx (Results 1 – 2 of 2) sorted by relevance
194 struct sx ctrl_sx; member
1527 sx_init_flags(&udev->ctrl_sx, "USB control transfer SX lock", SX_DUPOK); in usb_alloc_device()2093 sx_destroy(&udev->ctrl_sx); in usb_free_device()2715 if (sx_xlocked(&udev->ctrl_sx)) in usbd_ctrl_lock()2717 sx_xlock(&udev->ctrl_sx); in usbd_ctrl_lock()2731 sx_xunlock(&udev->ctrl_sx); in usbd_ctrl_unlock()