Lines Matching refs:pg_arr
686 if (!dma->pg_arr) in cnic_free_dma()
690 if (dma->pg_arr[i]) { in cnic_free_dma()
692 dma->pg_arr[i], dma->pg_map_arr[i]); in cnic_free_dma()
693 dma->pg_arr[i] = NULL; in cnic_free_dma()
701 kfree(dma->pg_arr); in cnic_free_dma()
702 dma->pg_arr = NULL; in cnic_free_dma()
741 dma->pg_arr = kzalloc(size, GFP_ATOMIC); in cnic_alloc_dma()
742 if (dma->pg_arr == NULL) in cnic_alloc_dma()
745 dma->pg_map_arr = (dma_addr_t *) (dma->pg_arr + pages); in cnic_alloc_dma()
749 dma->pg_arr[i] = dma_alloc_coherent(&dev->pcidev->dev, in cnic_alloc_dma()
753 if (dma->pg_arr[i] == NULL) in cnic_alloc_dma()
913 kcq = (struct kcqe **) info->dma.pg_arr; in cnic_alloc_kcq()
1059 cp->kwq = (struct kwqe **) cp->kwq_info.pg_arr; in cnic_alloc_bnx2_resc()
1189 cp->ctx_tbl[i].kwqe_data = kwq_16_dma->pg_arr[j] + off; in cnic_alloc_bnx2x_resc()