Lines Matching defs:pgsize
1637 size_t pgsize;
1664 pgsize = LEVEL_SIZE(level);
1668 if (!IS_P2ALIGNED(va, pgsize) ||
1669 (eaddr - va) < pgsize ||
1670 !IS_P2ALIGNED(pfn_to_pa(pfn), pgsize))
1681 for (i = 0; i < mmu_btop(pgsize); ++i) {
1690 if (i == mmu_btop(pgsize)) {
1710 pgsize = LEVEL_SIZE(level);
1716 va += pgsize;
1717 pgindx += mmu_btop(pgsize);
1773 size_t pgsize;
1794 pgsize = LEVEL_SIZE(level);
1797 if (IS_P2ALIGNED(va, pgsize) &&
1798 (eva - va) >= pgsize &&
1799 IS_P2ALIGNED(pfn, mmu_btop(pgsize))) {
1853 pgsize = LEVEL_SIZE(level);
1859 va += pgsize;
1860 pfn += mmu_btop(pgsize);