taglinefilesource code
sgpnt563drivers/scsi/aha1542.cstruct scatterlist * sgpnt;
sgpnt571drivers/scsi/aha1542.csgpnt = (struct scatterlist *) SCpnt->request_buffer;
sgpnt575drivers/scsi/aha1542.cif(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || 
sgpnt576drivers/scsi/aha1542.c(((int)sgpnt[i].address) & 1) || (sgpnt[i].length & 1)){
sgpnt580drivers/scsi/aha1542.cprintk("%d: %x %x %d\n",i,(unsigned int) sgpnt[i].address, (unsigned int) sgpnt[i].alt_address,
sgpnt581drivers/scsi/aha1542.csgpnt[i].length);
sgpnt588drivers/scsi/aha1542.cany2scsi(cptr[i].dataptr, sgpnt[i].address);
sgpnt589drivers/scsi/aha1542.cif(((unsigned  int) sgpnt[i].address) & 0xff000000) goto baddma;
sgpnt590drivers/scsi/aha1542.cany2scsi(cptr[i].datalen, sgpnt[i].length);
sgpnt311drivers/scsi/aha1740.cstruct scatterlist * sgpnt;
sgpnt319drivers/scsi/aha1740.csgpnt = (struct scatterlist *) SCpnt->request_buffer;
sgpnt324drivers/scsi/aha1740.ccptr[i].dataptr = (long) sgpnt[i].address;
sgpnt325drivers/scsi/aha1740.ccptr[i].datalen = sgpnt[i].length;
sgpnt710drivers/scsi/buslogic.cstruct scatterlist *sgpnt;
sgpnt720drivers/scsi/buslogic.csgpnt = (struct scatterlist *)scpnt->request_buffer;
sgpnt729drivers/scsi/buslogic.ccptr[i].dataptr = sgpnt[i].address;
sgpnt730drivers/scsi/buslogic.ccptr[i].datalen = sgpnt[i].length;
sgpnt116drivers/scsi/scsi_debug.cstruct scatterlist * sgpnt = NULL;
sgpnt119drivers/scsi/scsi_debug.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt121drivers/scsi/scsi_debug.clpnt = (int *) sgpnt[i].alt_address;
sgpnt122drivers/scsi/scsi_debug.cprintk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
sgpnt138drivers/scsi/scsi_debug.clpnt = (unsigned int *) sgpnt[0].alt_address;
sgpnt145drivers/scsi/scsi_debug.clpnt = (unsigned int *) sgpnt[0].address;
sgpnt164drivers/scsi/scsi_debug.cstruct scatterlist * sgpnt;
sgpnt169drivers/scsi/scsi_debug.csgpnt = NULL;
sgpnt259drivers/scsi/scsi_debug.csgpnt = (struct scatterlist *) buff;
sgpnt260drivers/scsi/scsi_debug.cbuff = sgpnt[sgcount].address;
sgpnt261drivers/scsi/scsi_debug.cbufflen = sgpnt[sgcount].length;
sgpnt329drivers/scsi/scsi_debug.cbuff = sgpnt[sgcount].address;
sgpnt330drivers/scsi/scsi_debug.cbufflen = sgpnt[sgcount].length;
sgpnt356drivers/scsi/scsi_debug.csgpnt = (struct scatterlist *) buff;
sgpnt357drivers/scsi/scsi_debug.cbuff = sgpnt[sgcount].address;
sgpnt180drivers/scsi/sd.cstruct scatterlist * sgpnt;
sgpnt182drivers/scsi/sd.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt185drivers/scsi/sd.cprintk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
sgpnt187drivers/scsi/sd.cif (sgpnt[i].alt_address) {
sgpnt189drivers/scsi/sd.cmemcpy(sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
sgpnt190drivers/scsi/sd.cscsi_free(sgpnt[i].address, sgpnt[i].length);
sgpnt236drivers/scsi/sd.cstruct scatterlist * sgpnt;
sgpnt238drivers/scsi/sd.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt244drivers/scsi/sd.cif (sgpnt[i].alt_address) {
sgpnt245drivers/scsi/sd.cscsi_free(sgpnt[i].address, sgpnt[i].length);
sgpnt524drivers/scsi/sd.cstruct scatterlist * sgpnt;
sgpnt557drivers/scsi/sd.csgpnt = (struct scatterlist * ) scsi_malloc(count);
sgpnt558drivers/scsi/sd.cmemset(sgpnt, 0, count);  /* Zero so it is easy to fill */
sgpnt559drivers/scsi/sd.cif (!sgpnt) {
sgpnt565drivers/scsi/sd.cbuff = (char *) sgpnt;
sgpnt573drivers/scsi/sd.cif(!sgpnt[count].address) sgpnt[count].address = bh->b_data;
sgpnt574drivers/scsi/sd.csgpnt[count].length += bh->b_size;
sgpnt577drivers/scsi/sd.cif (((int) sgpnt[count].address) + sgpnt[count].length - 1 > 
sgpnt579drivers/scsi/sd.c!sgpnt[count].alt_address) {
sgpnt580drivers/scsi/sd.csgpnt[count].alt_address = sgpnt[count].address;
sgpnt584drivers/scsi/sd.cif(dma_free_sectors < (sgpnt[count].length >> 9) + 10) {
sgpnt585drivers/scsi/sd.csgpnt[count].address = NULL;
sgpnt587drivers/scsi/sd.csgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length);
sgpnt593drivers/scsi/sd.cif(sgpnt[count].address == NULL){ /* Out of dma memory */
sgpnt598drivers/scsi/sd.cif(sgpnt[count].alt_address) 
sgpnt599drivers/scsi/sd.cscsi_free(sgpnt[count].address, sgpnt[count].length);
sgpnt604drivers/scsi/sd.cscsi_free(sgpnt, SCpnt->sglist_len);
sgpnt620drivers/scsi/sd.cif (((int) sgpnt[count].address) + sgpnt[count].length +
sgpnt623drivers/scsi/sd.c!sgpnt[count].alt_address) continue;
sgpnt625drivers/scsi/sd.cif(!sgpnt[count].alt_address) {count--; continue; }
sgpnt627drivers/scsi/sd.ctmp = (char *) scsi_malloc(sgpnt[count].length + bhp->b_size);
sgpnt633drivers/scsi/sd.cscsi_free(sgpnt[count].address, sgpnt[count].length);
sgpnt634drivers/scsi/sd.csgpnt[count].address = tmp;
sgpnt659drivers/scsi/sd.csgpnt[count].address,
sgpnt660drivers/scsi/sd.csgpnt[count].alt_address,
sgpnt661drivers/scsi/sd.csgpnt[count].length);
sgpnt667drivers/scsi/sd.cif(sgpnt[count].alt_address)
sgpnt668drivers/scsi/sd.cmemcpy(sgpnt[count].address, sgpnt[count].alt_address, 
sgpnt669drivers/scsi/sd.csgpnt[count].length);
sgpnt168drivers/scsi/sr.cstruct scatterlist * sgpnt;
sgpnt170drivers/scsi/sr.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt172drivers/scsi/sr.cif (sgpnt[i].alt_address) {
sgpnt173drivers/scsi/sr.cif (sgpnt[i].alt_address != sgpnt[i].address) {
sgpnt174drivers/scsi/sr.cmemcpy(sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
sgpnt176drivers/scsi/sr.cscsi_free(sgpnt[i].address, sgpnt[i].length);
sgpnt207drivers/scsi/sr.cstruct scatterlist * sgpnt;
sgpnt209drivers/scsi/sr.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt211drivers/scsi/sr.cif (sgpnt[i].alt_address) {
sgpnt212drivers/scsi/sr.cscsi_free(sgpnt[i].address, sgpnt[i].length);
sgpnt446drivers/scsi/sr.cstruct scatterlist * sgpnt;
sgpnt479drivers/scsi/sr.csgpnt = (struct scatterlist * ) scsi_malloc(count);
sgpnt480drivers/scsi/sr.cif (!sgpnt) {
sgpnt484drivers/scsi/sr.cbuffer = (unsigned char *) sgpnt;
sgpnt488drivers/scsi/sr.csgpnt[count].length = (SCpnt->request.sector % 4) << 9;
sgpnt489drivers/scsi/sr.csgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length);
sgpnt490drivers/scsi/sr.cif(!sgpnt[count].address) panic("SCSI DMA pool exhausted.");
sgpnt491drivers/scsi/sr.csgpnt[count].alt_address = sgpnt[count].address; /* Flag to delete
sgpnt498drivers/scsi/sr.csgpnt[count].address = bh->b_data;
sgpnt499drivers/scsi/sr.csgpnt[count].length = bh->b_size;
sgpnt500drivers/scsi/sr.csgpnt[count].alt_address = NULL;
sgpnt502drivers/scsi/sr.csgpnt[count].address = (char *) scsi_malloc(end_rec);
sgpnt503drivers/scsi/sr.cif(!sgpnt[count].address) panic("SCSI DMA pool exhausted.");
sgpnt504drivers/scsi/sr.csgpnt[count].length = end_rec;
sgpnt505drivers/scsi/sr.csgpnt[count].alt_address = sgpnt[count].address;
sgpnt509drivers/scsi/sr.cif (((int) sgpnt[count].address) + sgpnt[count].length > 
sgpnt511drivers/scsi/sr.csgpnt[count].alt_address = sgpnt[count].address;
sgpnt515drivers/scsi/sr.cif(dma_free_sectors < (sgpnt[count].length >> 9) + 5) {
sgpnt516drivers/scsi/sr.csgpnt[count].address = NULL;
sgpnt518drivers/scsi/sr.csgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length);
sgpnt524drivers/scsi/sr.cif(sgpnt[count].address == NULL){ /* Out of dma memory */
sgpnt528drivers/scsi/sr.cif(sgpnt[count].alt_address) 
sgpnt529drivers/scsi/sr.cscsi_free(sgpnt[count].address, sgpnt[count].length);
sgpnt544drivers/scsi/sr.csgpnt[count].address, 
sgpnt545drivers/scsi/sr.csgpnt[count].alt_address, 
sgpnt546drivers/scsi/sr.csgpnt[count].length);