Searched refs:fls (Results 1 - 25 of 106) sorted by relevance

12345

/freebsd-13-stable/lib/libc/string/
H A Dfls.c41 fls(int mask) function
H A DMakefile.inc11 ffs.c ffsl.c ffsll.c fls.c flsl.c flsll.c \
48 ffs.3 fls.3 \
/freebsd-13-stable/sys/libkern/
H A Dfls.c41 fls(int mask) function
/freebsd-13-stable/include/
H A Dstrings.h57 int fls(int) __pure2;
/freebsd-13-stable/sys/contrib/zstd/lib/freebsd/
H A Dzstd_kfreebsd.c87 return (sizeof(x) * NBBY - fls(x));
/freebsd-13-stable/sys/netpfil/ipfw/test/
H A Dtest_dn_sched.c86 fls(int mask) function
H A Ddn_test.h165 int fls(int);
/freebsd-13-stable/contrib/netbsd-tests/include/sys/
H A Dt_bitops.c47 int fls; member in struct:__anon5128
161 ATF_REQUIRE(fls32(bits[i].val) == bits[i].fls);
163 ATF_REQUIRE(fls64(bits[i].val) == bits[i].fls);
166 ATF_REQUIRE(fls32(bits[i].val << 1) == bits[i].fls + 1);
168 ATF_REQUIRE(fls64(bits[i].val << 1) == bits[i].fls + 1);
171 ATF_REQUIRE(fls32(bits[i].val << 9) == bits[i].fls + 9);
173 ATF_REQUIRE(fls64(bits[i].val << 9) == bits[i].fls + 9);
/freebsd-13-stable/lib/libc/sys/
H A D__vdso_gettimeofday.c89 if (__predict_false(scale_bits + fls(delta) > 63)) {
/freebsd-13-stable/sys/arm/include/
H A Dcpufunc.h217 fls(int mask) function
/freebsd-13-stable/sys/arm64/include/
H A Dcpufunc.h71 fls(int mask) function
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/
H A Dlog2.h126 fls((u32)(n)) - 1 : flsll((u64)(n)) - 1 \
/freebsd-13-stable/sys/mips/ingenic/
H A Djz4780_intr.c223 while ((i = fls(intr)) != 0) {
238 while ((i = fls(intr)) != 0) {
/freebsd-13-stable/sys/mips/mediatek/
H A Dmtk_intr_v1.c235 while ((i = fls(intr)) != 0) {
253 while ((i = fls(intr)) != 0) {
H A Dmtk_intr_v2.c230 while ((i = fls(intr)) != 0) {
248 while ((i = fls(intr)) != 0) {
/freebsd-13-stable/sys/powerpc/ps3/
H A Dps3pic.c134 thread = 32 - fls(mfctrl());
203 thread = 32 - fls(mfctrl());
/freebsd-13-stable/sys/arm/ti/clk/
H A Dti_divider_clock.c175 sc->div_def.i_width = fls(ti_max_div-1);
177 sc->div_def.i_width = fls(ti_max_div);
H A Dti_mux_clock.c163 sc->mux_def.width = fls(sc->clock_cell.num_real_clocks-1);
165 sc->mux_def.width = fls(sc->clock_cell.num_real_clocks);
/freebsd-13-stable/sys/kern/
H A Dkern_acct.c483 log2_s = fls(tv.tv_sec) - 1;
494 norm_exp = fls(val) - 1;
524 norm_exp = fls(val) - 1;
/freebsd-13-stable/sys/dev/vt/hw/efifb/
H A Defifb.c122 info->fb_depth = fls(efifb->fb_mask_red | efifb->fb_mask_green |
/freebsd-13-stable/sys/powerpc/include/
H A Dcpufunc.h263 fls(int mask) function
/freebsd-13-stable/sys/mips/broadcom/
H A Dbcm_bmips.c365 while ((i = fls(sbstatus)) != 0) {
378 while ((i = fls(sbstatus)) != 0) {
H A Dbcm_mips74k.c337 while ((i = fls(intr)) != 0) {
350 while ((i = fls(intr)) != 0) {
/freebsd-13-stable/sys/sys/
H A Dbitstring.h292 _logsize = fls(_size - 1);
339 _logsize = fls(_size - 1);
/freebsd-13-stable/sys/cam/
H A Dcam_queue.c276 new_size = imax(64, 1 << fls(new_size + new_size / 2));
288 imax(64, 1 << fls(openings + openings / 2))) != 0)

Completed in 248 milliseconds

12345