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