1SCSI_FREE_COMMAND(9) SCSI mid layer SCSI_FREE_COMMAND(9)
2
3
4
6 scsi_free_command - free a command allocated by scsi_allocate_command
7
9 void scsi_free_command(gfp_t gfp_mask, struct scsi_cmnd * cmd);
10
12 gfp_mask
13 mask used in the original allocation
14
15 cmd
16 command to free
17
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
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_FREE_COMMAND(9)