Searched refs:num_mr (Results 1 – 4 of 4) sorted by relevance
1297 atomic_dec(&sdev->num_mr); in siw_dereg_mr()1332 if (atomic_inc_return(&sdev->num_mr) > SIW_MAX_MR) { in siw_reg_user_mr()1400 atomic_dec(&sdev->num_mr); in siw_reg_user_mr()1420 if (atomic_inc_return(&sdev->num_mr) > SIW_MAX_MR) { in siw_alloc_mr()1458 atomic_dec(&sdev->num_mr); in siw_alloc_mr()1552 if (atomic_inc_return(&sdev->num_mr) > SIW_MAX_MR) { in siw_get_dma_mr()1576 atomic_dec(&sdev->num_mr); in siw_get_dma_mr()
385 atomic_set(&sdev->num_mr, 0); in siw_device_create()
93 atomic_t num_mr; member
7393 u32 num_mr, num_ah; in bnxt_alloc_ctx_mem() local7475 num_mr = 1024 * 256; in bnxt_alloc_ctx_mem()7477 ctx_pg->entries = num_mr + num_ah; in bnxt_alloc_ctx_mem()7488 ((num_mr / ctx->mrav_num_entries_units) << 16) | in bnxt_alloc_ctx_mem()