Home
last modified time | relevance | path

Searched refs:lowbit (Results 1 – 25 of 34) sorted by relevance

12

/titanic_50/usr/src/lib/libumem/common/
H A Dmisc.h60 int lowbit(ulong_t);
61 #pragma no_side_effect(highbit, lowbit)
H A Dmisc.c136 lowbit(ulong_t i) in lowbit() function
H A Dvmem.c880 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_xalloc()
887 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_xalloc()
905 flist = lowbit(P2ALIGN(vmp->vm_freemap, in vmem_xalloc()
1099 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_alloc()
1101 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_alloc()
/titanic_50/usr/src/cmd/csh/
H A Dprintf.c167 int n, hradix, lowbit; in _print() local
396 lowbit = val & 1; in _print()
398 *--bp = tab[val % hradix * 2 + lowbit]; in _print()
/titanic_50/usr/src/uts/intel/asm/
H A Dbitmap.h65 lowbit(ulong_t i) in lowbit() function
/titanic_50/usr/src/uts/sparc/os/
H A Dbitmap_arch.c110 lowbit(ulong_t i) in lowbit() function
/titanic_50/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_conf.c710 int lowbit; local
715 while ((lowbit = find_low_bit(newblk, 0)) != 32) {
717 highbit = lowbit;
/titanic_50/usr/src/uts/common/os/
H A Dbitmap.c231 return ((counter << BT_ULSHIFT) | (lowbit(word) - 1)); in bt_getlowbit()
H A Dvmem.c924 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_canalloc()
926 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_canalloc()
997 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_xalloc()
1004 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_xalloc()
1022 flist = lowbit(P2ALIGN(vmp->vm_freemap, in vmem_xalloc()
1293 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_alloc()
1295 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_alloc()
H A Dbitset.c243 elt = (uint_t)(lowbit(rotated_word) - 1); in bitset_find_in_word()
/titanic_50/usr/src/uts/common/sys/
H A Dbitmap.h158 extern int lowbit(ulong_t);
H A Dcpuvar.h516 cpu = (uint_t)(lowbit(set) - 1); \
520 smallest = (uint_t)(lowbit(set) - 1); \
/titanic_50/usr/src/uts/sun4u/cpu/
H A Dus3_cheetah.c294 lo = lowbit(cpus_left) - 1; in send_mondo_set()
343 lo = lowbit(curnack) - 1; in send_mondo_set()
H A Dus3_cheetahplus.c301 lo = lowbit(cpus_left) - 1; in send_mondo_set()
350 lo = lowbit(curnack) - 1; in send_mondo_set()
H A Dus3_jalapeno.c288 lo = lowbit(curnack) - 1; in send_mondo_set()
/titanic_50/usr/src/uts/sun4v/cpu/
H A Dniagara2.c699 lo = lowbit(id); in page_coloring_init_cpu()
724 uint_t sv_a = lowbit(colorequiv) - 1; in page_set_colorequiv_arr_cpu()
/titanic_50/usr/src/uts/sun4/vm/
H A Dvm_dep.c966 a = lowbit(page_colors) - lowbit(cpu_page_colors); in page_coloring_init()
/titanic_50/usr/src/uts/i86pc/i86hvm/io/xpv/
H A Devtchn.c269 j = lowbit(pending_word) - 1; in evtchn_callback_fcn()
/titanic_50/usr/src/ucblib/libucb/port/stdio/
H A Ddoprnt.c132 int lowbit = (int)(*valptr & 1); in _lowdigit() local
136 return ((int)(value % 5 * 2 + lowbit + '0')); in _lowdigit()
/titanic_50/usr/src/uts/sun4v/vm/
H A Dmach_sfmmu.c443 tdp->hvtsb_idxpgsz = lowbit(tsbinfop->tsb_ttesz_mask) - 1; in sfmmu_setup_tsbinfo()
/titanic_50/usr/src/lib/libc/port/print/
H A Ddoprnt.c244 ssize_t lowbit = *valptr & 1; in _lowdigit() local
248 value = value % 5 * 2 + lowbit + '0'; in _lowdigit()
255 ssize_t lowbit = *valptr & 1; in _lowlldigit() local
258 value = value % 5 * 2 + lowbit + '0'; in _lowlldigit()
/titanic_50/usr/src/uts/common/io/kbtrans/
H A Dkbtrans_streams.c1248 int lowbit; in kbtrans_strsetwithdecimal() local
1254 lowbit = val & 1; in kbtrans_strsetwithdecimal()
1256 *(--bp) = tab[val % hradix * 2 + lowbit]; in kbtrans_strsetwithdecimal()
/titanic_50/usr/src/uts/common/io/
H A Dkbd.c2196 int lowbit; in strsetwithdecimal() local
2202 lowbit = val & 1; in strsetwithdecimal()
2204 *(--bp) = tab[val % hradix * 2 + lowbit]; in strsetwithdecimal()
/titanic_50/usr/src/uts/i86pc/vm/
H A Dvm_machdep.c1741 page_coloring_shift = lowbit(CPUSETSIZE()); in page_coloring_init()
1760 int a = lowbit(page_colors) - lowbit(cpu_page_colors); in page_coloring_init()
1781 int a = lowbit(colorequiv) - 1; in page_coloring_init()
/titanic_50/usr/src/uts/intel/ia32/ml/
H A Di86_subr.s2796 lowbit(ulong_t i)
2803 ENTRY(lowbit)
2809 SET_SIZE(lowbit)
2813 ENTRY(lowbit)
2821 SET_SIZE(lowbit)

12