'\" t .\" Title: __scsi_get_command .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: SCSI mid layer .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "__SCSI_GET_COMMAND" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "SCSI mid layer" .\" ----------------------------------------------------------------- .\" * 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" __scsi_get_command \- Allocate a struct scsi_cmnd .SH "SYNOPSIS" .HP \w'struct\ scsi_cmnd\ *\ __scsi_get_command('u .BI "struct scsi_cmnd * __scsi_get_command(struct\ Scsi_Host\ *\ " "shost" ", gfp_t\ " "gfp_mask" ");" .SH "ARGUMENTS" .PP \fIshost\fR .RS 4 host to transmit command .RE .PP \fIgfp_mask\fR .RS 4 allocation mask .RE .SH "DESCRIPTION" .PP allocate a struct scsi_cmd from host\*(Aqs slab, recycling from the host\*(Aqs free_list if necessary\&. .SH "AUTHORS" .PP \fBJames Bottomley\fR <\&James.Bottomley@hansenpartnership.com\&> .RS 4 Author. .RE .PP \fBRob Landley\fR <\&rob@landley.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br