Lines Matching defs:hat
70 struct hat *ht_hat; /* hat this mapping comes from */
77 /* never used for kernel hat */
100 * hat we include the value of hat pointer in the hash function so
104 #define HTABLE_HASH(hat, va, lvl) \
106 ((uintptr_t)(hat) >> 4)) & ((hat)->hat_num_hash - 1))
162 * to the virtual address "vaddr" in the "hat" at the given "level" of
169 * routines for this htable, since it's for the kernel hat itself.
174 extern htable_t *htable_lookup(struct hat *hat, uintptr_t vaddr, level_t level);
175 extern htable_t *htable_create(struct hat *hat, uintptr_t vaddr, level_t level,
183 * Code to free all remaining htables for a hat. Called after the hat is no
186 extern void htable_purge_hat(struct hat *hat);
193 extern htable_t *htable_getpte(struct hat *, uintptr_t, uint_t *, x86pte_t *,
200 extern htable_t *htable_getpage(struct hat *hat, uintptr_t va, uint_t *entry);
215 * return number of bytes mapped by all the htables in a given hat
217 extern size_t htable_mapped(struct hat *);
223 extern void htable_attach(struct hat *, uintptr_t, level_t, struct htable *,
236 * pte = htable_walk(hat, &ht, &va, end_va);
248 extern x86pte_t htable_walk(struct hat *hat, htable_t **ht, uintptr_t *va,