Searched refs:sys_pages (Results 1 – 4 of 4) sorted by relevance
1621 err = mlx5_cmd_alloc_uar(dev->mdev, &bfregi->sys_pages[i]); in allocate_uars()1625 mlx5_ib_dbg(dev, "allocated uar %d\n", bfregi->sys_pages[i]); in allocate_uars()1629 bfregi->sys_pages[i] = MLX5_IB_INVALID_UAR_INDEX; in allocate_uars()1635 if (mlx5_cmd_free_uar(dev->mdev, bfregi->sys_pages[i])) in allocate_uars()1650 bfregi->sys_pages[i] != MLX5_IB_INVALID_UAR_INDEX) in deallocate_uars()1651 mlx5_cmd_free_uar(dev->mdev, bfregi->sys_pages[i]); in deallocate_uars()1882 bfregi->sys_pages = kcalloc(bfregi->num_sys_pages, in mlx5_ib_alloc_ucontext()1883 sizeof(*bfregi->sys_pages), in mlx5_ib_alloc_ucontext()1885 if (!bfregi->sys_pages) { in mlx5_ib_alloc_ucontext()1948 kfree(bfregi->sys_pages); in mlx5_ib_alloc_ucontext()[all …]
105 u32 *sys_pages; member
775 *index = context->bfregi.sys_pages[0]; in create_cq_user()
771 bfregi->sys_pages[index_of_sys_page] == MLX5_IB_INVALID_UAR_INDEX) { in bfregn_to_uar_index()778 return bfregi->sys_pages[index_of_sys_page] + offset; in bfregn_to_uar_index()