1SCSI_GET_COMMAND(9) SCSI mid layer SCSI_GET_COMMAND(9)
23
4
NAME
6scsi_get_command - Allocate and setup a scsi command block
7
SYNOPSIS
9struct scsi_cmnd * scsi_get_command(struct scsi_device * dev,
10gfp_t gfp_mask);
11
ARGUMENTS
13dev
14parent scsi device
1516
gfp_mask
17allocator flags
18
RETURNS
20The allocated scsi command structure.
21
AUTHORS
23James Bottomley <James.Bottomley@hansenpartnership.com>
24Author.
2526
Rob Landley <rob@landley.net>
27Author.
28
COPYRIGHT
30Kernel Hackers Manual 2.6. June 2019 SCSI_GET_COMMAND(9)