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

NAME

6       scsi_free_command - free a command allocated by scsi_allocate_command
7

SYNOPSIS

9       void scsi_free_command(gfp_t gfp_mask, struct scsi_cmnd * cmd);
10

ARGUMENTS

12       gfp_mask
13           mask used in the original allocation
14
15       cmd
16           command to free
17

NOTE

19       using the original allocation mask is vital because that's what
20       determines which command pool we use to free the command. Any mismatch
21       will cause the system to BUG eventually.
22

AUTHORS

24       James Bottomley <James.Bottomley@hansenpartnership.com>
25           Author.
26
27       Rob Landley <rob@landley.net>
28           Author.
29
31Kernel Hackers Manual 2.6.       November 2011            SCSI_FREE_COMMAND(9)
Impressum