Lines Matching refs:dma_malloc_freelist
42 static FreeSectorBitmap *dma_malloc_freelist = NULL; variable
88 if ((dma_malloc_freelist[i] & (mask << j)) == 0) { in scsi_malloc()
89 dma_malloc_freelist[i] |= (mask << j); in scsi_malloc()
153 if ((dma_malloc_freelist[page] & in scsi_free()
162 dma_malloc_freelist[page] &= ~(mask << sector); in scsi_free()
216 if (dma_malloc_freelist) in scsi_resize_dma_pool()
217 kfree((char *) dma_malloc_freelist); in scsi_resize_dma_pool()
218 dma_malloc_freelist = NULL; in scsi_resize_dma_pool()
366 if (dma_malloc_freelist) { in scsi_resize_dma_pool()
368 memcpy(new_dma_malloc_freelist, dma_malloc_freelist, size); in scsi_resize_dma_pool()
369 kfree((char *) dma_malloc_freelist); in scsi_resize_dma_pool()
371 dma_malloc_freelist = new_dma_malloc_freelist; in scsi_resize_dma_pool()
422 dma_malloc_freelist = (FreeSectorBitmap *) in scsi_init_minimal_dma_pool()
424 if (dma_malloc_freelist) { in scsi_init_minimal_dma_pool()
425 memset(dma_malloc_freelist, 0, size); in scsi_init_minimal_dma_pool()
439 if (dma_malloc_freelist) { in scsi_init_minimal_dma_pool()
440 kfree((char *) dma_malloc_freelist); in scsi_init_minimal_dma_pool()