Reference

__scsi_get_command(9)

Allocate a struct scsi_cmnd

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 <[email protected]>

Author.

Rob Landley <[email protected]>

Author.

COPYRIGHT

History