Searched refs:uar_table (Results 1 – 7 of 7) sorted by relevance
40 uar->index = mthca_alloc(&dev->uar_table.alloc); in mthca_uar_alloc()51 mthca_free(&dev->uar_table.alloc, uar->index); in mthca_uar_free()58 ret = mthca_alloc_init(&dev->uar_table.alloc, in mthca_init_uar_table()67 mthca_alloc_cleanup(&dev->uar_table.alloc); in mthca_init_uar_table()77 mthca_alloc_cleanup(&dev->uar_table.alloc); in mthca_cleanup_uar_table()
441 return dev->uar_table.uarc_base + in mthca_uarc_virt()442 uar->index * dev->uar_table.uarc_size + in mthca_uarc_virt()456 if (index < 0 || index > dev->uar_table.uarc_size / 8) in mthca_map_user_db()532 npages = dev->uar_table.uarc_size / MTHCA_ICM_PAGE_SIZE; in mthca_init_user_db_tab()555 for (i = 0; i < dev->uar_table.uarc_size / MTHCA_ICM_PAGE_SIZE; ++i) { in mthca_cleanup_user_db_tab()713 dev->db_tab->npages = dev->uar_table.uarc_size / MTHCA_ICM_PAGE_SIZE; in mthca_init_db_tab()
246 dev->uar_table.uarc_size = request->uarc_size; in mthca_make_profile()247 dev->uar_table.uarc_base = profile[i].start; in mthca_make_profile()
339 struct mthca_uar_table uar_table; member
311 uresp.uarc_size = to_mdev(ibdev)->uar_table.uarc_size; in mthca_alloc_ucontext()
115 uar->index = mlx4_bitmap_alloc(&mlx4_priv(dev)->uar_table.bitmap); in mlx4_uar_alloc()132 mlx4_bitmap_free(&mlx4_priv(dev)->uar_table.bitmap, uar->index); in mlx4_uar_free()150 if (mlx4_bitmap_avail(&priv->uar_table.bitmap) < MLX4_NUM_RESERVED_UARS) { in mlx4_bf_alloc()241 return mlx4_bitmap_init(&mlx4_priv(dev)->uar_table.bitmap, in mlx4_init_uar_table()248 mlx4_bitmap_cleanup(&mlx4_priv(dev)->uar_table.bitmap); in mlx4_cleanup_uar_table()
730 struct mlx4_uar_table uar_table; member