Query: scsi_allocate_command
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SCSI_ALLOCATE_COMMAN(9) SCSI mid layer SCSI_ALLOCATE_COMMAN(9)NAMEscsi_allocate_command - get a fully allocated SCSI commandSYNOPSISstruct scsi_cmnd * scsi_allocate_command(gfp_t gfp_mask);ARGUMENTSgfp_mask allocation maskDESCRIPTIONThis function is for use outside of the normal host based pools. It allocates the relevant command and takes an additional reference on the pool it used. This function *must* be paired with scsi_free_command which also has the identical mask, otherwise the free pool counts will eventually go wrong and you'll trigger a bug. This function should *only* be used by drivers that need a static command allocation at start of day for internal functions.AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SCSI_ALLOCATE_COMMAN(9)
Related Man Pages |
---|
fc_remote_port_delete(9) - centos |
journal_try_to_free_buffers(9) - centos |
ata_scsi_translate(9) - suse |
blk_make_request(9) - suse |
fc_remote_port_add(9) - suse |
Similar Topics in the Unix Linux Community |
---|
DB2 convert digits to binary format |
Tar Command |
CentOS7 restoring file capabilities |
Unsure why access time on a directory change isn't changing |
CentOS 6 ran out of space, need to reclaim it |