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