---
name: "ata_link_offline"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ata_link_offline"
---

# ata\_link\_offline(9)

test whether the given link is offline

## NAME

ata\_link\_offline - test whether the given link is offline

## SYNOPSIS

**bool ata\_link\_offline(struct ata\_link \*** *link***);**

## ARGUMENTS

*link*

ATA link to test

## DESCRIPTION

Test whether *link* is offline. This is identical to **ata\_phys\_link\_offline** when there's no slave link. When there's a slave link, this function should only be called on the master link and will return true if both M/S links are offline.

LOCKING: None.

## RETURN

True if the port offline status is available and offline.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
