Home
last modified time | relevance | path

Searched refs:new_dma_sectors (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dscsi_dma.c197 unsigned int new_dma_sectors = 0; in scsi_resize_dma_pool() local
226 new_dma_sectors = 2 * SECTORS_PER_PAGE; /* Base value we use */ in scsi_resize_dma_pool()
235 new_dma_sectors += SECTORS_PER_PAGE; /* Increment for each host */ in scsi_resize_dma_pool()
256 new_dma_sectors += ((nents * in scsi_resize_dma_pool()
260 new_dma_sectors += (2048 >> 9) * SDpnt->queue_depth; in scsi_resize_dma_pool()
267 new_dma_sectors += (4096 >> 9) * SDpnt->queue_depth; in scsi_resize_dma_pool()
271 new_dma_sectors += (4096 >> 9) * SDpnt->queue_depth; in scsi_resize_dma_pool()
278 new_dma_sectors += (PAGE_SIZE >> 9) * host->sg_tablesize * in scsi_resize_dma_pool()
286 printk("resize_dma_pool: needed dma sectors = %d\n", new_dma_sectors); in scsi_resize_dma_pool()
290 new_dma_sectors = (new_dma_sectors + 15) & 0xfff0; in scsi_resize_dma_pool()
[all …]