rio_dev_get(9)

rio_dev_get9

Increments the reference count of the rio device structure

Usage

struct rio_dev * rio_dev_get(struct rio_dev * rdev);

Arguments

rdev

RIO device being referenced

Overview

Each live reference to a device should be refcounted.

Drivers for RIO devices should normally record such references in their probe methods, when they bind to a device, and release them by calling rio_dev_put, in their disconnect methods.

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

Author

Matt Porter <[email protected]>, <[email protected]>

Author.

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