other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
ATA_PHYS_LINK_ONLINE(9) | libata Core Internals | ATA_PHYS_LINK_ONLINE(9) |
NAME¶
ata_phys_link_online - test whether the given link is onlineSYNOPSIS¶
bool
ata_phys_link_online(struct ata_link * link);
ARGUMENTS¶
linkATA link to test
DESCRIPTION¶
Test whether link is online. Note that this function returns 0 if online status of link cannot be obtained, so ata_link_online(link) != !ata_link_offline(link).LOCKING¶
None.RETURNS¶
True if the port online status is available and online.AUTHOR¶
Jeff GarzikAuthor.
COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |