Lines Matching refs:pg_arr
70 if (pbl->pg_arr[i]) in __free_pbl()
73 pbl->pg_arr[i] & in __free_pbl()
79 pbl->pg_arr[i] = NULL; in __free_pbl()
82 vfree(pbl->pg_arr); in __free_pbl()
83 pbl->pg_arr = NULL; in __free_pbl()
98 pbl->pg_arr[i] = NULL; in bnxt_qplib_fill_user_dma_pages()
120 pbl->pg_arr = vmalloc(pages * sizeof(void *)); in __alloc_pbl()
121 if (!pbl->pg_arr) in __alloc_pbl()
126 vfree(pbl->pg_arr); in __alloc_pbl()
127 pbl->pg_arr = NULL; in __alloc_pbl()
135 pbl->pg_arr[i] = dma_alloc_coherent(&pdev->dev, in __alloc_pbl()
139 if (!pbl->pg_arr[i]) in __alloc_pbl()
262 (dma_addr_t **)hwq->pbl[PBL_LVL_0].pg_arr; in bnxt_qplib_alloc_init_hwq()
290 (dma_addr_t **)hwq->pbl[PBL_LVL_1].pg_arr; in bnxt_qplib_alloc_init_hwq()
330 (dma_addr_t **)hwq->pbl[PBL_LVL_0].pg_arr; in bnxt_qplib_alloc_init_hwq()
359 hwq->pbl_ptr = hwq->pbl[lvl].pg_arr; in bnxt_qplib_alloc_init_hwq()