subsys_dev_iter_next(9)

subsys_dev_iter_next9

Iterate to the next device

Usage

struct device * subsys_dev_iter_next(struct subsys_dev_iter * iter);

Arguments

iter

subsys iterator to proceed

Overview

Proceed iter to the next device and return it. Returns NULL if iteration is complete.

The returned device is referenced and won't be released till iterator is proceed to the next device or exited. The caller is free to do whatever it wants to do with the device including calling back into subsys code.

Releases

2 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7
  2. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.