taglinefilesource code
sgpnt608drivers/scsi/aha1542.cstruct scatterlist * sgpnt;
sgpnt616drivers/scsi/aha1542.csgpnt = (struct scatterlist *) SCpnt->request_buffer;
sgpnt620drivers/scsi/aha1542.cif(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || 
sgpnt621drivers/scsi/aha1542.c(((int)sgpnt[i].address) & 1) || (sgpnt[i].length & 1)){
sgpnt625drivers/scsi/aha1542.cprintk("%d: %x %x %d\n",i,(unsigned int) sgpnt[i].address, (unsigned int) sgpnt[i].alt_address,
sgpnt626drivers/scsi/aha1542.csgpnt[i].length);
sgpnt633drivers/scsi/aha1542.cany2scsi(cptr[i].dataptr, sgpnt[i].address);
sgpnt634drivers/scsi/aha1542.cif(((unsigned  int) sgpnt[i].address) & 0xff000000) goto baddma;
sgpnt635drivers/scsi/aha1542.cany2scsi(cptr[i].datalen, sgpnt[i].length);
sgpnt326drivers/scsi/aha1740.cstruct scatterlist * sgpnt;
sgpnt334drivers/scsi/aha1740.csgpnt = (struct scatterlist *) SCpnt->request_buffer;
sgpnt339drivers/scsi/aha1740.ccptr[i].dataptr = (long) sgpnt[i].address;
sgpnt340drivers/scsi/aha1740.ccptr[i].datalen = sgpnt[i].length;
sgpnt691drivers/scsi/buslogic.cstruct scatterlist *sgpnt;
sgpnt703drivers/scsi/buslogic.csgpnt = (struct scatterlist *)scpnt->request_buffer;
sgpnt711drivers/scsi/buslogic.cCHECK_DMA_ADDR(shpnt->unchecked_isa_dma, sgpnt[i].address,
sgpnt713drivers/scsi/buslogic.ccptr[i].dataptr = sgpnt[i].address;
sgpnt714drivers/scsi/buslogic.ccptr[i].datalen = sgpnt[i].length;
sgpnt592drivers/scsi/eata.cstruct scatterlist * sgpnt;
sgpnt594drivers/scsi/eata.csgpnt = (struct scatterlist *) SCpnt->request_buffer;
sgpnt597drivers/scsi/eata.ccpp->sglist[k].address = htonl((unsigned int) sgpnt[k].address);
sgpnt598drivers/scsi/eata.ccpp->sglist[k].num_bytes = htonl((unsigned int) sgpnt[k].length);
sgpnt137drivers/scsi/scsi_debug.cstruct scatterlist * sgpnt = NULL;
sgpnt140drivers/scsi/scsi_debug.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt142drivers/scsi/scsi_debug.clpnt = (int *) sgpnt[i].alt_address;
sgpnt143drivers/scsi/scsi_debug.cprintk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
sgpnt159drivers/scsi/scsi_debug.clpnt = (unsigned int *) sgpnt[0].alt_address;
sgpnt166drivers/scsi/scsi_debug.clpnt = (unsigned int *) sgpnt[0].address;
sgpnt185drivers/scsi/scsi_debug.cstruct scatterlist * sgpnt;
sgpnt191drivers/scsi/scsi_debug.csgpnt = NULL;
sgpnt291drivers/scsi/scsi_debug.csgpnt = (struct scatterlist *) buff;
sgpnt292drivers/scsi/scsi_debug.cbuff = sgpnt[sgcount].address;
sgpnt293drivers/scsi/scsi_debug.cbufflen = sgpnt[sgcount].length;
sgpnt363drivers/scsi/scsi_debug.cbuff = sgpnt[sgcount].address;
sgpnt364drivers/scsi/scsi_debug.cbufflen = sgpnt[sgcount].length;
sgpnt390drivers/scsi/scsi_debug.csgpnt = (struct scatterlist *) buff;
sgpnt391drivers/scsi/scsi_debug.cbuff = sgpnt[sgcount].address;
sgpnt226drivers/scsi/sd.cstruct scatterlist * sgpnt;
sgpnt228drivers/scsi/sd.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt231drivers/scsi/sd.cprintk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, 
sgpnt232drivers/scsi/sd.csgpnt[i].length);
sgpnt234drivers/scsi/sd.cif (sgpnt[i].alt_address) {
sgpnt236drivers/scsi/sd.cmemcpy(sgpnt[i].alt_address, sgpnt[i].address, 
sgpnt237drivers/scsi/sd.csgpnt[i].length);
sgpnt238drivers/scsi/sd.cscsi_free(sgpnt[i].address, sgpnt[i].length);
sgpnt286drivers/scsi/sd.cstruct scatterlist * sgpnt;
sgpnt288drivers/scsi/sd.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt294drivers/scsi/sd.cif (sgpnt[i].alt_address) {
sgpnt295drivers/scsi/sd.cscsi_free(sgpnt[i].address, sgpnt[i].length);
sgpnt639drivers/scsi/sd.cstruct scatterlist * sgpnt;
sgpnt673drivers/scsi/sd.csgpnt = (struct scatterlist * ) scsi_malloc(count);
sgpnt674drivers/scsi/sd.cif (!sgpnt) {
sgpnt680drivers/scsi/sd.cmemset(sgpnt, 0, count);  /* Zero so it is easy to fill, but only
sgpnt683drivers/scsi/sd.cbuff = (char *) sgpnt;
sgpnt691drivers/scsi/sd.cif(!sgpnt[count].address) sgpnt[count].address = bh->b_data;
sgpnt692drivers/scsi/sd.csgpnt[count].length += bh->b_size;
sgpnt695drivers/scsi/sd.cif (((long) sgpnt[count].address) + sgpnt[count].length - 1 > 
sgpnt697drivers/scsi/sd.c!sgpnt[count].alt_address) {
sgpnt698drivers/scsi/sd.csgpnt[count].alt_address = sgpnt[count].address;
sgpnt703drivers/scsi/sd.cif(dma_free_sectors < (sgpnt[count].length >> 9) + 10) {
sgpnt704drivers/scsi/sd.csgpnt[count].address = NULL;
sgpnt706drivers/scsi/sd.csgpnt[count].address = 
sgpnt707drivers/scsi/sd.c(char *) scsi_malloc(sgpnt[count].length);
sgpnt714drivers/scsi/sd.cif(sgpnt[count].address == NULL){ /* Out of dma memory */
sgpnt719drivers/scsi/sd.cif(sgpnt[count].alt_address) 
sgpnt720drivers/scsi/sd.cscsi_free(sgpnt[count].address, 
sgpnt721drivers/scsi/sd.csgpnt[count].length);
sgpnt726drivers/scsi/sd.cscsi_free(sgpnt, SCpnt->sglist_len);
sgpnt743drivers/scsi/sd.cif (((long) sgpnt[count].address) + sgpnt[count].length +
sgpnt746drivers/scsi/sd.c!sgpnt[count].alt_address) continue;
sgpnt748drivers/scsi/sd.cif(!sgpnt[count].alt_address) {count--; continue; }
sgpnt750drivers/scsi/sd.ctmp = (char *) scsi_malloc(sgpnt[count].length 
sgpnt757drivers/scsi/sd.cscsi_free(sgpnt[count].address, sgpnt[count].length);
sgpnt758drivers/scsi/sd.csgpnt[count].address = tmp;
sgpnt788drivers/scsi/sd.csgpnt[count].address,
sgpnt789drivers/scsi/sd.csgpnt[count].alt_address,
sgpnt790drivers/scsi/sd.csgpnt[count].length);
sgpnt796drivers/scsi/sd.cif(sgpnt[count].alt_address)
sgpnt797drivers/scsi/sd.cmemcpy(sgpnt[count].address, sgpnt[count].alt_address, 
sgpnt798drivers/scsi/sd.csgpnt[count].length);
sgpnt189drivers/scsi/sr.cstruct scatterlist * sgpnt;
sgpnt191drivers/scsi/sr.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt193drivers/scsi/sr.cif (sgpnt[i].alt_address) {
sgpnt194drivers/scsi/sr.cif (sgpnt[i].alt_address != sgpnt[i].address) {
sgpnt195drivers/scsi/sr.cmemcpy(sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
sgpnt197drivers/scsi/sr.cscsi_free(sgpnt[i].address, sgpnt[i].length);
sgpnt228drivers/scsi/sr.cstruct scatterlist * sgpnt;
sgpnt230drivers/scsi/sr.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt232drivers/scsi/sr.cif (sgpnt[i].alt_address) {
sgpnt233drivers/scsi/sr.cscsi_free(sgpnt[i].address, sgpnt[i].length);
sgpnt718drivers/scsi/sr.cstruct scatterlist * sgpnt;
sgpnt751drivers/scsi/sr.csgpnt = (struct scatterlist * ) scsi_malloc(count);
sgpnt752drivers/scsi/sr.cif (!sgpnt) {
sgpnt756drivers/scsi/sr.cbuffer = (unsigned char *) sgpnt;
sgpnt760drivers/scsi/sr.csgpnt[count].length = (SCpnt->request.sector % 4) << 9;
sgpnt761drivers/scsi/sr.csgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length);
sgpnt762drivers/scsi/sr.cif(!sgpnt[count].address) panic("SCSI DMA pool exhausted.");
sgpnt763drivers/scsi/sr.csgpnt[count].alt_address = sgpnt[count].address; /* Flag to delete
sgpnt770drivers/scsi/sr.csgpnt[count].address = bh->b_data;
sgpnt771drivers/scsi/sr.csgpnt[count].length = bh->b_size;
sgpnt772drivers/scsi/sr.csgpnt[count].alt_address = NULL;
sgpnt774drivers/scsi/sr.csgpnt[count].address = (char *) scsi_malloc(end_rec);
sgpnt775drivers/scsi/sr.cif(!sgpnt[count].address) panic("SCSI DMA pool exhausted.");
sgpnt776drivers/scsi/sr.csgpnt[count].length = end_rec;
sgpnt777drivers/scsi/sr.csgpnt[count].alt_address = sgpnt[count].address;
sgpnt781drivers/scsi/sr.cif (((long) sgpnt[count].address) + sgpnt[count].length > ISA_DMA_THRESHOLD &&
sgpnt783drivers/scsi/sr.csgpnt[count].alt_address = sgpnt[count].address;
sgpnt787drivers/scsi/sr.cif(dma_free_sectors < (sgpnt[count].length >> 9) + 5) {
sgpnt788drivers/scsi/sr.csgpnt[count].address = NULL;
sgpnt790drivers/scsi/sr.csgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length);
sgpnt796drivers/scsi/sr.cif(sgpnt[count].address == NULL){ /* Out of dma memory */
sgpnt800drivers/scsi/sr.cif(sgpnt[count].alt_address) 
sgpnt801drivers/scsi/sr.cscsi_free(sgpnt[count].address, sgpnt[count].length);
sgpnt816drivers/scsi/sr.csgpnt[count].address, 
sgpnt817drivers/scsi/sr.csgpnt[count].alt_address, 
sgpnt818drivers/scsi/sr.csgpnt[count].length);
sgpnt551drivers/scsi/u14-34f.cstruct scatterlist * sgpnt;
sgpnt553drivers/scsi/u14-34f.csgpnt = (struct scatterlist *) SCpnt->request_buffer;
sgpnt556drivers/scsi/u14-34f.ccpp->sglist[k].address = (unsigned int) sgpnt[k].address;
sgpnt557drivers/scsi/u14-34f.ccpp->sglist[k].num_bytes = sgpnt[k].length;
sgpnt558drivers/scsi/u14-34f.cdata_len += sgpnt[k].length;