taglinefilesource code
sgpnt445kernel/blk_drv/scsi/aha1542.cstruct scatterlist * sgpnt;
sgpnt453kernel/blk_drv/scsi/aha1542.csgpnt = (struct scatterlist *) SCpnt->request_buffer;
sgpnt457kernel/blk_drv/scsi/aha1542.cif(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || 
sgpnt458kernel/blk_drv/scsi/aha1542.c(((int)sgpnt[i].address) & 1) || (sgpnt[i].length & 1)){
sgpnt462kernel/blk_drv/scsi/aha1542.cprintk("%d: %x %x %d\n",i,sgpnt[i].address, sgpnt[i].alt_address,
sgpnt463kernel/blk_drv/scsi/aha1542.csgpnt[i].length);
sgpnt470kernel/blk_drv/scsi/aha1542.cany2scsi(cptr[i].dataptr, sgpnt[i].address);
sgpnt471kernel/blk_drv/scsi/aha1542.cany2scsi(cptr[i].datalen, sgpnt[i].length);
sgpnt310kernel/blk_drv/scsi/aha1740.cstruct scatterlist * sgpnt;
sgpnt318kernel/blk_drv/scsi/aha1740.csgpnt = (struct scatterlist *) SCpnt->request_buffer;
sgpnt323kernel/blk_drv/scsi/aha1740.ccptr[i].dataptr = (long) sgpnt[i].address;
sgpnt324kernel/blk_drv/scsi/aha1740.ccptr[i].datalen = sgpnt[i].length;
sgpnt98kernel/blk_drv/scsi/scsi_debug.cstruct scatterlist * sgpnt = NULL;
sgpnt101kernel/blk_drv/scsi/scsi_debug.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt103kernel/blk_drv/scsi/scsi_debug.clpnt = (int *) sgpnt[i].alt_address;
sgpnt104kernel/blk_drv/scsi/scsi_debug.cprintk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
sgpnt120kernel/blk_drv/scsi/scsi_debug.clpnt = (unsigned int *) sgpnt[0].alt_address;
sgpnt127kernel/blk_drv/scsi/scsi_debug.clpnt = (unsigned int *) sgpnt[0].address;
sgpnt146kernel/blk_drv/scsi/scsi_debug.cstruct scatterlist * sgpnt;
sgpnt151kernel/blk_drv/scsi/scsi_debug.csgpnt = NULL;
sgpnt226kernel/blk_drv/scsi/scsi_debug.csgpnt = (struct scatterlist *) buff;
sgpnt227kernel/blk_drv/scsi/scsi_debug.cbuff = sgpnt[sgcount].address;
sgpnt228kernel/blk_drv/scsi/scsi_debug.cbufflen = sgpnt[sgcount].length;
sgpnt286kernel/blk_drv/scsi/scsi_debug.cbuff = sgpnt[sgcount].address;
sgpnt287kernel/blk_drv/scsi/scsi_debug.cbufflen = sgpnt[sgcount].length;
sgpnt308kernel/blk_drv/scsi/scsi_debug.csgpnt = (struct scatterlist *) buff;
sgpnt309kernel/blk_drv/scsi/scsi_debug.cbuff = sgpnt[sgcount].address;
sgpnt160kernel/blk_drv/scsi/sd.cstruct scatterlist * sgpnt;
sgpnt162kernel/blk_drv/scsi/sd.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt165kernel/blk_drv/scsi/sd.cprintk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
sgpnt167kernel/blk_drv/scsi/sd.cif (sgpnt[i].alt_address) {
sgpnt169kernel/blk_drv/scsi/sd.cmemcpy(sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
sgpnt170kernel/blk_drv/scsi/sd.cscsi_free(sgpnt[i].address, sgpnt[i].length);
sgpnt217kernel/blk_drv/scsi/sd.cstruct scatterlist * sgpnt;
sgpnt219kernel/blk_drv/scsi/sd.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt225kernel/blk_drv/scsi/sd.cif (sgpnt[i].alt_address) {
sgpnt226kernel/blk_drv/scsi/sd.cscsi_free(sgpnt[i].address, sgpnt[i].length);
sgpnt481kernel/blk_drv/scsi/sd.cstruct scatterlist * sgpnt;
sgpnt498kernel/blk_drv/scsi/sd.csgpnt = (struct scatterlist * ) scsi_malloc(count);
sgpnt499kernel/blk_drv/scsi/sd.cif (!sgpnt) {
sgpnt505kernel/blk_drv/scsi/sd.cbuff = (char *) sgpnt;
sgpnt510kernel/blk_drv/scsi/sd.csgpnt[count].address = bh->b_data;
sgpnt511kernel/blk_drv/scsi/sd.csgpnt[count].alt_address = NULL;
sgpnt512kernel/blk_drv/scsi/sd.csgpnt[count].length = bh->b_size;
sgpnt513kernel/blk_drv/scsi/sd.cif (((int) sgpnt[count].address) + sgpnt[count].length > 
sgpnt515kernel/blk_drv/scsi/sd.csgpnt[count].alt_address = sgpnt[count].address;
sgpnt520kernel/blk_drv/scsi/sd.csgpnt[count].address = NULL;
sgpnt522kernel/blk_drv/scsi/sd.csgpnt[count].address = scsi_malloc(sgpnt[count].length);
sgpnt528kernel/blk_drv/scsi/sd.cif(sgpnt[count].address == NULL){ /* Out of dma memory */
sgpnt532kernel/blk_drv/scsi/sd.cif(sgpnt[count].alt_address) 
sgpnt533kernel/blk_drv/scsi/sd.cscsi_free(sgpnt[count].address, sgpnt[count].length);
sgpnt543kernel/blk_drv/scsi/sd.cmemcpy(sgpnt[count].address, sgpnt[count].alt_address, 
sgpnt544kernel/blk_drv/scsi/sd.csgpnt[count].length);
sgpnt145kernel/blk_drv/scsi/sr.cstruct scatterlist * sgpnt;
sgpnt147kernel/blk_drv/scsi/sr.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt149kernel/blk_drv/scsi/sr.cif (sgpnt[i].alt_address) {
sgpnt150kernel/blk_drv/scsi/sr.cif (sgpnt[i].alt_address != sgpnt[i].address) {
sgpnt151kernel/blk_drv/scsi/sr.cmemcpy(sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
sgpnt153kernel/blk_drv/scsi/sr.cscsi_free(sgpnt[i].address, sgpnt[i].length);
sgpnt187kernel/blk_drv/scsi/sr.cstruct scatterlist * sgpnt;
sgpnt189kernel/blk_drv/scsi/sr.csgpnt = (struct scatterlist *) SCpnt->buffer;
sgpnt191kernel/blk_drv/scsi/sr.cif (sgpnt[i].alt_address) {
sgpnt192kernel/blk_drv/scsi/sr.cscsi_free(sgpnt[i].address, sgpnt[i].length);
sgpnt417kernel/blk_drv/scsi/sr.cstruct scatterlist * sgpnt;
sgpnt450kernel/blk_drv/scsi/sr.csgpnt = (struct scatterlist * ) scsi_malloc(count);
sgpnt451kernel/blk_drv/scsi/sr.cif (!sgpnt) {
sgpnt455kernel/blk_drv/scsi/sr.cbuffer = (char *) sgpnt;
sgpnt459kernel/blk_drv/scsi/sr.csgpnt[count].length = (SCpnt->request.sector % 4) << 9;
sgpnt460kernel/blk_drv/scsi/sr.csgpnt[count].address = scsi_malloc(sgpnt[count].length);
sgpnt461kernel/blk_drv/scsi/sr.cif(!sgpnt[count].address) panic("SCSI DMA pool exhausted.");
sgpnt462kernel/blk_drv/scsi/sr.csgpnt[count].alt_address = sgpnt[count].address; /* Flag to delete
sgpnt469kernel/blk_drv/scsi/sr.csgpnt[count].address = bh->b_data;
sgpnt470kernel/blk_drv/scsi/sr.csgpnt[count].length = bh->b_size;
sgpnt471kernel/blk_drv/scsi/sr.csgpnt[count].alt_address = NULL;
sgpnt473kernel/blk_drv/scsi/sr.csgpnt[count].address = scsi_malloc(end_rec);
sgpnt474kernel/blk_drv/scsi/sr.cif(!sgpnt[count].address) panic("SCSI DMA pool exhausted.");
sgpnt475kernel/blk_drv/scsi/sr.csgpnt[count].length = end_rec;
sgpnt476kernel/blk_drv/scsi/sr.csgpnt[count].alt_address = sgpnt[count].address;
sgpnt480kernel/blk_drv/scsi/sr.cif (((int) sgpnt[count].address) + sgpnt[count].length > 
sgpnt482kernel/blk_drv/scsi/sr.csgpnt[count].alt_address = sgpnt[count].address;
sgpnt486kernel/blk_drv/scsi/sr.cif(dma_free_sectors < (sgpnt[count].length >> 9) + 5) {
sgpnt487kernel/blk_drv/scsi/sr.csgpnt[count].address = NULL;
sgpnt489kernel/blk_drv/scsi/sr.csgpnt[count].address = scsi_malloc(sgpnt[count].length);
sgpnt495kernel/blk_drv/scsi/sr.cif(sgpnt[count].address == NULL){ /* Out of dma memory */
sgpnt499kernel/blk_drv/scsi/sr.cif(sgpnt[count].alt_address) 
sgpnt500kernel/blk_drv/scsi/sr.cscsi_free(sgpnt[count].address, sgpnt[count].length);
sgpnt515kernel/blk_drv/scsi/sr.csgpnt[count].address, 
sgpnt516kernel/blk_drv/scsi/sr.csgpnt[count].alt_address, 
sgpnt517kernel/blk_drv/scsi/sr.csgpnt[count].length);