SCSI_GET_COMMAND
Section: SCSI mid layer (9)
Updated: February 2011
Index
Return to Main Contents
NAME
scsi_get_command - Allocate and setup a scsi command block
SYNOPSIS
-
struct scsi_cmnd * scsi_get_command(struct scsi_device * dev, gfp_t gfp_mask);
ARGUMENTS
dev
-
- parent scsi device
gfp_mask
-
allocator flags
RETURNS
The allocated scsi command structure.
AUTHORS
James Bottomley <James.Bottomley@hansenpartnership.com>
-
Author.
Rob Landley <rob@landley.net>
-
Author.
COPYRIGHT