Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/mlx5/
H A Dodp.c666 u64 user_va, size_t bcnt, u32 *bytes_mapped, in pagefault_real_mr() argument
680 start_idx = (user_va - ib_umem_start(odp)) >> page_shift; in pagefault_real_mr()
686 np = ib_umem_odp_map_dma_and_lock(odp, user_va, bcnt, access_mask, fault); in pagefault_real_mr()
706 (user_va - round_down(user_va, 1 << page_shift)); in pagefault_real_mr()
718 struct ib_umem_odp *odp_imr, u64 user_va, in pagefault_implicit_mr() argument
721 unsigned long end_idx = (user_va + bcnt - 1) >> MLX5_IMR_MTT_SHIFT; in pagefault_implicit_mr()
728 if (unlikely(user_va >= mlx5_imr_ksm_entries * MLX5_IMR_MTT_SIZE || in pagefault_implicit_mr()
729 mlx5_imr_ksm_entries * MLX5_IMR_MTT_SIZE - user_va < bcnt)) in pagefault_implicit_mr()
734 unsigned long idx = user_va >> MLX5_IMR_MTT_SHIFT; in pagefault_implicit_mr()
756 len = min_t(u64, user_va + bcnt, ib_umem_end(umem_odp)) - in pagefault_implicit_mr()
[all …]
/linux/include/uapi/linux/
H A Diommufd.h210 __aligned_u64 user_va; member
/linux/drivers/iommu/iommufd/
H A Dioas.c227 u64_to_user_ptr(cmd->user_va), cmd->length, in iommufd_ioas_map()
/linux/tools/testing/selftests/iommu/
H A Diommufd_utils.h499 .user_va = (uintptr_t)buffer, in _test_ioctl_ioas_map()