Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dmain.c1656 err = mlx5_cmd_uar_alloc(dev->mdev, &bfregi->sys_pages[i], in allocate_uars()
1661 mlx5_ib_dbg(dev, "allocated uar %d\n", bfregi->sys_pages[i]); in allocate_uars()
1665 bfregi->sys_pages[i] = MLX5_IB_INVALID_UAR_INDEX; in allocate_uars()
1671 if (mlx5_cmd_uar_dealloc(dev->mdev, bfregi->sys_pages[i], in allocate_uars()
1687 bfregi->sys_pages[i] != MLX5_IB_INVALID_UAR_INDEX) in deallocate_uars()
1688 mlx5_cmd_uar_dealloc(dev->mdev, bfregi->sys_pages[i], in deallocate_uars()
1919 bfregi->sys_pages = kcalloc(bfregi->num_sys_pages, in mlx5_ib_alloc_ucontext()
1920 sizeof(*bfregi->sys_pages), in mlx5_ib_alloc_ucontext()
1922 if (!bfregi->sys_pages) { in mlx5_ib_alloc_ucontext()
1975 kfree(bfregi->sys_pages); in mlx5_ib_alloc_ucontext()
[all …]
Dmlx5_ib.h179 u32 *sys_pages; member
Dcq.c797 *index = context->bfregi.sys_pages[0]; in create_cq_user()
Dqp.c854 bfregi->sys_pages[index_of_sys_page] == MLX5_IB_INVALID_UAR_INDEX) { in bfregn_to_uar_index()
861 return bfregi->sys_pages[index_of_sys_page] + offset; in bfregn_to_uar_index()