'\" t .\" Title: usb_free_urb .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: USB Core APIs .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "USB_FREE_URB" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "USB Core APIs" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" usb_free_urb \- frees the memory used by a urb when all users of it are finished .SH "SYNOPSIS" .HP \w'void\ usb_free_urb('u .BI "void usb_free_urb(struct\ urb\ *\ " "urb" ");" .SH "ARGUMENTS" .PP \fIurb\fR .RS 4 pointer to the urb to free, may be NULL .RE .SH "DESCRIPTION" .PP Must be called when a user of a urb is finished with it\&. When the last user of the urb calls this function, the memory of the urb is freed\&. .SH "NOTE" .PP The transfer buffer associated with the urb is not freed unless the URB_FREE_BUFFER transfer flag is set\&. .SH "COPYRIGHT" .br