Searched refs:pg_arr (Results 1 – 7 of 7) sorted by relevance
/drivers/infiniband/hw/bnxt_re/ |
D | qplib_res.c | 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(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() [all …]
|
D | qplib_res.h | 119 void **pg_arr; member
|
/drivers/net/ethernet/broadcom/ |
D | cnic.c | 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 …]
|
D | cnic.h | 133 void **pg_arr; member
|
/drivers/infiniband/hw/irdma/ |
D | hw.c | 607 dma_addr_t *pg_arr = (dma_addr_t *)aeq->palloc.level1.addr; in irdma_destroy_virt_aeq() local 609 irdma_unmap_vm_page_list(&rf->hw, pg_arr, pg_cnt); in irdma_destroy_virt_aeq() 1327 dma_addr_t *pg_arr; in irdma_create_virt_aeq() local 1347 pg_arr = (dma_addr_t *)aeq->palloc.level1.addr; in irdma_create_virt_aeq() 1348 status = irdma_map_vm_page_list(&rf->hw, aeq->mem.va, pg_arr, pg_cnt); in irdma_create_virt_aeq()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 3093 if (!rmem->pg_arr) in bnxt_free_ring() 3097 if (!rmem->pg_arr[i]) in bnxt_free_ring() 3101 rmem->pg_arr[i], rmem->dma_arr[i]); in bnxt_free_ring() 3103 rmem->pg_arr[i] = NULL; in bnxt_free_ring() 3144 rmem->pg_arr[i] = dma_alloc_coherent(&pdev->dev, in bnxt_alloc_ring() 3148 if (!rmem->pg_arr[i]) in bnxt_alloc_ring() 3152 bnxt_init_ctx_mem(rmem->mem_init, rmem->pg_arr[i], in bnxt_alloc_ring() 3433 ring->ring_mem.pg_arr = NULL; in bnxt_free_cp_arrays() 3539 rmem->pg_arr = (void **)cpr->cp_desc_ring; in bnxt_alloc_cp_sub_ring() 3626 rmem->pg_arr = (void **)cpr->cp_desc_ring; in bnxt_init_ring_struct() [all …]
|
D | bnxt.h | 756 void **pg_arr; member
|