Searched refs:sr_sx (Results 1 – 2 of 2) sorted by relevance
1612 sx_assert(&udev->sr_sx, SA_LOCKED); in usb_suspend_resume()1802 sx_init_flags(&udev->sr_sx, "USB suspend and resume SX lock", SX_NOWITNESS); in usb_alloc_device()2354 sx_destroy(&udev->sr_sx); in usb_free_device()2919 sx_xlock(&udev->sr_sx); in usbd_enum_lock()2941 if (sx_xlock_sig(&udev->sr_sx)) { in usbd_enum_lock_sig()2957 sx_xunlock(&udev->sr_sx); in usbd_enum_unlock()2965 sx_xlock(&udev->sr_sx); in usbd_sr_lock()2980 sx_xunlock(&udev->sr_sx); in usbd_sr_unlock()
198 struct sx sr_sx; member