Searched refs:TTEBYTES (Results 1 – 13 of 13) sorted by relevance
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | pte.h | 114 #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 D | us3_common_mmu.c | 618 if (lpsize == TTEBYTES(p_lpgsz->tte) && in mmu_get_kernel_lpsize() 636 lpsize = TTEBYTES(tte); in mmu_get_kernel_lpsize()
|
H A D | opl_olympus.c | 2210 if (lpsize == TTEBYTES(tte)) 2214 return (TTEBYTES(TTE8K));
|
H A D | spitfire.c | 4512 if (lpsize == TTEBYTES(tte)) in mmu_get_kernel_lpsize() 4516 return (TTEBYTES(TTE8K)); in mmu_get_kernel_lpsize()
|
H A D | us3_common.c | 836 claimlines(paddr, TTEBYTES(TTE_CSZ(&tsbe_tte)), in mondo_recover_proc()
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | pte.h | 141 #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 D | machdep.c | 181 TTEBYTES(utp->tte.tte_size)); in restore_tlb()
|
/illumos-gate/usr/src/uts/sfmmu/vm/ |
H A D | hat_sfmmu.c | 2953 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 D | hat_sfmmu.h | 1411 ((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 D | mach_vm_dep.c | 404 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 D | mpo.c | 195 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 D | startup.c | 784 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 D | sfmmu.c | 413 psize = TTEBYTES(pszc); in sfmmu_map_prom_mappings()
|