1USB_INTERFACE_CLAIME(9) Host-Side Data Types and Macro USB_INTERFACE_CLAIME(9)
2
3
4

NAME

6       usb_interface_claimed - returns true iff an interface is claimed
7

SYNOPSIS

9       int usb_interface_claimed(struct usb_interface * iface);
10

ARGUMENTS

12       iface
13           the interface being checked
14

RETURN

16       true (nonzero) iff the interface is claimed, else false (zero).
17

NOTE

19       Callers must own the driver model's usb bus readlock. So driver probe
20       entries don't need extra locking, but other call contexts may need to
21       explicitly claim that lock.
22
24Kernel Hackers Manual 3.10         June 2019           USB_INTERFACE_CLAIME(9)
Impressum