Lines Matching refs:hashno

3673 	int hashno, size;  in sfmmu_shadow_hcleanup()  local
3687 hashno = size - 1; in sfmmu_shadow_hcleanup()
3688 ASSERT(hashno > 0); in sfmmu_shadow_hcleanup()
3691 sfmmu_free_hblks(sfmmup, addr, endaddr, hashno); in sfmmu_shadow_hcleanup()
3698 int hashno) in sfmmu_free_hblks() argument
3706 ASSERT(hashno > 0); in sfmmu_free_hblks()
3708 hblktag.htag_rehash = hashno; in sfmmu_free_hblks()
3711 hmeshift = HME_HASH_SHIFT(hashno); in sfmmu_free_hblks()
3938 int hmeshift, hashno = 1; in hat_unlock() local
3958 hmeshift = HME_HASH_SHIFT(hashno); in hat_unlock()
3960 hblktag.htag_rehash = hashno; in hat_unlock()
3982 hashno = 1; in hat_unlock()
3987 if (!HME_REHASH(sfmmup) || (hashno >= mmu_hashcnt)) { in hat_unlock()
3996 hashno++; in hat_unlock()
4293 int hmeshift, hashno; in hat_add_callback() local
4336 for (hashno = TTE64K, hmeblkp = NULL; in hat_add_callback()
4337 hmeblkp == NULL && hashno <= mmu_hashcnt; in hat_add_callback()
4338 hashno++) { in hat_add_callback()
4339 hmeshift = HME_HASH_SHIFT(hashno); in hat_add_callback()
4343 hblktag.htag_rehash = hashno; in hat_add_callback()
4523 int hmeshift, hashno; in hat_delete_callback() local
4545 for (hashno = TTE64K, hmeblkp = NULL; in hat_delete_callback()
4546 hmeblkp == NULL && hashno <= mmu_hashcnt; in hat_delete_callback()
4547 hashno++) { in hat_delete_callback()
4548 hmeshift = HME_HASH_SHIFT(hashno); in hat_delete_callback()
4552 hblktag.htag_rehash = hashno; in hat_delete_callback()
4842 int hmeshift, hashno = 1; in sfmmu_chgattr() local
4866 hmeshift = HME_HASH_SHIFT(hashno); in sfmmu_chgattr()
4868 hblktag.htag_rehash = hashno; in sfmmu_chgattr()
4882 ASSERT(hashno > 1); in sfmmu_chgattr()
4884 TTEBYTES(hashno - 1)); in sfmmu_chgattr()
4890 hashno = 1; in sfmmu_chgattr()
4895 if (!HME_REHASH(sfmmup) || (hashno >= mmu_hashcnt)) { in sfmmu_chgattr()
4910 TTEBYTES(hashno)); in sfmmu_chgattr()
4911 hashno = 1; in sfmmu_chgattr()
4913 hashno++; in sfmmu_chgattr()
5171 int hmeshift, hashno = 1; in hat_chgprot() local
5195 hmeshift = HME_HASH_SHIFT(hashno); in hat_chgprot()
5197 hblktag.htag_rehash = hashno; in hat_chgprot()
5211 ASSERT(hashno > 1); in hat_chgprot()
5213 TTEBYTES(hashno - 1)); in hat_chgprot()
5219 hashno = 1; in hat_chgprot()
5224 if (!HME_REHASH(sfmmup) || (hashno >= mmu_hashcnt)) { in hat_chgprot()
5238 TTEBYTES(hashno)); in hat_chgprot()
5239 hashno = 1; in hat_chgprot()
5241 hashno++; in hat_chgprot()
5596 int hmeshift, hashno, iskernel; in hat_unload_callback() local
5665 hashno = TTE64K; in hat_unload_callback()
5669 hashno = TTE256M; in hat_unload_callback()
5671 hashno = TTE4M; in hat_unload_callback()
5675 hmeshift = HME_HASH_SHIFT(hashno); in hat_unload_callback()
5677 hblktag.htag_rehash = hashno; in hat_unload_callback()
5690 if (hashno < mmu_hashcnt) { in hat_unload_callback()
5691 hashno++; in hat_unload_callback()
5694 hashno = TTE64K; in hat_unload_callback()
5703 ASSERT(hashno == TTE64K); in hat_unload_callback()
5707 hashno = TTE512K; in hat_unload_callback()
5712 hashno = TTE4M; in hat_unload_callback()
5716 hashno = TTE32M; in hat_unload_callback()
5719 hashno = TTE256M; in hat_unload_callback()
5722 hashno = TTE4M; in hat_unload_callback()
5747 hashno = TTE64K; in hat_unload_callback()
5751 ASSERT(hashno == TTE64K); in hat_unload_callback()
5755 hashno = TTE512K; in hat_unload_callback()
5760 hashno = TTE4M; in hat_unload_callback()
5764 hashno = TTE32M; in hat_unload_callback()
5767 hashno = TTE256M; in hat_unload_callback()
5770 hashno = TTE4M; in hat_unload_callback()
5781 hashno--; in hat_unload_callback()
5830 hashno = TTE64K; in hat_unload_callback()
5834 ASSERT(hashno == TTE64K); in hat_unload_callback()
5838 hashno = TTE512K; in hat_unload_callback()
5843 hashno = TTE4M; in hat_unload_callback()
5847 hashno = TTE32M; in hat_unload_callback()
5850 hashno = TTE256M; in hat_unload_callback()
5852 hashno = TTE4M; in hat_unload_callback()
6218 int hmeshift, hashno = 1; in hat_sync() local
6243 hmeshift = HME_HASH_SHIFT(hashno); in hat_sync()
6245 hblktag.htag_rehash = hashno; in hat_sync()
6259 ASSERT(hashno > 1); in hat_sync()
6261 TTEBYTES(hashno - 1)); in hat_sync()
6267 hashno = 1; in hat_sync()
6272 if (!HME_REHASH(sfmmup) || (hashno >= mmu_hashcnt)) { in hat_sync()
6286 TTEBYTES(hashno)); in hat_sync()
6287 hashno = 1; in hat_sync()
6289 hashno++; in hat_sync()
7873 int hmeshift, hashno = 1; in sfmmu_uvatopfn() local
7926 hmeshift = HME_HASH_SHIFT(hashno); in sfmmu_uvatopfn()
7928 hblktag.htag_rehash = hashno; in sfmmu_uvatopfn()
7946 hashno++; in sfmmu_uvatopfn()
7947 } while (HME_REHASH(sfmmup) && (hashno <= mmu_hashcnt)); in sfmmu_uvatopfn()
7956 hashno = 1; in sfmmu_uvatopfn()
7958 hmeshift = HME_HASH_SHIFT(hashno); in sfmmu_uvatopfn()
7960 hblktag.htag_rehash = hashno; in sfmmu_uvatopfn()
8012 hashno++; in sfmmu_uvatopfn()
8013 } while (hashno <= mmu_hashcnt); in sfmmu_uvatopfn()