Lines Matching refs:hat

47  * and feed back into those two hat variables at hat initialization time,
68 * hat's disable_large_pages and disable_ism_large_pages variables.
69 * Currently the hat's disable_large_pages and disable_ism_large_pages
113 * sfmmu_pgsz[0] and sfmmu_pgsz[1], since these hat variables are used in
246 * sorted from largest to smallest #pages per pagesize in use by the hat code,
256 mmu_fixup_large_pages(struct hat *hat, uint64_t *ttecnt, uint8_t *tmp_pgsz)
263 * Don't program 2nd dtlb for kernel and ism hat
265 ASSERT(hat->sfmmu_ismhat == 0);
266 ASSERT(hat != ksfmmup);
269 ASSERT(!SFMMU_TTEFLAGS_ISSET(hat, HAT_32M_FLAG) ||
270 !SFMMU_TTEFLAGS_ISSET(hat, HAT_256M_FLAG));
271 ASSERT(!SFMMU_TTEFLAGS_ISSET(hat, HAT_256M_FLAG) ||
272 !SFMMU_TTEFLAGS_ISSET(hat, HAT_32M_FLAG));
273 ASSERT(!SFMMU_FLAGS_ISSET(hat, HAT_32M_ISM) ||
274 !SFMMU_FLAGS_ISSET(hat, HAT_256M_ISM));
275 ASSERT(!SFMMU_FLAGS_ISSET(hat, HAT_256M_ISM) ||
276 !SFMMU_FLAGS_ISSET(hat, HAT_32M_ISM));
278 if (SFMMU_TTEFLAGS_ISSET(hat, HAT_32M_FLAG) ||
280 SFMMU_FLAGS_ISSET(hat, HAT_32M_ISM)) {
287 } else if (SFMMU_TTEFLAGS_ISSET(hat, HAT_256M_FLAG) ||
289 SFMMU_FLAGS_ISSET(hat, HAT_256M_ISM)) {
322 mmu_setup_page_sizes(struct hat *hat, uint64_t *ttecnt, uint8_t *tmp_pgsz)
327 * Don't program 2nd dtlb for kernel and ism hat
329 ASSERT(hat->sfmmu_ismhat == NULL);
330 ASSERT(hat != ksfmmup);
336 * hat->sfmmu_pgsz[] is an array whose elements
413 mmu_set_ctx_page_sizes(struct hat *hat)
418 ASSERT(sfmmu_hat_lock_held(hat));
419 ASSERT(hat != ksfmmup);
427 pgsz0 = hat->sfmmu_pgsz[0];
428 pgsz1 = hat->sfmmu_pgsz[1];
442 if (hat->sfmmu_cext != new_cext) {
450 ASSERT(hat->sfmmu_ctxs[i].cnum == INVALID_CONTEXT);
453 hat->sfmmu_cext = new_cext;
458 * rest of the chores reprogramming the hat->sfmmu_cext
570 mmu_init_kernel_pgsz(struct hat *hat)
583 hat->sfmmu_cext = new_cext_primary;