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

NAME

6       ata_link_online - test whether the given link is online
7

SYNOPSIS

9       bool ata_link_online(struct ata_link * link);
10

ARGUMENTS

12       link
13           ATA link to test
14

DESCRIPTION

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

LOCKING

22       None.
23

RETURNS

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

AUTHOR

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