Searched refs:var_table (Results 1 – 2 of 2) sorted by relevance
2117 struct mlx5_var_table *var_table = &dev->var_table; in mlx5_ib_mmap_free() local2126 mutex_lock(&var_table->bitmap_lock); in mlx5_ib_mmap_free()2127 clear_bit(mentry->page_idx, var_table->bitmap); in mlx5_ib_mmap_free()2128 mutex_unlock(&var_table->bitmap_lock); in mlx5_ib_mmap_free()3391 struct mlx5_var_table *var_table; in alloc_var_entry() local3395 var_table = &to_mdev(c->ibucontext.device)->var_table; in alloc_var_entry()3400 mutex_lock(&var_table->bitmap_lock); in alloc_var_entry()3401 page_idx = find_first_zero_bit(var_table->bitmap, in alloc_var_entry()3402 var_table->num_var_hw_entries); in alloc_var_entry()3403 if (page_idx >= var_table->num_var_hw_entries) { in alloc_var_entry()[all …]
1151 struct mlx5_var_table var_table; member