__scsi_get_command(9)

NAME

__scsi_get_command - Allocate a struct scsi_cmnd

SYNOPSIS

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

ARGUMENTS

shost
host to transmit command
gfp_mask
allocation mask

DESCRIPTION

allocate a struct scsi_cmd from hostīs slab, recycling from the hostīs free_list if necessary.

AUTHORS

James Bottomley <James.Bottomley@hansenpartnership.com>
Author.
Rob Landley <rob@landley.net>
Author.

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout