other versions
- jessie 3.16.56-1+deb8u1
ATA_PHYS_LINK_OFFLIN(9) | libata Core Internals | ATA_PHYS_LINK_OFFLIN(9) |
NAME¶
ata_phys_link_offline - test whether the given link is offlineSYNOPSIS¶
bool
ata_phys_link_offline(struct ata_link * link);
ARGUMENTS¶
linkATA link to test
DESCRIPTION¶
Test whether link is offline. Note that this function returns 0 if offline status of link cannot be obtained, so ata_link_online(link) != !ata_link_offline(link).LOCKING¶
None.RETURNS¶
True if the port offline status is available and offline.AUTHOR¶
Jeff GarzikAuthor.
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |