Home
last modified time | relevance | path

Searched refs:enum_sx (Results 1 – 2 of 2) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/
Dusb_device.c659 sx_assert(&udev->enum_sx, SA_LOCKED); in usb_config_parse()
1085 sx_assert(&udev->enum_sx, SA_LOCKED); in usb_detach_device()
1514 sx_init_flags(&udev->enum_sx, "USB config SX lock", SX_DUPOK); in usb_alloc_device()
2079 sx_destroy(&udev->enum_sx); in usb_free_device()
2634 if (sx_xlocked(&udev->enum_sx)) in usbd_enum_lock()
2637 sx_xlock(&udev->enum_sx); in usbd_enum_lock()
2656 sx_xunlock(&udev->enum_sx); in usbd_enum_unlock()
2691 return (sx_xlocked(&udev->enum_sx)); in usbd_enum_is_locked()
Dusb_device.h192 struct sx enum_sx; member