Home
last modified time | relevance | path

Searched refs:TTEBYTES (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/sys/
H A Dpte.h114 #define TTEBYTES(sz) (MMU_PAGESIZE << TTE_BSZS_SHIFT(sz)) macro
117 #define TTE_PAGE_OFFSET(sz) (TTEBYTES(sz) - 1)
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dus3_common_mmu.c618 if (lpsize == TTEBYTES(p_lpgsz->tte) && in mmu_get_kernel_lpsize()
636 lpsize = TTEBYTES(tte); in mmu_get_kernel_lpsize()
H A Dopl_olympus.c2210 if (lpsize == TTEBYTES(tte))
2214 return (TTEBYTES(TTE8K));
H A Dspitfire.c4512 if (lpsize == TTEBYTES(tte)) in mmu_get_kernel_lpsize()
4516 return (TTEBYTES(TTE8K)); in mmu_get_kernel_lpsize()
H A Dus3_common.c836 claimlines(paddr, TTEBYTES(TTE_CSZ(&tsbe_tte)), in mondo_recover_proc()
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dpte.h141 #define TTEBYTES(sz) (MMU_PAGESIZE << TTE_BSZS_SHIFT(sz)) macro
144 #define TTE_PAGE_OFFSET(sz) (TTEBYTES(sz) - 1)
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dmachdep.c181 TTEBYTES(utp->tte.tte_size)); in restore_tlb()
/illumos-gate/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.c2953 SFMMU_VALIDATE_HMERID(sfmmup, rid, vaddr, TTEBYTES(size)); in sfmmu_tteload_find_hmeblk()
3111 SFMMU_VALIDATE_HMERID(sfmmup, rid, vaddr, TTEBYTES(size)); in sfmmu_tteload_addentry()
3881 ASSERT(IS_P2ALIGNED(rsaddr, TTEBYTES(ttesz))); in sfmmu_unload_hmeregion()
3882 ASSERT(IS_P2ALIGNED(rsz, TTEBYTES(ttesz))); in sfmmu_unload_hmeregion()
4037 ASSERT(IS_P2ALIGNED(addr, TTEBYTES(rgnp->rgn_pgszc))); in hat_unlock_region()
4038 ASSERT(IS_P2ALIGNED(len, TTEBYTES(rgnp->rgn_pgszc))); in hat_unlock_region()
4046 IS_P2ALIGNED(va, TTEBYTES(ttesz + 1))) { in hat_unlock_region()
4071 IS_P2ALIGNED((uintptr_t)va, TTEBYTES(ttesz))); in hat_unlock_region()
4118 if (((uintptr_t)addr + TTEBYTES(ttesz)) > in sfmmu_hblk_unlock()
4128 addr += TTEBYTES(ttesz); in sfmmu_hblk_unlock()
[all …]
H A Dhat_sfmmu.h1411 ((ttesz == TTE8K)? (TTEBYTES(ttesz) * NHMENTS) : TTEBYTES(ttesz))
1429 + (TTEBYTES(TTE_CSZ(&tte)) * (tte).tte_hmenum)))
1432 + (TTEBYTES(TTE_CSZ(ttep)) * ((ttep)->tte_hmenum + 1))))
/illumos-gate/usr/src/uts/sun4v/vm/
H A Dmach_vm_dep.c404 if (lpsize == TTEBYTES(tte)) in mmu_get_kernel_lpsize()
408 lpsize = TTEBYTES(TTE8K); in mmu_get_kernel_lpsize()
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmpo.c195 ASSERT(IS_P2ALIGNED(ptob(base), TTEBYTES(TTE256M))); \
196 ASSERT(IS_P2ALIGNED(ptob(end - base + 1), TTEBYTES(TTE256M))); \
1348 max_page_len = TTEBYTES(max_szc); in valid_pages()
1355 max_coalesce_len = TTEBYTES(TTE256M); in valid_pages()
/illumos-gate/usr/src/uts/sun4/os/
H A Dstartup.c784 ASSERT(IS_P2ALIGNED(base, TTEBYTES(max_bootlp_tteszc))); in alloc_kmem64()
793 alignsize = TTEBYTES(i); in alloc_kmem64()
/illumos-gate/usr/src/uts/sun4/vm/
H A Dsfmmu.c413 psize = TTEBYTES(pszc); in sfmmu_map_prom_mappings()