Home
last modified time | relevance | path

Searched refs:pg_arr (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/bnxt_re/
Dqplib_res.c71 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 …]
Dqplib_res.h150 void **pg_arr; member
/linux-6.12.1/drivers/net/ethernet/broadcom/
Dcnic.h133 void **pg_arr; member
Dcnic.c737 if (!dma->pg_arr) in cnic_free_dma()
741 if (dma->pg_arr[i]) { in cnic_free_dma()
743 dma->pg_arr[i], dma->pg_map_arr[i]); in cnic_free_dma()
744 dma->pg_arr[i] = NULL; in cnic_free_dma()
752 kfree(dma->pg_arr); in cnic_free_dma()
753 dma->pg_arr = NULL; in cnic_free_dma()
792 dma->pg_arr = kzalloc(size, GFP_ATOMIC); in cnic_alloc_dma()
793 if (dma->pg_arr == NULL) in cnic_alloc_dma()
796 dma->pg_map_arr = (dma_addr_t *) (dma->pg_arr + pages); in cnic_alloc_dma()
800 dma->pg_arr[i] = dma_alloc_coherent(&dev->pcidev->dev, in cnic_alloc_dma()
[all …]
/linux-6.12.1/drivers/infiniband/hw/irdma/
Dhw.c614 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.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_coredump.c386 memcpy(buf + data_copied, rmem->pg_arr[i], data_len); in bnxt_copy_crash_data()
Dbnxt.c3442 if (!rmem->pg_arr) in bnxt_free_ring()
3446 if (!rmem->pg_arr[i]) in bnxt_free_ring()
3450 rmem->pg_arr[i], rmem->dma_arr[i]); in bnxt_free_ring()
3452 rmem->pg_arr[i] = NULL; in bnxt_free_ring()
3493 rmem->pg_arr[i] = dma_alloc_coherent(&pdev->dev, in bnxt_alloc_ring()
3497 if (!rmem->pg_arr[i]) in bnxt_alloc_ring()
3501 bnxt_init_ctx_mem(rmem->ctx_mem, rmem->pg_arr[i], in bnxt_alloc_ring()
3802 ring->ring_mem.pg_arr = NULL; in bnxt_free_cp_arrays()
3905 rmem->pg_arr = (void **)cpr->cp_desc_ring; in bnxt_alloc_cp_sub_ring()
4002 rmem->pg_arr = (void **)rxr->rx_desc_ring; in bnxt_init_rx_ring_struct()
[all …]
Dbnxt.h910 void **pg_arr; member