Searched refs:pg_arr (Results 1 – 6 of 6) sorted by relevance
65 if (pbl->pg_arr[i]) in __free_pbl()68 pbl->pg_arr[i] & in __free_pbl()74 pbl->pg_arr[i] = NULL; in __free_pbl()77 kfree(pbl->pg_arr); in __free_pbl()78 pbl->pg_arr = NULL; in __free_pbl()94 pbl->pg_arr = kcalloc(pages, sizeof(void *), GFP_KERNEL); in __alloc_pbl()95 if (!pbl->pg_arr) in __alloc_pbl()100 kfree(pbl->pg_arr); in __alloc_pbl()101 pbl->pg_arr = NULL; in __alloc_pbl()109 pbl->pg_arr[i] = dma_alloc_coherent(&pdev->dev, in __alloc_pbl()[all …]
84 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 …]
2634 if (!rmem->pg_arr[i]) in bnxt_free_ring()2638 rmem->pg_arr[i], rmem->dma_arr[i]); in bnxt_free_ring()2640 rmem->pg_arr[i] = NULL; in bnxt_free_ring()2680 rmem->pg_arr[i] = dma_alloc_coherent(&pdev->dev, in bnxt_alloc_ring()2684 if (!rmem->pg_arr[i]) in bnxt_alloc_ring()3005 rmem->pg_arr = (void **)cpr->cp_desc_ring; in bnxt_alloc_cp_sub_ring()3091 rmem->pg_arr = (void **)cpr->cp_desc_ring; in bnxt_init_ring_struct()3103 rmem->pg_arr = (void **)rxr->rx_desc_ring; in bnxt_init_ring_struct()3112 rmem->pg_arr = (void **)rxr->rx_agg_desc_ring; in bnxt_init_ring_struct()3126 rmem->pg_arr = (void **)txr->tx_desc_ring; in bnxt_init_ring_struct()[all …]
720 void **pg_arr; member