Lines Matching refs:umem_odp
53 static inline unsigned long ib_umem_start(struct ib_umem_odp *umem_odp) in ib_umem_start() argument
55 return umem_odp->notifier.interval_tree.start; in ib_umem_start()
59 static inline unsigned long ib_umem_end(struct ib_umem_odp *umem_odp) in ib_umem_end() argument
61 return umem_odp->notifier.interval_tree.last + 1; in ib_umem_end()
64 static inline size_t ib_umem_odp_num_pages(struct ib_umem_odp *umem_odp) in ib_umem_odp_num_pages() argument
66 return (ib_umem_end(umem_odp) - ib_umem_start(umem_odp)) >> in ib_umem_odp_num_pages()
67 umem_odp->page_shift; in ib_umem_odp_num_pages()
94 void ib_umem_odp_release(struct ib_umem_odp *umem_odp);
96 int ib_umem_odp_map_dma_and_lock(struct ib_umem_odp *umem_odp, u64 start_offset,
99 void ib_umem_odp_unmap_dma_pages(struct ib_umem_odp *umem_odp, u64 start_offset,
111 static inline void ib_umem_odp_release(struct ib_umem_odp *umem_odp) {} in ib_umem_odp_release() argument