other versions
ATA_LINK_NEXT(9) | libata Library | ATA_LINK_NEXT(9) |
NAME¶
ata_link_next - link iteration helper
SYNOPSIS¶
struct ata_link * ata_link_next(struct ata_link * link, struct ata_port * ap, enum ata_link_iter_mode mode);
ARGUMENTS¶
struct ata_link * link
the previous link, NULL to start
struct ata_port * ap
ATA port containing links to iterate
enum ata_link_iter_mode mode
iteration mode, one of ATA_LITER_*
DESCRIPTION¶
LOCKING: Host lock or EH context.
RETURN¶
Pointer to the next link.
AUTHOR¶
Jeff Garzik
Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |