Searched refs:pg_arr (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/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_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() [all …]
|
D | qplib_res.h | 137 void **pg_arr; member
|
/linux-6.6.21/drivers/net/ethernet/broadcom/ |
D | cnic.h | 133 void **pg_arr; member
|
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 …]
|
/linux-6.6.21/drivers/infiniband/hw/irdma/ |
D | hw.c | 614 dma_addr_t *pg_arr = (dma_addr_t *)aeq->palloc.level1.addr; in irdma_destroy_virt_aeq() local 616 irdma_unmap_vm_page_list(&rf->hw, pg_arr, pg_cnt); in irdma_destroy_virt_aeq() 1341 dma_addr_t *pg_arr; in irdma_create_virt_aeq() local 1361 pg_arr = (dma_addr_t *)aeq->palloc.level1.addr; in irdma_create_virt_aeq() 1362 status = irdma_map_vm_page_list(&rf->hw, aeq->mem.va, pg_arr, pg_cnt); in irdma_create_virt_aeq()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 3034 if (!rmem->pg_arr) in bnxt_free_ring() 3038 if (!rmem->pg_arr[i]) in bnxt_free_ring() 3042 rmem->pg_arr[i], rmem->dma_arr[i]); in bnxt_free_ring() 3044 rmem->pg_arr[i] = NULL; in bnxt_free_ring() 3085 rmem->pg_arr[i] = dma_alloc_coherent(&pdev->dev, in bnxt_alloc_ring() 3089 if (!rmem->pg_arr[i]) in bnxt_alloc_ring() 3093 bnxt_init_ctx_mem(rmem->mem_init, rmem->pg_arr[i], in bnxt_alloc_ring() 3379 ring->ring_mem.pg_arr = NULL; in bnxt_free_cp_arrays() 3485 rmem->pg_arr = (void **)cpr->cp_desc_ring; in bnxt_alloc_cp_sub_ring() 3572 rmem->pg_arr = (void **)cpr->cp_desc_ring; in bnxt_init_ring_struct() [all …]
|
D | bnxt.h | 757 void **pg_arr; member
|