Searched refs:dma_array (Results 1 – 2 of 2) sorted by relevance
1106 qp->buf_pool.dma_array = kcalloc(qp->req->length, sizeof(dma_addr_t), GFP_KERNEL); in qla_create_buf_pool()1107 if (!qp->buf_pool.dma_array) { in qla_create_buf_pool()1124 if (qp->buf_pool.buf_array[i] && qp->buf_pool.dma_array[i]) in qla_free_buf_pool()1126 qp->buf_pool.dma_array[i]); in qla_free_buf_pool()1128 qp->buf_pool.dma_array[i] = 0; in qla_free_buf_pool()1131 kfree(qp->buf_pool.dma_array); in qla_free_buf_pool()1172 dsc->buf_dma = qp->buf_pool.dma_array[tag] = buf_dma; in qla_get_buf()1176 dsc->buf_dma = qp->buf_pool.dma_array[tag]; in qla_get_buf()1208 qp->buf_pool.dma_array[j]); in qla_trim_buf()1210 qp->buf_pool.dma_array[j] = 0; in qla_trim_buf()
3795 dma_addr_t *dma_array; member