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

NAME

6       ata_phys_link_online - test whether the given link is online
7

SYNOPSIS

9       bool ata_phys_link_online(struct ata_link * link);
10

ARGUMENTS

12       link
13           ATA link to test
14

DESCRIPTION

16       Test whether link is online. Note that this function returns 0 if
17       online 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 online status is available and online.
25

AUTHOR

27       Jeff Garzik
28           Author.
29
31Kernel Hackers Manual 2.6.         June 2019           ATA_PHYS_LINK_ONLINE(9)
Impressum