scsi_dma_map — perform DMA mapping against command's sg lists
int scsi_dma_map (
)
cmd
scsi command
Returns the number of sg lists actually used, zero if the sg lists is NULL, or -ENOMEM if the mapping failed.