Query: ata_link_offline
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ATA_LINK_OFFLINE(9) libata Library ATA_LINK_OFFLINE(9)NAMEata_link_offline - test whether the given link is offlineSYNOPSISbool ata_link_offline(struct ata_link * link);ARGUMENTSlink ATA link to testDESCRIPTIONTest 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.LOCKINGNone.RETURNSTrue if the port offline status is available and offline.AUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 ATA_LINK_OFFLINE(9)