Searched refs:ctrl_sx (Results 1 – 2 of 2) sorted by relevance
199 struct sx ctrl_sx; member
1803 sx_init_flags(&udev->ctrl_sx, "USB control transfer SX lock", SX_DUPOK); in usb_alloc_device()2355 sx_destroy(&udev->ctrl_sx); in usb_free_device()3002 if (sx_xlocked(&udev->ctrl_sx)) in usbd_ctrl_lock()3004 sx_xlock(&udev->ctrl_sx); in usbd_ctrl_lock()3018 sx_xunlock(&udev->ctrl_sx); in usbd_ctrl_unlock()