ata_dev_next(9)

ata_dev_next9

Device iteration helper

Usage

struct ata_device * ata_dev_next(struct ata_device * dev, struct ata_link * link, enum ata_dev_iter_mode mode);

Arguments

dev

the previous device, NULL to start

link

ATA link containing devices to iterate

mode

iteration mode, one of ATA_DITER_*

Overview

LOCKING: Host lock or EH context.

Return

Pointer to the next device.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

Author

Jeff Garzik

Author.

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