Lines Matching refs:hat
164 static struct hat *khat; /* value of kas.a_hat */
519 get_pte(hat_t *hat, htable_t *htable, uintptr_t addr) in get_pte() argument
524 uintptr_t ptr = (uintptr_t)hat->hat_copied_ptes; in get_pte()
543 struct hat *hatp; in do_va2pa()
544 struct hat hat; in do_va2pa() local
567 if (mdb_vread(&hat, sizeof (hat), (uintptr_t)hatp) == -1) { in do_va2pa()
576 if (level == TOP_LEVEL(&hat)) in do_va2pa()
581 for (h = 0; h < hat.hat_num_hash; ++h) { in do_va2pa()
583 (uintptr_t)(hat.hat_ht_hash + h)) == -1) { in do_va2pa()
598 pte = get_pte(&hat, &htable, addr); in do_va2pa()
696 struct hat *hatp; in do_report_maps()
697 struct hat hat; in do_report_maps() local
711 for (hatp = khat; hatp != NULL; hatp = hat.hat_next) { in do_report_maps()
715 if (mdb_vread(&hat, sizeof (hat), (uintptr_t)hatp) == -1) { in do_report_maps()
724 for (h = 0; h < hat.hat_num_hash; ++h) { in do_report_maps()
726 (uintptr_t)(hat.hat_ht_hash + h)) == -1) { in do_report_maps()
830 struct hat *hatp; in do_ptable_dcmd()
831 struct hat hat; in do_ptable_dcmd() local
845 for (hatp = khat; hatp != NULL; hatp = hat.hat_next) { in do_ptable_dcmd()
849 if (mdb_vread(&hat, sizeof (hat), (uintptr_t)hatp) == -1) { in do_ptable_dcmd()
858 for (h = 0; h < hat.hat_num_hash; ++h) { in do_ptable_dcmd()
860 (uintptr_t)(hat.hat_ht_hash + h)) == -1) { in do_ptable_dcmd()
958 struct hat hat; in do_htables_dcmd() local
966 if (mdb_vread(&hat, sizeof (hat), (uintptr_t)hatp) == -1) { in do_htables_dcmd()
974 for (h = 0; h < hat.hat_num_hash; ++h) { in do_htables_dcmd()
976 (uintptr_t)(hat.hat_ht_hash + h)) == -1) { in do_htables_dcmd()
999 hat_t *hat; in htables_dcmd() local
1009 hat = (hat_t *)addr; in htables_dcmd()
1011 return (do_htables_dcmd(hat)); in htables_dcmd()