Lines Matching refs:tmp_pgsz
245 * The tmp_pgsz array comes into this routine in sorted order, as it is
256 mmu_fixup_large_pages(struct hat *hat, uint64_t *ttecnt, uint8_t *tmp_pgsz)
258 uint_t pgsz0 = tmp_pgsz[0];
259 uint_t pgsz1 = tmp_pgsz[1];
313 tmp_pgsz[0] = pgsz0;
314 tmp_pgsz[1] = pgsz1;
322 mmu_setup_page_sizes(struct hat *hat, uint64_t *ttecnt, uint8_t *tmp_pgsz)
375 if ((tmp_pgsz[1] == TTE512K) || (tmp_pgsz[1] == TTE4M)) {
376 if ((tmp_pgsz[0] != TTE512K) &&
377 (tmp_pgsz[0] != TTE4M)) {
378 pgsz1 = tmp_pgsz[0];
379 pgsz0 = tmp_pgsz[1];
381 pgsz0 = tmp_pgsz[0];
385 pgsz0 = tmp_pgsz[0];
386 pgsz1 = tmp_pgsz[1];
389 pgsz0 = MIN(tmp_pgsz[0], tmp_pgsz[1]);
390 pgsz1 = MAX(tmp_pgsz[0], tmp_pgsz[1]);
401 tmp_pgsz[0] = pgsz0;
402 tmp_pgsz[1] = pgsz1;
476 uint8_t tmp_pgsz[MMU_PAGE_SIZES];
496 tmp_pgsz[j] = max;
510 mmu_fixup_large_pages(sfmmup, ttecnt, tmp_pgsz);
513 mmu_setup_page_sizes(sfmmup, ttecnt, tmp_pgsz);
515 newval = tmp_pgsz[0] << 8 | tmp_pgsz[1];
517 sfmmu_reprog_pgsz_arr(sfmmup, tmp_pgsz);