Home
last modified time | relevance | path

Searched refs:uhmehash_num (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/sun4/vm/
H A Dsfmmu.c866 uhmehash_num = (int)MIN(hme_buckets, MAX_UHME_BUCKETS); in calc_hmehash_sz()
868 if (uhmehash_num > USER_BUCKETS_THRESHOLD) { in calc_hmehash_sz()
873 uint_t align = 1 << (highbit(uhmehash_num - 1) - 1); in calc_hmehash_sz()
874 uhmehash_num = P2ALIGN(uhmehash_num, align); in calc_hmehash_sz()
876 uhmehash_num = 1 << highbit(uhmehash_num - 1); in calc_hmehash_sz()
883 return ((uhmehash_num + khmehash_num) * sizeof (struct hmehash_bucket)); in calc_hmehash_sz()
896 uhmehash_sz = uhmehash_num * sizeof (struct hmehash_bucket); in alloc_hmehash()
/illumos-gate/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.h1492 #define UHMEHASH_SZ uhmehash_num
2344 extern int uhmehash_num;
H A Dhat_sfmmu.c563 int uhmehash_num; /* # of buckets in user hash table */ variable
1081 for (i = 0; i < uhmehash_num; i++) { in hat_init()
1087 uhmehash_num--; /* make sure counter starts from 0 */ in hat_init()
13015 tsbmissp->uhashsz = uhmehash_num; in sfmmu_init_tsbs()
/illumos-gate/usr/src/uts/sun4/os/
H A Dstartup.c2948 extern int khmehash_num, uhmehash_num; in create_va_to_tte()