Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/sw/siw/
Dsiw_verbs.c1176 atomic_dec(&sdev->num_mr); in siw_dereg_mr()
1211 if (atomic_inc_return(&sdev->num_mr) > SIW_MAX_MR) { in siw_reg_user_mr()
1279 atomic_dec(&sdev->num_mr); in siw_reg_user_mr()
1299 if (atomic_inc_return(&sdev->num_mr) > SIW_MAX_MR) { in siw_alloc_mr()
1337 atomic_dec(&sdev->num_mr); in siw_alloc_mr()
1431 if (atomic_inc_return(&sdev->num_mr) > SIW_MAX_MR) { in siw_get_dma_mr()
1455 atomic_dec(&sdev->num_mr); in siw_get_dma_mr()
Dsiw_main.c439 atomic_set(&sdev->num_mr, 0); in siw_device_create()
Dsiw.h94 atomic_t num_mr; member
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c6753 u32 num_mr, num_ah; in bnxt_alloc_ctx_mem() local
6820 num_mr = 1024 * 256; in bnxt_alloc_ctx_mem()
6822 ctx_pg->entries = num_mr + num_ah; in bnxt_alloc_ctx_mem()
6830 ((num_mr / ctx->mrav_num_entries_units) << 16) | in bnxt_alloc_ctx_mem()