Home
last modified time | relevance | path

Searched refs:pble_rsrc (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/drivers/infiniband/hw/irdma/
H A Dpble.c44 pble_rsrc->dev = dev; in irdma_hmc_init_pble()
49 pble_rsrc->unallocated_pble = in irdma_hmc_init_pble()
51 pble_rsrc->next_fpm_addr = pble_rsrc->fpm_base_addr + (fpm_idx << 3); in irdma_hmc_init_pble()
58 if (add_pble_prm(pble_rsrc)) { in irdma_hmc_init_pble()
235 get_sd_pd_idx(pble_rsrc, idx); in add_pble_prm()
252 pble_rsrc->next_fpm_addr); in add_pble_prm()
260 pble_rsrc->stats_direct_sds++; in add_pble_prm()
387 pble_rsrc->stats_lvl2++; in get_lvl2_pble()
391 free_lvl2(pble_rsrc, palloc); in get_lvl2_pble()
417 pble_rsrc->stats_lvl1++; in get_lvl1_pble()
[all …]
H A Dpble.h110 void irdma_destroy_pble_prm(struct irdma_hmc_pble_rsrc *pble_rsrc);
112 struct irdma_hmc_pble_rsrc *pble_rsrc);
113 void irdma_free_pble(struct irdma_hmc_pble_rsrc *pble_rsrc,
115 int irdma_get_pble(struct irdma_hmc_pble_rsrc *pble_rsrc,
125 void irdma_pble_acquire_lock(struct irdma_hmc_pble_rsrc *pble_rsrc,
127 void irdma_pble_release_lock(struct irdma_hmc_pble_rsrc *pble_rsrc,
H A Dhw.c615 irdma_free_pble(rf->pble_rsrc, &aeq->palloc); in irdma_destroy_virt_aeq()
1353 status = irdma_get_pble(rf->pble_rsrc, &aeq->palloc, pg_cnt, true); in irdma_create_virt_aeq()
1362 irdma_free_pble(rf->pble_rsrc, &aeq->palloc); in irdma_create_virt_aeq()
1615 rf->pble_rsrc = (struct irdma_hmc_pble_rsrc *)rf->hmc_info_mem; in irdma_initialize_dev()
1618 (rf->pble_rsrc + 1); in irdma_initialize_dev()
1755 irdma_destroy_pble_prm(rf->pble_rsrc); in irdma_ctrl_deinit_hw()
1846 rf->pble_rsrc); in irdma_rt_init_hw()
1856 irdma_destroy_pble_prm(rf->pble_rsrc); in irdma_rt_init_hw()
H A Dmain.h309 struct irdma_hmc_pble_rsrc *pble_rsrc; member
H A Dverbs.c2429 status = irdma_get_pble(rf->pble_rsrc, palloc, iwmr->page_cnt, in irdma_setup_pbles()
2526 irdma_free_pble(iwdev->rf->pble_rsrc, palloc); in irdma_handle_q_mem()
2712 err_code = irdma_get_pble(iwdev->rf->pble_rsrc, palloc, iwmr->page_cnt, in irdma_alloc_mr()
2725 irdma_free_pble(iwdev->rf->pble_rsrc, palloc); in irdma_alloc_mr()
2862 irdma_free_pble(iwdev->rf->pble_rsrc, &iwpbl->pble_alloc); in irdma_reg_user_mr_type_mem()
2891 irdma_free_pble(iwdev->rf->pble_rsrc, &iwpbl->pble_alloc); in irdma_reg_user_mr_type_mem()
3263 irdma_free_pble(iwdev->rf->pble_rsrc, in irdma_rereg_user_mr()
3412 irdma_free_pble(iwdev->rf->pble_rsrc, &iwpbl->pble_alloc); in irdma_dereg_mr()