taglinefilesource code
sgpnt480drivers/scsi/aha1542.cstruct scatterlist * sgpnt;
sgpnt488drivers/scsi/aha1542.csgpnt = (struct scatterlist *) SCpnt->request_buffer;
sgpnt492drivers/scsi/aha1542.cif(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || 
sgpnt493drivers/scsi/aha1542.c(((int)sgpnt[i].address) & 1) || (sgpnt[i].length & 1)){
sgpnt497drivers/scsi/aha1542.cprintk("%d: %x %x %d\n",i,(unsigned int) sgpnt[i].address, (unsigned int) sgpnt[i].alt_address,
sgpnt498drivers/scsi/aha1542.csgpnt[i].length);
sgpnt505drivers/scsi/aha1542.cany2scsi(cptr[i].dataptr, sgpnt[i].address);
sgpnt506drivers/scsi/aha1542.cif(((unsigned  int) sgpnt[i].address) & 0xff000000) goto baddma;
sgpnt507drivers/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;
sgpnt98drivers/scsi/scsi_debug.cstruct scatterlist * sgpnt = NULL;
sgpnt101drivers/scsi/scsi_debug.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt103drivers/scsi/scsi_debug.clpnt = (int *) sgpnt[i].alt_address;
sgpnt104drivers/scsi/scsi_debug.cprintk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
sgpnt120drivers/scsi/scsi_debug.clpnt = (unsigned int *) sgpnt[0].alt_address;
sgpnt127drivers/scsi/scsi_debug.clpnt = (unsigned int *) sgpnt[0].address;
sgpnt146drivers/scsi/scsi_debug.cstruct scatterlist * sgpnt;
sgpnt151drivers/scsi/scsi_debug.csgpnt = NULL;
sgpnt226drivers/scsi/scsi_debug.csgpnt = (struct scatterlist *) buff;
sgpnt227drivers/scsi/scsi_debug.cbuff = sgpnt[sgcount].address;
sgpnt228drivers/scsi/scsi_debug.cbufflen = sgpnt[sgcount].length;
sgpnt286drivers/scsi/scsi_debug.cbuff = sgpnt[sgcount].address;
sgpnt287drivers/scsi/scsi_debug.cbufflen = sgpnt[sgcount].length;
sgpnt308drivers/scsi/scsi_debug.csgpnt = (struct scatterlist *) buff;
sgpnt309drivers/scsi/scsi_debug.cbuff = sgpnt[sgcount].address;
sgpnt160drivers/scsi/sd.cstruct scatterlist * sgpnt;
sgpnt162drivers/scsi/sd.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt165drivers/scsi/sd.cprintk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
sgpnt167drivers/scsi/sd.cif (sgpnt[i].alt_address) {
sgpnt169drivers/scsi/sd.cmemcpy(sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
sgpnt170drivers/scsi/sd.cscsi_free(sgpnt[i].address, sgpnt[i].length);
sgpnt216drivers/scsi/sd.cstruct scatterlist * sgpnt;
sgpnt218drivers/scsi/sd.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt224drivers/scsi/sd.cif (sgpnt[i].alt_address) {
sgpnt225drivers/scsi/sd.cscsi_free(sgpnt[i].address, sgpnt[i].length);
sgpnt475drivers/scsi/sd.cstruct scatterlist * sgpnt;
sgpnt492drivers/scsi/sd.csgpnt = (struct scatterlist * ) scsi_malloc(count);
sgpnt493drivers/scsi/sd.cif (!sgpnt) {
sgpnt499drivers/scsi/sd.cbuff = (char *) sgpnt;
sgpnt504drivers/scsi/sd.csgpnt[count].address = bh->b_data;
sgpnt505drivers/scsi/sd.csgpnt[count].alt_address = NULL;
sgpnt506drivers/scsi/sd.csgpnt[count].length = bh->b_size;
sgpnt507drivers/scsi/sd.cif (((int) sgpnt[count].address) + sgpnt[count].length > 
sgpnt509drivers/scsi/sd.csgpnt[count].alt_address = sgpnt[count].address;
sgpnt514drivers/scsi/sd.csgpnt[count].address = NULL;
sgpnt516drivers/scsi/sd.csgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length);
sgpnt522drivers/scsi/sd.cif(sgpnt[count].address == NULL){ /* Out of dma memory */
sgpnt526drivers/scsi/sd.cif(sgpnt[count].alt_address) 
sgpnt527drivers/scsi/sd.cscsi_free(sgpnt[count].address, sgpnt[count].length);
sgpnt537drivers/scsi/sd.cmemcpy(sgpnt[count].address, sgpnt[count].alt_address, 
sgpnt538drivers/scsi/sd.csgpnt[count].length);
sgpnt149drivers/scsi/sr.cstruct scatterlist * sgpnt;
sgpnt151drivers/scsi/sr.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt153drivers/scsi/sr.cif (sgpnt[i].alt_address) {
sgpnt154drivers/scsi/sr.cif (sgpnt[i].alt_address != sgpnt[i].address) {
sgpnt155drivers/scsi/sr.cmemcpy(sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
sgpnt157drivers/scsi/sr.cscsi_free(sgpnt[i].address, sgpnt[i].length);
sgpnt188drivers/scsi/sr.cstruct scatterlist * sgpnt;
sgpnt190drivers/scsi/sr.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt192drivers/scsi/sr.cif (sgpnt[i].alt_address) {
sgpnt193drivers/scsi/sr.cscsi_free(sgpnt[i].address, sgpnt[i].length);
sgpnt424drivers/scsi/sr.cstruct scatterlist * sgpnt;
sgpnt457drivers/scsi/sr.csgpnt = (struct scatterlist * ) scsi_malloc(count);
sgpnt458drivers/scsi/sr.cif (!sgpnt) {
sgpnt462drivers/scsi/sr.cbuffer = (unsigned char *) sgpnt;
sgpnt466drivers/scsi/sr.csgpnt[count].length = (SCpnt->request.sector % 4) << 9;
sgpnt467drivers/scsi/sr.csgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length);
sgpnt468drivers/scsi/sr.cif(!sgpnt[count].address) panic("SCSI DMA pool exhausted.");
sgpnt469drivers/scsi/sr.csgpnt[count].alt_address = sgpnt[count].address; /* Flag to delete
sgpnt476drivers/scsi/sr.csgpnt[count].address = bh->b_data;
sgpnt477drivers/scsi/sr.csgpnt[count].length = bh->b_size;
sgpnt478drivers/scsi/sr.csgpnt[count].alt_address = NULL;
sgpnt480drivers/scsi/sr.csgpnt[count].address = (char *) scsi_malloc(end_rec);
sgpnt481drivers/scsi/sr.cif(!sgpnt[count].address) panic("SCSI DMA pool exhausted.");
sgpnt482drivers/scsi/sr.csgpnt[count].length = end_rec;
sgpnt483drivers/scsi/sr.csgpnt[count].alt_address = sgpnt[count].address;
sgpnt487drivers/scsi/sr.cif (((int) sgpnt[count].address) + sgpnt[count].length > 
sgpnt489drivers/scsi/sr.csgpnt[count].alt_address = sgpnt[count].address;
sgpnt493drivers/scsi/sr.cif(dma_free_sectors < (sgpnt[count].length >> 9) + 5) {
sgpnt494drivers/scsi/sr.csgpnt[count].address = NULL;
sgpnt496drivers/scsi/sr.csgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length);
sgpnt502drivers/scsi/sr.cif(sgpnt[count].address == NULL){ /* Out of dma memory */
sgpnt506drivers/scsi/sr.cif(sgpnt[count].alt_address) 
sgpnt507drivers/scsi/sr.cscsi_free(sgpnt[count].address, sgpnt[count].length);
sgpnt522drivers/scsi/sr.csgpnt[count].address, 
sgpnt523drivers/scsi/sr.csgpnt[count].alt_address, 
sgpnt524drivers/scsi/sr.csgpnt[count].length);