Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/lib/libumem/common/
H A Dmisc.h60 int lowbit(ulong_t);
61 #pragma no_side_effect(highbit, lowbit)
H A Dmisc.c134 lowbit(ulong_t i) in lowbit() function
H A Dvmem.c882 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_xalloc()
889 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_xalloc()
907 flist = lowbit(P2ALIGN(vmp->vm_freemap, in vmem_xalloc()
1104 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_alloc()
1106 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_alloc()
/illumos-gate/usr/src/cmd/csh/
H A Dprintf.c165 int n, hradix, lowbit; in _print() local
394 lowbit = val & 1; in _print()
396 *--bp = tab[val % hradix * 2 + lowbit]; in _print()
/illumos-gate/usr/src/uts/intel/asm/
H A Dbitmap.h65 lowbit(ulong_t i) in lowbit() function
/illumos-gate/usr/src/uts/sparc/os/
H A Dbitmap_arch.c110 lowbit(ulong_t i) in lowbit() function
/illumos-gate/usr/src/uts/common/os/
H A Dvmem.c927 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_canalloc()
929 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_canalloc()
1002 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_xalloc()
1009 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_xalloc()
1027 flist = lowbit(P2ALIGN(vmp->vm_freemap, in vmem_xalloc()
1302 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_alloc()
1304 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_alloc()
H A Dbitmap.c230 return ((counter << BT_ULSHIFT) | (lowbit(word) - 1)); in bt_getlowbit()
H A Dbitset.c243 elt = (uint_t)(lowbit(rotated_word) - 1); in bitset_find_in_word()
/illumos-gate/usr/src/uts/common/sys/
H A Dbitmap.h160 extern int lowbit(ulong_t);
/illumos-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()
H A Dopl_olympus.c467 lo = lowbit(cpus_left) - 1;
510 lo = lowbit(curnack) - 1;
/illumos-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()
/illumos-gate/usr/src/uts/sun4/vm/
H A Dvm_dep.c905 a = lowbit(page_colors) - lowbit(cpu_page_colors); in page_coloring_init()
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/xpv/
H A Devtchn.c269 j = lowbit(pending_word) - 1; in evtchn_callback_fcn()
/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Ddoprnt.c130 int lowbit = (int)(*valptr & 1); in _lowdigit() local
134 return ((int)(value % 5 * 2 + lowbit + '0')); in _lowdigit()
/illumos-gate/usr/src/uts/sun4v/vm/
H A Dmach_sfmmu.c443 tdp->hvtsb_idxpgsz = lowbit(tsbinfop->tsb_ttesz_mask) - 1; in sfmmu_setup_tsbinfo()
/illumos-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()
/illumos-gate/usr/src/uts/common/io/kbtrans/
H A Dkbtrans_streams.c1287 int lowbit; in kbtrans_strsetwithdecimal() local
1293 lowbit = val & 1; in kbtrans_strsetwithdecimal()
1295 *(--bp) = tab[val % hradix * 2 + lowbit]; in kbtrans_strsetwithdecimal()
/illumos-gate/usr/src/uts/intel/ml/
H A Di86_subr.S1055 ENTRY(lowbit)
1061 SET_SIZE(lowbit)
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_isoch_chan.c118 num = lowbit(ii->ii_channel) - 1; in av1394_ic_init()
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dvm_machdep.c1834 page_coloring_shift = lowbit(CPUSETSIZE()); in page_coloring_init()
1853 int a = lowbit(page_colors) - lowbit(cpu_page_colors); in page_coloring_init()
1874 int a = lowbit(colorequiv) - 1; in page_coloring_init()
/illumos-gate/usr/src/uts/i86pc/io/
H A Dhpet_acpi.c768 intr = lowbit(hip->timer_n_config[timer].int_route_cap) - 1; in hpet_get_IOAPIC_intr_capable_timer()

12