Lines Matching refs:page_idx
24 u64 page_idx = 0; in mlx5_cmd_alloc_memic() local
44 while (page_idx < num_memic_hw_pages) { in mlx5_cmd_alloc_memic()
46 page_idx = bitmap_find_next_zero_area(dm->memic_alloc_pages, in mlx5_cmd_alloc_memic()
48 page_idx, in mlx5_cmd_alloc_memic()
51 if (page_idx < num_memic_hw_pages) in mlx5_cmd_alloc_memic()
53 page_idx, num_pages); in mlx5_cmd_alloc_memic()
57 if (page_idx >= num_memic_hw_pages) in mlx5_cmd_alloc_memic()
61 hw_start_addr + (page_idx * PAGE_SIZE)); in mlx5_cmd_alloc_memic()
67 page_idx, num_pages); in mlx5_cmd_alloc_memic()
71 page_idx++; in mlx5_cmd_alloc_memic()
177 u16 page_idx; in copy_op_to_user() local
180 page_idx = op_entry->mentry.rdma_entry.start_pgoff & 0xFFFF; in copy_op_to_user()
183 &page_idx, sizeof(page_idx)); in copy_op_to_user()
281 u16 page_idx; in handle_alloc_dm_memic() local
317 page_idx = dm->mentry.rdma_entry.start_pgoff & 0xFFFF; in handle_alloc_dm_memic()
319 &page_idx, sizeof(page_idx)); in handle_alloc_dm_memic()
513 u16 page_idx; in UVERBS_HANDLER() local
520 page_idx = memic->mentry.rdma_entry.start_pgoff & 0xFFFF; in UVERBS_HANDLER()
522 &page_idx, sizeof(page_idx)); in UVERBS_HANDLER()