other versions
- stretch 4.9.168-1
USB_INTERFACE_CLAIME(9) | Host-Side Data Types and Macro | USB_INTERFACE_CLAIME(9) |
NAME¶
usb_interface_claimed - returns true iff an interface is claimedSYNOPSIS¶
int usb_interface_claimed(struct usb_interface * iface);
ARGUMENTS¶
ifacethe interface being checked
RETURN¶
true (nonzero) iff the interface is claimed, else false (zero).NOTE¶
Callers must own the driver model's usb bus readlock. So driver probe entries don't need extra locking, but other call contexts may need to explicitly claim that lock.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |