1ATA_LINK_OFFLINE(9)             libata Library             ATA_LINK_OFFLINE(9)
2
3
4

NAME

6       ata_link_offline - test whether the given link is offline
7

SYNOPSIS

9       bool ata_link_offline(struct ata_link * link);
10

ARGUMENTS

12       link
13           ATA link to test
14

DESCRIPTION

16       Test whether link is offline. This is identical to
17       ata_phys_link_offline when there's no slave link. When there's a slave
18       link, this function should only be called on the master link and will
19       return true if both M/S links are offline.
20

LOCKING

22       None.
23

RETURNS

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

AUTHOR

28       Jeff Garzik
29           Author.
30
32Kernel Hackers Manual 3.10         June 2019               ATA_LINK_OFFLINE(9)
Impressum