'\" t .\" Title: ata_phys_link_offline .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: libata Core Internals .\" Source: Kernel Hackers Manual 4.12.2 .\" Language: English .\" .TH "ATA_PHYS_LINK_OFFLIN" "9" "July 2017" "Kernel Hackers Manual 4\&.12\&" "libata Core Internals" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ata_phys_link_offline \- test whether the given link is offline .SH "SYNOPSIS" .HP \w'bool\ ata_phys_link_offline('u .BI "bool ata_phys_link_offline(struct\ ata_link\ *\ " "link" ");" .SH "ARGUMENTS" .PP \fIstruct ata_link * link\fR .RS 4 ATA link to test .RE .SH "DESCRIPTION" .PP Test whether \fIlink\fR is offline\&. Note that this function returns 0 if offline status of \fIlink\fR cannot be obtained, so ata_link_online(link) != !ata_link_offline(link)\&. .PP LOCKING: None\&. .SH "RETURN" .PP True if the port offline status is available and offline\&. .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br