Lines Matching refs:total_num_bfregs
1598 int ref_bfregs = req->total_num_bfregs; in calc_total_bfregs()
1600 if (req->total_num_bfregs == 0) in calc_total_bfregs()
1606 if (req->total_num_bfregs > MLX5_MAX_BFREGS) in calc_total_bfregs()
1612 req->total_num_bfregs = ALIGN(req->total_num_bfregs, bfregs_per_sys_page); in calc_total_bfregs()
1613 if (req->num_low_latency_bfregs > req->total_num_bfregs - 1) in calc_total_bfregs()
1616 bfregi->num_static_sys_pages = req->total_num_bfregs / bfregs_per_sys_page; in calc_total_bfregs()
1618 bfregi->total_num_bfregs = req->total_num_bfregs + bfregi->num_dyn_bfregs; in calc_total_bfregs()
1619 bfregi->num_sys_pages = bfregi->total_num_bfregs / bfregs_per_sys_page; in calc_total_bfregs()
1624 req->total_num_bfregs, bfregi->total_num_bfregs, in calc_total_bfregs()
1783 bfregi->total_num_bfregs - bfregi->num_dyn_bfregs; in set_ucontext_resp()
1866 req.total_num_bfregs = ALIGN(req.total_num_bfregs, in mlx5_ib_alloc_ucontext()
1868 if (req.num_low_latency_bfregs > req.total_num_bfregs - 1) in mlx5_ib_alloc_ucontext()
1894 bfregi->count = kcalloc(bfregi->total_num_bfregs, sizeof(*bfregi->count), in mlx5_ib_alloc_ucontext()
2175 if (bfreg_dyn_idx >= bfregi->total_num_bfregs) { in uar_mmap()
2177 bfreg_dyn_idx, bfregi->total_num_bfregs); in uar_mmap()