struct scatterlist *sg = qc->sg; 
struct scatterlist *sg = qc->__sg; struct scatterlist *lsg = &sg[qc->n_elem - 1]; 
static int ata_sg_setup(struct ata_queued_cmd *qc){	struct ata_port *ap = qc->ap;	struct scatterlist *sg = qc->sg;	int n_elem, dir;	VPRINTK("ENTER, ata%u\n", ap->id);	assert(qc->flags & ATA_QCFLAG_SG);	dir = qc->dma_dir;	n_elem = dma_map_sg(ap->host_set->dev, sg, qc->n_elem, dir);	if (n_elem < 1)		return -1;	DPRINTK("%d sg elements mapped\n", n_elem);	qc->n_elem = n_elem;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/cedc9a478d8c6265879dc3839ef3d4849a709184/libata-core.c/clean/drivers/scsi/libata-core.c