SCSI_DMA_MAP

Section: SCSI mid layer (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

scsi_dma_map - perform DMA mapping against command's sg lists  

SYNOPSIS

int scsi_dma_map(struct scsi_cmnd * cmd);
 

ARGUMENTS

cmd

scsi command
 

DESCRIPTION

Returns the number of sg lists actually used, zero if the sg lists is NULL, or -ENOMEM if the mapping failed.  

AUTHORS

James Bottomley <James.Bottomley@hansenpartnership.com>

Author.

Rob Landley <rob@landley.net>

Author.
 

COPYRIGHT