1__SCSI_GET_COMMAND(9) SCSI mid layer __SCSI_GET_COMMAND(9)
2
3
4
6 __scsi_get_command - Allocate a struct scsi_cmnd
7
9 struct scsi_cmnd * __scsi_get_command(struct Scsi_Host * shost,
10 gfp_t gfp_mask);
11
13 shost
14 host to transmit command
15
16 gfp_mask
17 allocation mask
18
20 allocate a struct scsi_cmd from host´s slab, recycling from the host´s
21 free_list if necessary.
22
24 James Bottomley <James.Bottomley@hansenpartnership.com>
25 Author.
26
27 Rob Landley <rob@landley.net>
28 Author.
29
31Kernel Hackers Manual 2.6. June 2019 __SCSI_GET_COMMAND(9)