Lines Matching refs:page_idx
2098 clear_bit(mentry->page_idx, var_table->bitmap); in mlx5_ib_mmap_free()
2104 mlx5_cmd_free_uar(dev->mdev, mentry->page_idx); in mlx5_ib_mmap_free()
2365 u16 page_idx; in handle_alloc_dm_memic() local
2381 page_idx = dm->mentry.rdma_entry.start_pgoff & 0xFFFF; in handle_alloc_dm_memic()
2384 &page_idx, in handle_alloc_dm_memic()
2385 sizeof(page_idx)); in handle_alloc_dm_memic()
3634 u32 page_idx; in alloc_var_entry() local
3643 page_idx = find_first_zero_bit(var_table->bitmap, in alloc_var_entry()
3645 if (page_idx >= var_table->num_var_hw_entries) { in alloc_var_entry()
3651 set_bit(page_idx, var_table->bitmap); in alloc_var_entry()
3655 (page_idx * var_table->stride_size); in alloc_var_entry()
3656 entry->page_idx = page_idx; in alloc_var_entry()
3668 clear_bit(page_idx, var_table->bitmap); in alloc_var_entry()
3705 &entry->page_idx, sizeof(entry->page_idx)); in UVERBS_HANDLER()
3768 entry->page_idx = uar_index; in alloc_uar_entry()
3832 &entry->page_idx, sizeof(entry->page_idx)); in UVERBS_HANDLER()