Home
last modified time | relevance | path

Searched refs:var_table (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dmain.c2103 struct mlx5_var_table *var_table = &dev->var_table; in mlx5_ib_mmap_free() local
2112 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() local
3349 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 …]
Dmlx5_ib.h1103 struct mlx5_var_table var_table; member