Lines Matching defs:hat
733 * into those two hat variables at hat initialization time.
792 * hat's disable_large_pages, disable_ism_large_pages, and
869 mmu_setup_page_sizes(struct hat *hat, uint64_t *ttecnt, uint8_t *tmp_pgsz)
874 * Don't program 2nd dtlb for kernel and ism hat
876 ASSERT(hat->sfmmu_ismhat == NULL);
877 ASSERT(hat != ksfmmup);
880 * hat->sfmmu_pgsz[] is an array whose elements
918 mmu_set_ctx_page_sizes(struct hat *hat)
923 ASSERT(sfmmu_hat_lock_held(hat));
925 * Don't program 2nd dtlb for kernel and ism hat
927 if (hat->sfmmu_ismhat || hat == ksfmmup)
933 if (hat->sfmmu_scdp != NULL) {
934 new_cext = hat->sfmmu_scdp->scd_sfmmup->sfmmu_cext;
937 pgsz0 = hat->sfmmu_pgsz[0];
938 pgsz1 = hat->sfmmu_pgsz[1];
943 if (hat->sfmmu_cext != new_cext) {
951 ASSERT(hat->sfmmu_ctxs[i].cnum == INVALID_CONTEXT);
954 hat->sfmmu_cext = new_cext;
2177 mmu_init_kernel_pgsz(struct hat *hat)
2194 hat->sfmmu_cext = new_cext_primary;