Lines Matching refs:hashno

3702 	int hashno, size;  in sfmmu_shadow_hcleanup()  local
3716 hashno = size - 1; in sfmmu_shadow_hcleanup()
3717 ASSERT(hashno > 0); in sfmmu_shadow_hcleanup()
3720 sfmmu_free_hblks(sfmmup, addr, endaddr, hashno); in sfmmu_shadow_hcleanup()
3727 int hashno) in sfmmu_free_hblks() argument
3735 ASSERT(hashno > 0); in sfmmu_free_hblks()
3737 hblktag.htag_rehash = hashno; in sfmmu_free_hblks()
3740 hmeshift = HME_HASH_SHIFT(hashno); in sfmmu_free_hblks()
3967 int hmeshift, hashno = 1; in hat_unlock() local
3988 hmeshift = HME_HASH_SHIFT(hashno); in hat_unlock()
3990 hblktag.htag_rehash = hashno; in hat_unlock()
4012 hashno = 1; in hat_unlock()
4017 if (!HME_REHASH(sfmmup) || (hashno >= mmu_hashcnt)) { in hat_unlock()
4026 hashno++; in hat_unlock()
4324 int hmeshift, hashno; in hat_add_callback() local
4367 for (hashno = TTE64K, hmeblkp = NULL; in hat_add_callback()
4368 hmeblkp == NULL && hashno <= mmu_hashcnt; in hat_add_callback()
4369 hashno++) { in hat_add_callback()
4370 hmeshift = HME_HASH_SHIFT(hashno); in hat_add_callback()
4374 hblktag.htag_rehash = hashno; in hat_add_callback()
4553 int hmeshift, hashno; in hat_delete_callback() local
4575 for (hashno = TTE64K, hmeblkp = NULL; in hat_delete_callback()
4576 hmeblkp == NULL && hashno <= mmu_hashcnt; in hat_delete_callback()
4577 hashno++) { in hat_delete_callback()
4578 hmeshift = HME_HASH_SHIFT(hashno); in hat_delete_callback()
4582 hblktag.htag_rehash = hashno; in hat_delete_callback()
4911 int hmeshift, hashno = 1; in sfmmu_chgattr() local
4935 hmeshift = HME_HASH_SHIFT(hashno); in sfmmu_chgattr()
4937 hblktag.htag_rehash = hashno; in sfmmu_chgattr()
4951 ASSERT(hashno > 1); in sfmmu_chgattr()
4953 TTEBYTES(hashno - 1)); in sfmmu_chgattr()
4959 hashno = 1; in sfmmu_chgattr()
4964 if (!HME_REHASH(sfmmup) || (hashno >= mmu_hashcnt)) { in sfmmu_chgattr()
4979 TTEBYTES(hashno)); in sfmmu_chgattr()
4980 hashno = 1; in sfmmu_chgattr()
4982 hashno++; in sfmmu_chgattr()
5240 int hmeshift, hashno = 1; in hat_chgprot() local
5276 hmeshift = HME_HASH_SHIFT(hashno); in hat_chgprot()
5278 hblktag.htag_rehash = hashno; in hat_chgprot()
5292 ASSERT(hashno > 1); in hat_chgprot()
5294 TTEBYTES(hashno - 1)); in hat_chgprot()
5300 hashno = 1; in hat_chgprot()
5305 if (!HME_REHASH(sfmmup) || (hashno >= mmu_hashcnt)) { in hat_chgprot()
5319 TTEBYTES(hashno)); in hat_chgprot()
5320 hashno = 1; in hat_chgprot()
5322 hashno++; in hat_chgprot()
5685 int hmeshift, hashno, iskernel; in hat_unload_callback() local
5767 hashno = TTE64K; in hat_unload_callback()
5771 hashno = TTE256M; in hat_unload_callback()
5773 hashno = TTE4M; in hat_unload_callback()
5777 hmeshift = HME_HASH_SHIFT(hashno); in hat_unload_callback()
5779 hblktag.htag_rehash = hashno; in hat_unload_callback()
5792 if (hashno < mmu_hashcnt) { in hat_unload_callback()
5793 hashno++; in hat_unload_callback()
5796 hashno = TTE64K; in hat_unload_callback()
5805 ASSERT(hashno == TTE64K); in hat_unload_callback()
5809 hashno = TTE512K; in hat_unload_callback()
5814 hashno = TTE4M; in hat_unload_callback()
5818 hashno = TTE32M; in hat_unload_callback()
5821 hashno = TTE256M; in hat_unload_callback()
5824 hashno = TTE4M; in hat_unload_callback()
5849 hashno = TTE64K; in hat_unload_callback()
5853 ASSERT(hashno == TTE64K); in hat_unload_callback()
5857 hashno = TTE512K; in hat_unload_callback()
5862 hashno = TTE4M; in hat_unload_callback()
5866 hashno = TTE32M; in hat_unload_callback()
5869 hashno = TTE256M; in hat_unload_callback()
5872 hashno = TTE4M; in hat_unload_callback()
5883 hashno--; in hat_unload_callback()
5932 hashno = TTE64K; in hat_unload_callback()
5936 ASSERT(hashno == TTE64K); in hat_unload_callback()
5940 hashno = TTE512K; in hat_unload_callback()
5945 hashno = TTE4M; in hat_unload_callback()
5949 hashno = TTE32M; in hat_unload_callback()
5952 hashno = TTE256M; in hat_unload_callback()
5954 hashno = TTE4M; in hat_unload_callback()
6324 int hmeshift, hashno = 1; in hat_sync() local
6350 hmeshift = HME_HASH_SHIFT(hashno); in hat_sync()
6352 hblktag.htag_rehash = hashno; in hat_sync()
6366 ASSERT(hashno > 1); in hat_sync()
6368 TTEBYTES(hashno - 1)); in hat_sync()
6374 hashno = 1; in hat_sync()
6379 if (!HME_REHASH(sfmmup) || (hashno >= mmu_hashcnt)) { in hat_sync()
6393 TTEBYTES(hashno)); in hat_sync()
6394 hashno = 1; in hat_sync()
6396 hashno++; in hat_sync()
8014 int hmeshift, hashno = 1; in sfmmu_uvatopfn() local
8067 hmeshift = HME_HASH_SHIFT(hashno); in sfmmu_uvatopfn()
8069 hblktag.htag_rehash = hashno; in sfmmu_uvatopfn()
8087 hashno++; in sfmmu_uvatopfn()
8088 } while (HME_REHASH(sfmmup) && (hashno <= mmu_hashcnt)); in sfmmu_uvatopfn()
8097 hashno = 1; in sfmmu_uvatopfn()
8099 hmeshift = HME_HASH_SHIFT(hashno); in sfmmu_uvatopfn()
8101 hblktag.htag_rehash = hashno; in sfmmu_uvatopfn()
8153 hashno++; in sfmmu_uvatopfn()
8154 } while (hashno <= mmu_hashcnt); in sfmmu_uvatopfn()