1__SCSI_GET_COMMAND(9)           SCSI mid layer           __SCSI_GET_COMMAND(9)
2
3
4

NAME

6       __scsi_get_command - Allocate a struct scsi_cmnd
7

SYNOPSIS

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

ARGUMENTS

13       shost
14           host to transmit command
15
16       gfp_mask
17           allocation mask
18

DESCRIPTION

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

AUTHORS

24       James Bottomley <James.Bottomley@hansenpartnership.com>
25           Author.
26
27       Rob Landley <rob@landley.net>
28           Author.
29
31Kernel Hackers Manual 3.10         June 2019             __SCSI_GET_COMMAND(9)
Impressum