Searched refs:LEVEL_MASK (Results 1 – 5 of 5) sorted by relevance
138 ((va & LEVEL_MASK(l)) + LEVEL_SIZE(l) == mmu.hole_start ? \139 mmu.hole_end : (va & LEVEL_MASK(l)) + LEVEL_SIZE(l))149 #define NEXT_ENTRY_VA(va, l) ((va & LEVEL_MASK(l)) + LEVEL_SIZE(l))
206 map_addr = base & LEVEL_MASK(1); in hat_kmap_init()207 map_eaddr = (base + len + LEVEL_SIZE(1) - 1) & LEVEL_MASK(1); in hat_kmap_init()210 window_size = (window_size + LEVEL_SIZE(1)) & LEVEL_MASK(1); in hat_kmap_init()428 va = (va & LEVEL_MASK(l)) + LEVEL_SIZE(l); in hat_kern_alloc()
145 #define LEVEL_MASK(l) (mmu.level_mask[l]) macro
1288 base = vaddr & LEVEL_MASK(level + 1); in htable_lookup()1370 base = vaddr & LEVEL_MASK(l + 1); in htable_create()1599 uintptr_t va = *vap & LEVEL_MASK(l); in htable_scan()
479 va &= LEVEL_MASK(1); in hat_kernelbase()692 if ((_userlimit & LEVEL_MASK(1)) != _userlimit) { in hat_init()874 if ((va & LEVEL_MASK(2)) != va) { in hat_init_finish()3129 vaddr = (vaddr & LEVEL_MASK(l + 1)) + LEVEL_SIZE(l + 1)) { in hat_unshare()