1USB_FREE_URB(9) USB Core APIs USB_FREE_URB(9)
2
3
4
6 usb_free_urb - frees the memory used by a urb when all users of it are
7 finished
8
10 void usb_free_urb(struct urb * urb);
11
13 urb
14 pointer to the urb to free, may be NULL
15
17 Must be called when a user of a urb is finished with it. When the last
18 user of the urb calls this function, the memory of the urb is freed.
19
21 The transfer buffer associated with the urb is not freed unless the
22 URB_FREE_BUFFER transfer flag is set.
23
25Kernel Hackers Manual 3.10 June 2019 USB_FREE_URB(9)