1ATA_SCSI_OFFLINE_DEV(9) libata SCSI translation/emulat ATA_SCSI_OFFLINE_DEV(9)
2
3
4

NAME

6       ata_scsi_offline_dev - offline attached SCSI device
7

SYNOPSIS

9       int ata_scsi_offline_dev(struct ata_device * dev);
10

ARGUMENTS

12       dev
13           ATA device to offline attached SCSI device for
14

DESCRIPTION

16       This function is called from ata_eh_hotplug and responsible for taking
17       the SCSI device attached to dev offline. This function is called with
18       host lock which protects dev->sdev against clearing.
19

LOCKING

21       spin_lock_irqsave(host lock)
22

RETURNS

24       1 if attached SCSI device exists, 0 otherwise.
25

AUTHOR

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