taglinefilesource code
dma_sectors73drivers/scsi/scsi.cstatic unsigned int dma_sectors = 0;
dma_sectors2159drivers/scsi/scsi.cfor(i=0;i < (dma_sectors >> (MALLOC_PAGEBITS - 9)); i++)
dma_sectors2186drivers/scsi/scsi.cfor (page = 0; page < (dma_sectors >> 3); page++)
dma_sectors2195drivers/scsi/scsi.cif (page == (dma_sectors >> 3)) panic("scsi_free:Bad offset");
dma_sectors2197drivers/scsi/scsi.cif(sector >= dma_sectors) panic ("scsi_free:Bad page");
dma_sectors2529drivers/scsi/scsi.cif( dma_free_sectors != dma_sectors )
dma_sectors2530drivers/scsi/scsi.cpanic("SCSI DMA pool memory leak %d %d\n",dma_free_sectors,dma_sectors);
dma_sectors2532drivers/scsi/scsi.cfor(i=0; i < dma_sectors >> 3; i++)
dma_sectors2536drivers/scsi/scsi.c(dma_sectors>>3)*sizeof(*dma_malloc_pages));
dma_sectors2539drivers/scsi/scsi.cscsi_init_free(dma_malloc_freelist, dma_sectors>>3);
dma_sectors2541drivers/scsi/scsi.cdma_sectors = 0;
dma_sectors2582drivers/scsi/scsi.cif( new_dma_sectors < dma_sectors )
dma_sectors2583drivers/scsi/scsi.cnew_dma_sectors = dma_sectors;
dma_sectors2601drivers/scsi/scsi.cif( new_dma_sectors > dma_sectors ) { 
dma_sectors2602drivers/scsi/scsi.cfor(i=dma_sectors >> 3; i< new_dma_sectors >> 3; i++)
dma_sectors2614drivers/scsi/scsi.cmemcpy(new_dma_malloc_freelist, dma_malloc_freelist, dma_sectors >> 3);
dma_sectors2615drivers/scsi/scsi.cscsi_init_free(dma_malloc_freelist, dma_sectors>>3);
dma_sectors2622drivers/scsi/scsi.c(dma_sectors>>3)*sizeof(*dma_malloc_pages));
dma_sectors2624drivers/scsi/scsi.c(dma_sectors>>3)*sizeof(*dma_malloc_pages));
dma_sectors2627drivers/scsi/scsi.cdma_free_sectors += new_dma_sectors - dma_sectors;
dma_sectors2629drivers/scsi/scsi.cdma_sectors = new_dma_sectors;
dma_sectors3117drivers/scsi/scsi.cdma_sectors = PAGE_SIZE / 512;
dma_sectors3118drivers/scsi/scsi.cdma_free_sectors= dma_sectors;
dma_sectors3126drivers/scsi/scsi.cscsi_init_malloc(dma_sectors >> 3, GFP_ATOMIC);
dma_sectors3127drivers/scsi/scsi.cmemset(dma_malloc_freelist, 0, dma_sectors >> 3);
dma_sectors3131drivers/scsi/scsi.cscsi_init_malloc((dma_sectors >> 3)*sizeof(*dma_malloc_pages), GFP_ATOMIC);