Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mlx5/
Dodp.c552 u64 user_va, size_t bcnt, u32 *bytes_mapped, in pagefault_real_mr() argument
566 start_idx = (user_va - ib_umem_start(odp)) >> page_shift; in pagefault_real_mr()
572 np = ib_umem_odp_map_dma_and_lock(odp, user_va, bcnt, access_mask, fault); in pagefault_real_mr()
592 (user_va - round_down(user_va, 1 << page_shift)); in pagefault_real_mr()
604 struct ib_umem_odp *odp_imr, u64 user_va, in pagefault_implicit_mr() argument
607 unsigned long end_idx = (user_va + bcnt - 1) >> MLX5_IMR_MTT_SHIFT; in pagefault_implicit_mr()
614 if (unlikely(user_va >= mlx5_imr_ksm_entries * MLX5_IMR_MTT_SIZE || in pagefault_implicit_mr()
615 mlx5_imr_ksm_entries * MLX5_IMR_MTT_SIZE - user_va < bcnt)) in pagefault_implicit_mr()
620 unsigned long idx = user_va >> MLX5_IMR_MTT_SHIFT; in pagefault_implicit_mr()
642 len = min_t(u64, user_va + bcnt, ib_umem_end(umem_odp)) - in pagefault_implicit_mr()
[all …]