Searched refs:highbit (Results 1 - 8 of 8) sorted by relevance

/osnet-11/usr/src/lib/libc/port/threads/
H A Dalloc.c149 * This highbit code is the same as the code in fls_impl().
155 int highbit = 1; local
162 highbit += 32, size >>= 32;
165 highbit += 16, size >>= 16;
167 highbit += 8, size >>= 8;
169 highbit += 4, size >>= 4;
171 highbit += 2, size >>= 2;
173 highbit += 1;
175 ASSERT(highbit > MINSHIFT);
176 return (highbit
[all...]
/osnet-11/usr/src/lib/libumem/common/
H A Dmisc.h68 int highbit(ulong_t);
70 #pragma no_side_effect(highbit, lowbit)
H A Dmisc.c106 highbit(ulong_t i) function
H A Dvmem.c303 vprev = (vmem_seg_t *)&vmp->vm_freelist[highbit(VS_SIZE(vsp)) - 1];
520 ASSERT(highbit(vs_size) == highbit(vs_size - realsize));
738 ASSERT(highbit(vs_size) == highbit(vs_size - realsize));
861 * highbit() returns the highest bit + 1, which is exactly
881 hb = highbit(size);
1098 else if ((hb = highbit(size)) < VMEM_FREELISTS)
1458 vmp->vm_qshift = highbit(quantum) - 1;
1473 vmp->vm_hash_shift = highbit(vm
[all...]
H A Dumem.c2155 1 << (highbit(3 * cp->cache_buftotal + 4) - 2));
2600 bestfit = MAX(1 << highbit(3 * vmp->vm_qcache_max), 64);
2639 cp->cache_hash_shift = highbit((ulong_t)chunksize) - 1;
/osnet-11/usr/src/lib/libzpool/common/
H A Dkernel.c726 highbit(ulong_t i) function
965 _pageshift = highbit(pagesize) - 1;
/osnet-11/usr/src/lib/libzpool/common/sys/
H A Dzfs_context.h534 extern int highbit(ulong_t i);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dpp.c967 register unsigned int highbit = 8 * sizeof(UV); local
971 while ((diff = (highbit - lowbit) >> 1)) {
975 highbit -= diff;
977 /* we now have baseuv < 2 ** highbit */
978 if (power * highbit <= 8 * sizeof(UV)) {

Completed in 452 milliseconds