Lines Matching refs:mlx4_priv
49 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_pd_alloc()
61 mlx4_bitmap_free(&mlx4_priv(dev)->pd_bitmap, pdn, MLX4_USE_RR); in mlx4_pd_free()
67 struct mlx4_priv *priv = mlx4_priv(dev); in __mlx4_xrcd_alloc()
98 mlx4_bitmap_free(&mlx4_priv(dev)->xrcd_bitmap, xrcdn, MLX4_USE_RR); in __mlx4_xrcd_free()
120 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_init_pd_table()
129 mlx4_bitmap_cleanup(&mlx4_priv(dev)->pd_bitmap); in mlx4_cleanup_pd_table()
134 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_init_xrcd_table()
142 mlx4_bitmap_cleanup(&mlx4_priv(dev)->xrcd_bitmap); in mlx4_cleanup_xrcd_table()
149 uar->index = mlx4_bitmap_alloc(&mlx4_priv(dev)->uar_table.bitmap); in mlx4_uar_alloc()
168 mlx4_bitmap_free(&mlx4_priv(dev)->uar_table.bitmap, uar->index, MLX4_USE_RR); in mlx4_uar_free()
174 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_bf_alloc()
248 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_bf_free()
287 return mlx4_bitmap_init(&mlx4_priv(dev)->uar_table.bitmap, in mlx4_init_uar_table()
294 mlx4_bitmap_cleanup(&mlx4_priv(dev)->uar_table.bitmap); in mlx4_cleanup_uar_table()