ata_port_offline(9)

NAME

ata_port_offline - test whether the given port is offline

SYNOPSIS

int ata_port_offline(struct ata_port * ap);

ARGUMENTS

ap
ATA port to test

DESCRIPTION

Test whether ap is offline. Note that this function re
turns 0 if offline status of ap cannot be obtained, so
ata_port_online(ap) != !ata_port_offline(ap).

LOCKING

None.

RETURNS

1 if the port offline status is available and offline.

AUTHOR

Jeff Garzik
Author.

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout