'\" t .\" Title: usb_get_urb .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: USB Core APIs .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "USB_GET_URB" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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_get_urb \- increments the reference count of the urb .SH "SYNOPSIS" .HP \w'struct\ urb\ *\ usb_get_urb('u .BI "struct urb * usb_get_urb(struct\ urb\ *\ " "urb" ");" .SH "ARGUMENTS" .PP \fIurb\fR .RS 4 pointer to the urb to modify, may be NULL .RE .SH "DESCRIPTION" .PP This must be called whenever a urb is transferred from a device driver to a host controller driver\&. This allows proper reference counting to happen for urbs\&. .SH "RETURN" .PP A pointer to the urb with the incremented reference counter\&. .SH "COPYRIGHT" .br