Query: scsi_free_command
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SCSI_FREE_COMMAND(9) SCSI mid layer SCSI_FREE_COMMAND(9)NAMEscsi_free_command - free a command allocated by scsi_allocate_commandSYNOPSISvoid scsi_free_command(gfp_t gfp_mask, struct scsi_cmnd * cmd);ARGUMENTSgfp_mask mask used in the original allocation cmd command to freeNOTEusing the original allocation mask is vital because that's what determines which command pool we use to free the command. Any mismatch will cause the system to BUG eventually.AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SCSI_FREE_COMMAND(9)