sg_dma_len(sg) = sg->length; 
static int ata_sg_setup_one(struct ata_queued_cmd *qc){	struct ata_port *ap = qc->ap;	int dir = qc->dma_dir;	struct scatterlist *sg = qc->sg;	dma_addr_t dma_address;	dma_address = dma_map_single(ap->host_set->dev, qc->buf_virt,				     sg_dma_len(sg), dir);	if (dma_mapping_error(dma_address))		return -1;	sg_dma_address(sg) = dma_address;	DPRINTK("mapped buffer of %d bytes for %s\n", sg_dma_len(sg),		qc->tf.flags & ATA_TFLAG_WRITE ? "write" : "read");	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/32529e0128923e42126b5d14e444c18295a452ba/libata-core.c/clean/drivers/scsi/libata-core.c