SysTutorials

Linux Manual Pages › Section 9

scsi_dma_map(9)

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 [at] hansenpartnership.com>

Author.

Rob Landley <rob [at] landley.net>

Author.

Copyright