Lines Matching refs:pg_arr
736 if (!dma->pg_arr) in cnic_free_dma()
740 if (dma->pg_arr[i]) { in cnic_free_dma()
742 dma->pg_arr[i], dma->pg_map_arr[i]); in cnic_free_dma()
743 dma->pg_arr[i] = NULL; in cnic_free_dma()
751 kfree(dma->pg_arr); in cnic_free_dma()
752 dma->pg_arr = NULL; in cnic_free_dma()
791 dma->pg_arr = kzalloc(size, GFP_ATOMIC); in cnic_alloc_dma()
792 if (dma->pg_arr == NULL) in cnic_alloc_dma()
795 dma->pg_map_arr = (dma_addr_t *) (dma->pg_arr + pages); in cnic_alloc_dma()
799 dma->pg_arr[i] = dma_alloc_coherent(&dev->pcidev->dev, in cnic_alloc_dma()
803 if (dma->pg_arr[i] == NULL) in cnic_alloc_dma()
997 kcq = (struct kcqe **) info->dma.pg_arr; in cnic_alloc_kcq()
1165 cp->kwq = (struct kwqe **) cp->kwq_info.pg_arr; in cnic_alloc_bnx2_resc()
1287 cp->ctx_tbl[i].kwqe_data = kwq_16_dma->pg_arr[j] + off; in cnic_alloc_bnx2x_resc()