Home
last modified time | relevance | path

Searched refs:num_mr (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/infiniband/sw/siw/
Dsiw_verbs.c1297 atomic_dec(&sdev->num_mr); in siw_dereg_mr()
1330 if (atomic_inc_return(&sdev->num_mr) > SIW_MAX_MR) { in siw_reg_user_mr()
1385 atomic_dec(&sdev->num_mr); in siw_reg_user_mr()
1405 if (atomic_inc_return(&sdev->num_mr) > SIW_MAX_MR) { in siw_alloc_mr()
1443 atomic_dec(&sdev->num_mr); in siw_alloc_mr()
1537 if (atomic_inc_return(&sdev->num_mr) > SIW_MAX_MR) { in siw_get_dma_mr()
1561 atomic_dec(&sdev->num_mr); in siw_get_dma_mr()
Dsiw_main.c354 atomic_set(&sdev->num_mr, 0); in siw_device_create()
Dsiw.h94 atomic_t num_mr; member
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c8521 u32 num_mr, num_ah = ctxm->mrav_av_entries; in bnxt_hwrm_func_backing_store_cfg() local
8524 num_mr = ctx_pg->entries - num_ah; in bnxt_hwrm_func_backing_store_cfg()
8525 entries = ((num_mr / units) << 16) | (num_ah / units); in bnxt_hwrm_func_backing_store_cfg()
8801 u32 num_mr, num_ah; in bnxt_alloc_ctx_mem() local
8871 num_mr = min_t(u32, ctxm->max_entries / 2, 1024 * 256); in bnxt_alloc_ctx_mem()
8872 num_ah = min_t(u32, num_mr, 1024 * 128); in bnxt_alloc_ctx_mem()
8877 rc = bnxt_setup_ctxm_pg_tbls(bp, ctxm, num_mr + num_ah, 2); in bnxt_alloc_ctx_mem()