1USB_GET_URB(9) USB Core APIs USB_GET_URB(9)
2
3
4
6 usb_get_urb - increments the reference count of the urb
7
9 struct urb * usb_get_urb(struct urb * urb);
10
12 urb
13 pointer to the urb to modify, may be NULL
14
16 This must be called whenever a urb is transferred from a device driver
17 to a host controller driver. This allows proper reference counting to
18 happen for urbs.
19
20 A pointer to the urb with the incremented reference counter is
21 returned.
22
24Kernel Hackers Manual 2.6. June 2019 USB_GET_URB(9)