usb_free_urb(9)

usb_free_urb9

Frees the memory used by a urb when all users of it are finished

Usage

void usb_free_urb(struct urb * urb);

Arguments

urb

pointer to the urb to free, may be NULL

Overview

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.

Note

The transfer buffer associated with the urb is not freed unless the URB_FREE_BUFFER transfer flag is set.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.