1ATA_PHYS_LINK_OFFLIN(9)      libata Core Internals     ATA_PHYS_LINK_OFFLIN(9)
2
3
4

NAME

6       ata_phys_link_offline - test whether the given link is offline
7

SYNOPSIS

9       bool ata_phys_link_offline(struct ata_link * link);
10

ARGUMENTS

12       link
13           ATA link to test
14

DESCRIPTION

16       Test whether link is offline. Note that this function returns 0 if
17       offline status of link cannot be obtained, so ata_link_online(link) !=
18       !ata_link_offline(link).
19

LOCKING

21       None.
22

RETURNS

24       True if the port offline status is available and offline.
25

AUTHOR

27       Jeff Garzik
28           Author.
29
31Kernel Hackers Manual 2.6.       November 2011         ATA_PHYS_LINK_OFFLIN(9)
Impressum