Lines Matching refs:uptr
110 unsigned long uptr, unsigned long length)
112 unsigned long page_offset = uptr % PAGE_SIZE;
124 * Keep alignment present in the uptr when building the IOVA, this
127 if (!uptr)
132 1UL << __ffs64(uptr));
264 (uintptr_t)elm->pages->uptr + elm->start_byte, length);
385 * @uptr: User VA to map
390 * iova, uptr, and length must be aligned to iova_alignment. For domain backed
399 unsigned long *iova, void __user *uptr,
407 elm.pages = iopt_alloc_pages(uptr, length, iommu_prot & IOMMU_WRITE);
413 elm.start_byte = uptr - elm.pages->uptr;