Query: usb_interface_claimed
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
USB_INTERFACE_CLAIME(9) Host-Side Data Types and Macro USB_INTERFACE_CLAIME(9)NAMEusb_interface_claimed - returns true iff an interface is claimedSYNOPSISint usb_interface_claimed(struct usb_interface * iface);ARGUMENTSiface the interface being checkedDESCRIPTIONReturns true (nonzero) iff the interface is claimed, else false (zero). 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.COPYRIGHTKernel Hackers Manual 2.6. July 2010 USB_INTERFACE_CLAIME(9)