Home
last modified time | relevance | path

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

/drivers/scsi/csiostor/
Dcsio_scsi.c2326 struct csio_dma_buf *ddp_desc = NULL; in csio_scsi_alloc_ddp_bufs() local
2343 ddp_desc = kzalloc(sizeof(struct csio_dma_buf), GFP_KERNEL); in csio_scsi_alloc_ddp_bufs()
2344 if (!ddp_desc) { in csio_scsi_alloc_ddp_bufs()
2353 ddp_desc->vaddr = dma_alloc_coherent(&hw->pdev->dev, unit_size, in csio_scsi_alloc_ddp_bufs()
2354 &ddp_desc->paddr, GFP_KERNEL); in csio_scsi_alloc_ddp_bufs()
2355 if (!ddp_desc->vaddr) { in csio_scsi_alloc_ddp_bufs()
2359 kfree(ddp_desc); in csio_scsi_alloc_ddp_bufs()
2363 ddp_desc->len = unit_size; in csio_scsi_alloc_ddp_bufs()
2366 list_add_tail(&ddp_desc->list, &scm->ddp_freelist); in csio_scsi_alloc_ddp_bufs()
2374 ddp_desc = (struct csio_dma_buf *) tmp; in csio_scsi_alloc_ddp_bufs()
[all …]