Lines Matching refs:ht
130 #define HTABLE_NUM_PTES(ht) (((ht)->ht_flags & HTABLE_VLP) ? 4 : 512) argument
132 #define HTABLE_LAST_PAGE(ht) \ argument
133 ((ht)->ht_level == mmu.max_level ? ((uintptr_t)0UL - MMU_PAGESIZE) :\
134 ((ht)->ht_vaddr - MMU_PAGESIZE + \
135 ((uintptr_t)HTABLE_NUM_PTES(ht) << LEVEL_SHIFT((ht)->ht_level))))
143 #define HTABLE_NUM_PTES(ht) \ argument
144 (!mmu.pae_hat ? 1024 : ((ht)->ht_level == 2 ? 4 : 512))
146 #define HTABLE_LAST_PAGE(ht) ((ht)->ht_vaddr - MMU_PAGESIZE + \ argument
147 ((uintptr_t)HTABLE_NUM_PTES(ht) << LEVEL_SHIFT((ht)->ht_level)))
179 extern void htable_release(htable_t *ht);
180 extern void htable_destroy(htable_t *ht);
248 extern x86pte_t htable_walk(struct hat *hat, htable_t **ht, uintptr_t *va,
256 extern uint_t htable_va2entry(uintptr_t va, htable_t *ht);
257 extern uintptr_t htable_e2va(htable_t *ht, uint_t entry);
276 extern x86pte_t x86pte_inval(htable_t *ht, uint_t entry,
279 extern x86pte_t x86pte_update(htable_t *ht, uint_t entry,
296 #define HTABLE_LOCK_INC(ht) atomic_inc_32(&(ht)->ht_lock_cnt) argument
297 #define HTABLE_LOCK_DEC(ht) atomic_dec_32(&(ht)->ht_lock_cnt) argument