Searched refs:user_va (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/mlx5/ |
D | odp.c | 554 u64 user_va, size_t bcnt, u32 *bytes_mapped, in pagefault_real_mr() argument 568 start_idx = (user_va - ib_umem_start(odp)) >> page_shift; in pagefault_real_mr() 574 np = ib_umem_odp_map_dma_and_lock(odp, user_va, bcnt, access_mask, fault); in pagefault_real_mr() 594 (user_va - round_down(user_va, 1 << page_shift)); in pagefault_real_mr() 606 struct ib_umem_odp *odp_imr, u64 user_va, in pagefault_implicit_mr() argument 609 unsigned long end_idx = (user_va + bcnt - 1) >> MLX5_IMR_MTT_SHIFT; in pagefault_implicit_mr() 616 if (unlikely(user_va >= mlx5_imr_ksm_entries * MLX5_IMR_MTT_SIZE || in pagefault_implicit_mr() 617 mlx5_imr_ksm_entries * MLX5_IMR_MTT_SIZE - user_va < bcnt)) in pagefault_implicit_mr() 622 unsigned long idx = user_va >> MLX5_IMR_MTT_SHIFT; in pagefault_implicit_mr() 644 len = min_t(u64, user_va + bcnt, ib_umem_end(umem_odp)) - in pagefault_implicit_mr() [all …]
|