1ATA_LINK_NEXT(9) libata Library ATA_LINK_NEXT(9)
2
3
4
6 ata_link_next - link iteration helper
7
9 struct ata_link * ata_link_next(struct ata_link * link,
10 struct ata_port * ap,
11 enum ata_link_iter_mode mode);
12
14 link
15 the previous link, NULL to start
16
17 ap
18 ATA port containing links to iterate
19
20 mode
21 iteration mode, one of ATA_LITER_*
22
24 Host lock or EH context.
25
27 Pointer to the next link.
28
30 Jeff Garzik
31 Author.
32
34Kernel Hackers Manual 3.10 June 2019 ATA_LINK_NEXT(9)