__SCSI_GET_COMMAND

Section: SCSI mid layer (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

__scsi_get_command - Allocate a struct scsi_cmnd  

SYNOPSIS

struct scsi_cmnd * __scsi_get_command(struct Scsi_Host * shost, gfp_t gfp_mask);
 

ARGUMENTS

shost

host to transmit command

gfp_mask

allocation mask
 

DESCRIPTION

allocate a struct scsi_cmd from host's slab, recycling from the host's free_list if necessary.  

AUTHORS

James Bottomley <James.Bottomley@hansenpartnership.com>

Author.

Rob Landley <rob@landley.net>

Author.
 

COPYRIGHT