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

NAME

6       ata_scsi_rbuf_get - Map response buffer.
7

SYNOPSIS

9       void * ata_scsi_rbuf_get(struct scsi_cmnd * cmd, bool copy_in,
10                                unsigned long * flags);
11

ARGUMENTS

13       cmd
14           SCSI command containing buffer to be mapped.
15
16       copy_in
17           copy in from user buffer
18
19       flags
20           unsigned long variable to store irq enable status
21

DESCRIPTION

23       Prepare buffer for simulated SCSI commands.
24

LOCKING

26       spin_lock_irqsave(ata_scsi_rbuf_lock) on success
27

RETURNS

29       Pointer to response buffer.
30

AUTHOR

32       Jeff Garzik
33           Author.
34
36Kernel Hackers Manual 2.6.       November 2011            ATA_SCSI_RBUF_GET(9)
Impressum