Lines Matching refs:pg_arr
71 if (pbl->pg_arr[i]) in __free_pbl()
74 pbl->pg_arr[i] & in __free_pbl()
80 pbl->pg_arr[i] = NULL; in __free_pbl()
83 vfree(pbl->pg_arr); in __free_pbl()
84 pbl->pg_arr = NULL; in __free_pbl()
99 pbl->pg_arr[i] = NULL; in bnxt_qplib_fill_user_dma_pages()
121 pbl->pg_arr = vmalloc_array(pages, sizeof(void *)); in __alloc_pbl()
122 if (!pbl->pg_arr) in __alloc_pbl()
127 vfree(pbl->pg_arr); in __alloc_pbl()
128 pbl->pg_arr = NULL; in __alloc_pbl()
136 pbl->pg_arr[i] = dma_alloc_coherent(&pdev->dev, in __alloc_pbl()
140 if (!pbl->pg_arr[i]) in __alloc_pbl()
256 (dma_addr_t **)hwq->pbl[PBL_LVL_0].pg_arr; in bnxt_qplib_alloc_init_hwq()
284 (dma_addr_t **)hwq->pbl[PBL_LVL_1].pg_arr; in bnxt_qplib_alloc_init_hwq()
324 (dma_addr_t **)hwq->pbl[PBL_LVL_0].pg_arr; in bnxt_qplib_alloc_init_hwq()
353 hwq->pbl_ptr = hwq->pbl[lvl].pg_arr; in bnxt_qplib_alloc_init_hwq()