Searched refs:var_table (Results 1 – 2 of 2) sorted by relevance
2103 struct mlx5_var_table *var_table = &dev->var_table; in mlx5_ib_mmap_free() local2112 mutex_lock(&var_table->bitmap_lock); in mlx5_ib_mmap_free()2113 clear_bit(mentry->page_idx, var_table->bitmap); in mlx5_ib_mmap_free()2114 mutex_unlock(&var_table->bitmap_lock); in mlx5_ib_mmap_free()3345 struct mlx5_var_table *var_table; in alloc_var_entry() local3349 var_table = &to_mdev(c->ibucontext.device)->var_table; in alloc_var_entry()3354 mutex_lock(&var_table->bitmap_lock); in alloc_var_entry()3355 page_idx = find_first_zero_bit(var_table->bitmap, in alloc_var_entry()3356 var_table->num_var_hw_entries); in alloc_var_entry()3357 if (page_idx >= var_table->num_var_hw_entries) { in alloc_var_entry()[all …]
1103 struct mlx5_var_table var_table; member