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