Lines Matching refs:alloc_addr
189 chunk->alloc_addr = kzalloc(chunk->alloc_size, GFP_KERNEL | GFP_DMA); in fore200e_chunk_alloc()
190 if (chunk->alloc_addr == NULL) in fore200e_chunk_alloc()
194 offset = FORE200E_ALIGN(chunk->alloc_addr, alignment); in fore200e_chunk_alloc()
196 chunk->align_addr = chunk->alloc_addr + offset; in fore200e_chunk_alloc()
211 kfree(chunk->alloc_addr); in fore200e_chunk_free()
285 if (data->alloc_addr != NULL) in fore200e_free_rx_buf()
305 if (status->alloc_addr) in fore200e_uninit_bs_queue()
308 if (rbd_block->alloc_addr) in fore200e_uninit_bs_queue()
473 chunk->alloc_addr = pci_alloc_consistent((struct pci_dev*)fore200e->bus_dev, in fore200e_pca_dma_chunk_alloc()
477 if ((chunk->alloc_addr == NULL) || (chunk->dma_addr == 0)) in fore200e_pca_dma_chunk_alloc()
480 chunk->align_addr = chunk->alloc_addr; in fore200e_pca_dma_chunk_alloc()
493 chunk->alloc_addr, in fore200e_pca_dma_chunk_free()
727 chunk->alloc_addr = dma_alloc_coherent(&op->dev, chunk->alloc_size, in fore200e_sba_dma_chunk_alloc()
730 if ((chunk->alloc_addr == NULL) || (chunk->dma_addr == 0)) in fore200e_sba_dma_chunk_alloc()
733 chunk->align_addr = chunk->alloc_addr; in fore200e_sba_dma_chunk_alloc()
744 chunk->alloc_addr, chunk->dma_addr); in fore200e_sba_dma_chunk_free()