Home
last modified time | relevance | path

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

/drivers/scsi/csiostor/
Dcsio_scsi.c2352 struct csio_dma_buf *ddp_desc = NULL; in csio_scsi_alloc_ddp_bufs() local
2369 ddp_desc = kzalloc(sizeof(struct csio_dma_buf), GFP_KERNEL); in csio_scsi_alloc_ddp_bufs()
2370 if (!ddp_desc) { in csio_scsi_alloc_ddp_bufs()
2379 ddp_desc->vaddr = pci_alloc_consistent(hw->pdev, unit_size, in csio_scsi_alloc_ddp_bufs()
2380 &ddp_desc->paddr); in csio_scsi_alloc_ddp_bufs()
2381 if (!ddp_desc->vaddr) { in csio_scsi_alloc_ddp_bufs()
2385 kfree(ddp_desc); in csio_scsi_alloc_ddp_bufs()
2389 ddp_desc->len = unit_size; in csio_scsi_alloc_ddp_bufs()
2392 list_add_tail(&ddp_desc->list, &scm->ddp_freelist); in csio_scsi_alloc_ddp_bufs()
2400 ddp_desc = (struct csio_dma_buf *) tmp; in csio_scsi_alloc_ddp_bufs()
[all …]