Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dodp.c163 struct ib_umem_odp *odp = to_ib_umem_odp(mr->umem); in populate_mtt() local
171 pa = odp->dma_list[idx + i]; in populate_mtt()
188 struct ib_umem_odp *odp = to_ib_umem_odp(mr->umem); in dma_fence_odp_mr() local
191 mutex_lock(&odp->umem_mutex); in dma_fence_odp_mr()
192 if (odp->npages) { in dma_fence_odp_mr()
194 ib_umem_odp_unmap_dma_pages(odp, ib_umem_start(odp), in dma_fence_odp_mr()
195 ib_umem_end(odp)); in dma_fence_odp_mr()
196 WARN_ON(odp->npages); in dma_fence_odp_mr()
198 odp->private = NULL; in dma_fence_odp_mr()
199 mutex_unlock(&odp->umem_mutex); in dma_fence_odp_mr()
[all …]
DMakefile23 mlx5_ib-$(CONFIG_INFINIBAND_ON_DEMAND_PAGING) += odp.o
Dmr.c884 struct ib_umem_odp *odp; in mr_umem_get() local
886 odp = ib_umem_odp_get(&dev->ib_dev, start, length, access_flags, in mr_umem_get()
888 if (IS_ERR(odp)) { in mr_umem_get()
890 PTR_ERR(odp)); in mr_umem_get()
891 return PTR_ERR(odp); in mr_umem_get()
894 u = &odp->umem; in mr_umem_get()
896 *page_shift = odp->page_shift; in mr_umem_get()
897 *ncont = ib_umem_odp_num_pages(odp); in mr_umem_get()
1088 struct ib_umem_odp *odp = to_ib_umem_odp(mr->umem); in mlx5_ib_update_xlt() local
1089 size_t max_pages = ib_umem_odp_num_pages(odp) - idx; in mlx5_ib_update_xlt()
/kernel/linux/linux-5.10/net/rds/
Dib_mr.h81 u8 odp:1; member
Dib_rdma.c223 if (ibmr->odp) in rds_ib_sync_mr()
492 if (ibmr->odp) { in rds_ib_free_mr()
599 ibmr->odp = 1; in rds_ib_get_mr()