scsi_dma_map(9) 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 <[email protected]>

Author.

Rob Landley <[email protected]>

Author.

COPYRIGHT