1USB_INTERFACE_CLAIME(9) Host-Side Data Types and Macro USB_INTERFACE_CLAIME(9)
2
3
4
6 usb_interface_claimed - returns true iff an interface is claimed
7
9 int usb_interface_claimed(struct usb_interface * iface);
10
12 iface
13 the interface being checked
14
16 Returns true (nonzero) iff the interface is claimed, else false (zero).
17 Callers must own the driver model´s usb bus readlock. So driver probe
18 entries don´t need extra locking, but other call contexts may need to
19 explicitly claim that lock.
20
22Kernel Hackers Manual 2.6. June 2019 USB_INTERFACE_CLAIME(9)