'\" t .\" Title: ata_scsi_rbuf_get .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: libata SCSI translation/emulation .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ATA_SCSI_RBUF_GET" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "libata SCSI translation/emulat" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ata_scsi_rbuf_get \- Map response buffer\&. .SH "SYNOPSIS" .HP \w'void\ *\ ata_scsi_rbuf_get('u .BI "void * ata_scsi_rbuf_get(struct\ scsi_cmnd\ *\ " "cmd" ", bool\ " "copy_in" ", unsigned\ long\ *\ " "flags" ");" .SH "ARGUMENTS" .PP \fIcmd\fR .RS 4 SCSI command containing buffer to be mapped\&. .RE .PP \fIcopy_in\fR .RS 4 copy in from user buffer .RE .PP \fIflags\fR .RS 4 unsigned long variable to store irq enable status .RE .SH "DESCRIPTION" .PP Prepare buffer for simulated SCSI commands\&. .PP LOCKING: spin_lock_irqsave(ata_scsi_rbuf_lock) on success .SH "RETURN" .PP Pointer to response buffer\&. .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br