---
name: "usb_get_urb"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/usb_get_urb"
---

# usb\_get\_urb(9)

increments the reference count of the urb

## NAME

usb\_get\_urb - increments the reference count of the urb

## SYNOPSIS

**struct urb \* usb\_get\_urb(struct urb \*** *urb***);**

## ARGUMENTS

*urb*

pointer to the urb to modify, may be NULL

## DESCRIPTION

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.

## RETURN

A pointer to the urb with the incremented reference counter.

## COPYRIGHT
