__scsi_get_command

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

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.