Lines Matching refs:uptr
109 unsigned long uptr, unsigned long length)
111 unsigned long page_offset = uptr % PAGE_SIZE;
123 * Keep alignment present in the uptr when building the IOVA, this
126 if (!uptr)
131 1UL << __ffs64(uptr));
263 (uintptr_t)elm->pages->uptr + elm->start_byte, length);
384 * @uptr: User VA to map
389 * iova, uptr, and length must be aligned to iova_alignment. For domain backed
398 unsigned long *iova, void __user *uptr,
406 elm.pages = iopt_alloc_pages(uptr, length, iommu_prot & IOMMU_WRITE);
412 elm.start_byte = uptr - elm.pages->uptr;