1USB_INIT_URB(9)                  USB Core APIs                 USB_INIT_URB(9)
2
3
4

NAME

6       usb_init_urb - initializes a urb so that it can be used by a USB driver
7

SYNOPSIS

9       void usb_init_urb(struct urb * urb);
10

ARGUMENTS

12       urb
13           pointer to the urb to initialize
14

DESCRIPTION

16       Initializes a urb so that the USB subsystem can use it properly.
17
18       If a urb is created with a call to usb_alloc_urb it is not necessary to
19       call this function. Only use this if you allocate the space for a
20       struct urb on your own. If you call this function, be careful when
21       freeing the memory for your urb that it is no longer in use by the USB
22       core.
23
24       Only use this function if you _really_ understand what you are doing.
25
27Kernel Hackers Manual 2.6.       November 2011                 USB_INIT_URB(9)
Impressum