1ATA_SCSI_RBUF_GET(9) libata SCSI translation/emulat ATA_SCSI_RBUF_GET(9)
2
3
4
6 ata_scsi_rbuf_get - Map response buffer.
7
9 void * ata_scsi_rbuf_get(struct scsi_cmnd * cmd, bool copy_in,
10 unsigned long * flags);
11
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
23 Prepare buffer for simulated SCSI commands.
24
26 spin_lock_irqsave(ata_scsi_rbuf_lock) on success
27
29 Pointer to response buffer.
30
32 Jeff Garzik
33 Author.
34
36Kernel Hackers Manual 3.10 June 2019 ATA_SCSI_RBUF_GET(9)