Home
last modified time | relevance | path

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

12

/onnv-gate/usr/src/lib/libumem/common/
H A Dmisc.h69 int lowbit(ulong_t);
70 #pragma no_side_effect(highbit, lowbit)
H A Dmisc.c136 lowbit(ulong_t i) in lowbit() function
H A Dvmem.c879 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_xalloc()
886 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_xalloc()
904 flist = lowbit(P2ALIGN(vmp->vm_freemap, in vmem_xalloc()
1097 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_alloc()
1099 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_alloc()
/onnv-gate/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()
/onnv-gate/usr/src/uts/sparc/os/
H A Dbitmap_arch.c75 lowbit(ulong_t i) in lowbit() function
/onnv-gate/usr/src/uts/intel/asm/
H A Dbitmap.h64 lowbit(ulong_t i) in lowbit() function
/onnv-gate/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;
/onnv-gate/usr/src/uts/common/os/
H A Dbitmap.c231 return ((counter << BT_ULSHIFT) | (lowbit(word) - 1)); in bt_getlowbit()
H A Dvmem.c919 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_canalloc()
921 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_canalloc()
993 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_xalloc()
1000 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_xalloc()
1018 flist = lowbit(P2ALIGN(vmp->vm_freemap, in vmem_xalloc()
1274 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_alloc()
1276 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()
/onnv-gate/usr/src/uts/common/sys/
H A Dbitmap.h155 extern int lowbit(ulong_t);
H A Dcpuvar.h519 cpu = (uint_t)(lowbit(set) - 1); \
523 smallest = (uint_t)(lowbit(set) - 1); \
/onnv-gate/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()
/onnv-gate/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()
/onnv-gate/usr/src/uts/sun4/vm/
H A Dvm_dep.c966 a = lowbit(page_colors) - lowbit(cpu_page_colors); in page_coloring_init()
/onnv-gate/usr/src/uts/i86pc/i86hvm/io/xpv/
H A Devtchn.c269 j = lowbit(pending_word) - 1; in evtchn_callback_fcn()
/onnv-gate/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()
/onnv-gate/usr/src/uts/sun4v/vm/
H A Dmach_sfmmu.c443 tdp->hvtsb_idxpgsz = lowbit(tsbinfop->tsb_ttesz_mask) - 1; in sfmmu_setup_tsbinfo()
/onnv-gate/usr/src/uts/intel/amd64/ml/
H A Damd64.il69 .inline lowbit,4
/onnv-gate/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()
/onnv-gate/usr/src/uts/intel/ia32/ml/
H A Dia32.il71 .inline lowbit,4
/onnv-gate/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()
/onnv-gate/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()

12