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()
447 return dev->uar_table.uarc_base + in mthca_uarc_virt()448 uar->index * dev->uar_table.uarc_size + in mthca_uarc_virt()463 if (index < 0 || index > dev->uar_table.uarc_size / 8) in mthca_map_user_db()541 npages = dev->uar_table.uarc_size / MTHCA_ICM_PAGE_SIZE; in mthca_init_user_db_tab()565 for (i = 0; i < dev->uar_table.uarc_size / MTHCA_ICM_PAGE_SIZE; ++i) { in mthca_cleanup_user_db_tab()727 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
345 uresp.uarc_size = to_mdev(ibdev)->uar_table.uarc_size; in mthca_alloc_ucontext()
80 uar->index = mlx4_bitmap_alloc(&mlx4_priv(dev)->uar_table.bitmap); in mlx4_uar_alloc()93 mlx4_bitmap_free(&mlx4_priv(dev)->uar_table.bitmap, uar->index); in mlx4_uar_free()111 if (mlx4_bitmap_avail(&priv->uar_table.bitmap) < MLX4_NUM_RESERVED_UARS) { in mlx4_bf_alloc()202 return mlx4_bitmap_init(&mlx4_priv(dev)->uar_table.bitmap, in mlx4_init_uar_table()209 mlx4_bitmap_cleanup(&mlx4_priv(dev)->uar_table.bitmap); in mlx4_cleanup_uar_table()
338 struct mlx4_uar_table uar_table; member