Searched refs:pgsize_next (Results 1 – 2 of 2) sorted by relevance
42 size_t offset, pgsize, pgsize_next; in calc_pgsize() local67 pgsize_next = BIT(pgsize_idx_next); in calc_pgsize()73 if ((iova ^ paddr) & (pgsize_next - 1)) in calc_pgsize()77 offset = pgsize_next - (addr_merge & (pgsize_next - 1)); in calc_pgsize()83 if (offset + pgsize_next <= size) in calc_pgsize()
2393 size_t offset, pgsize, pgsize_next; in iommu_pgsize() local2418 pgsize_next = BIT(pgsize_idx_next); in iommu_pgsize()2424 if ((iova ^ paddr) & (pgsize_next - 1)) in iommu_pgsize()2428 offset = pgsize_next - (addr_merge & (pgsize_next - 1)); in iommu_pgsize()2434 if (offset + pgsize_next <= size) in iommu_pgsize()