Home
last modified time | relevance | path

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

/linux/drivers/infiniband/sw/siw/
H A Dsiw_main.c352 atomic_set(&sdev->num_mr, 0); in siw_device_create()
H A Dsiw.h93 atomic_t num_mr; member
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c9067 u32 num_mr, num_ah = ctxm->mrav_av_entries; in bnxt_hwrm_func_backing_store_cfg() local
9070 num_mr = ctx_pg->entries - num_ah; in bnxt_hwrm_func_backing_store_cfg()
9071 entries = ((num_mr / units) << 16) | (num_ah / units); in bnxt_hwrm_func_backing_store_cfg()
9468 u32 num_mr, num_ah; in bnxt_alloc_ctx_mem() local
9549 num_mr = ctxm->max_entries - num_ah; in bnxt_alloc_ctx_mem()
9554 num_mr = min_t(u32, ctxm->max_entries / 2, 1024 * 256); in bnxt_alloc_ctx_mem()
9555 num_ah = min_t(u32, num_mr, 1024 * 128); in bnxt_alloc_ctx_mem()
9561 rc = bnxt_setup_ctxm_pg_tbls(bp, ctxm, num_mr + num_ah, 2); in bnxt_alloc_ctx_mem()