ata_dev_next

Langue: en

Version: May 2009 (fedora - 06/07/09)

Section: 9 (Appels noyau Linux)

NAME

ata_dev_next - device iteration helper

SYNOPSIS

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_*

LOCKING

Host lock or EH context.

RETURNS

Pointer to the next device.

AUTHOR

Jeff Garzik

Author.