Searched refs:pg_arr (Results 1 – 6 of 6) sorted by relevance
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()[all …]
124 void **pg_arr; member
133 void **pg_arr; member
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()[all …]
2684 if (!rmem->pg_arr[i]) in bnxt_free_ring()2688 rmem->pg_arr[i], rmem->dma_arr[i]); in bnxt_free_ring()2690 rmem->pg_arr[i] = NULL; in bnxt_free_ring()2730 rmem->pg_arr[i] = dma_alloc_coherent(&pdev->dev, in bnxt_alloc_ring()2734 if (!rmem->pg_arr[i]) in bnxt_alloc_ring()2738 memset(rmem->pg_arr[i], rmem->init_val, in bnxt_alloc_ring()3058 rmem->pg_arr = (void **)cpr->cp_desc_ring; in bnxt_alloc_cp_sub_ring()3144 rmem->pg_arr = (void **)cpr->cp_desc_ring; in bnxt_init_ring_struct()3156 rmem->pg_arr = (void **)rxr->rx_desc_ring; in bnxt_init_ring_struct()3165 rmem->pg_arr = (void **)rxr->rx_agg_desc_ring; in bnxt_init_ring_struct()[all …]
726 void **pg_arr; member