Home
last modified time | relevance | path

Searched refs:ffsl (Results 1 – 25 of 42) sorted by relevance

12

/src/contrib/jemalloc/include/msvc_compat/
H A Dstrings.h9 static __forceinline int ffsl(long x) { in ffsl() function
19 return ffsl(x); in ffs()
54 # define ffsl(x) __builtin_ffsl(x) macro
/src/lib/libc/string/
H A Dffsl.c42 ffsl(long mask) in ffsl() function
H A DMakefile.inc15 ffsl.c \
156 MLINKS+=ffs.3 ffsl.3 \
H A DSymbol.map7 ffsl;
/src/lib/libc/tests/string/
H A Dffsl_test.c28 #define FFS ffsl
/src/include/
H A Dstrings.h57 int ffsl(long) __pure2;
H A Dmalloc_np.h88 #define MALLOCX_ALIGN(a) ((int)(ffsl((int)(a))-1))
/src/sys/sys/
H A Drunq.h71 int _res = ffsl((long)(word)); /* Assumes two-complement. */ \
H A Dbitstring.h251 _value = ((_curbitstr - _bitstr) * _BITSTR_BITS) + ffsl(_test) - 1; in bit_ff_at_()
304 _last = ffsl(~(_test >> 1)); in bit_ff_area_at_()
H A Dbitset.h248 __bit = ffsl((p)->__bits[__i] & __mask); \
288 int __bit = ffsl(__bits) - 1; \
H A Dlibkern.h153 ffsl(long mask) in ffsl() function
/src/sys/contrib/ck/include/
H A Dck_cc.h129 CK_F_CC_FFS_G(ffsl, unsigned long) in CK_F_CC_FFS_G()
/src/contrib/ofed/libmlx5/
H A Ddbrec.c105 j = ffsl(page->free[i]); in mlx5_alloc_dbrec()
/src/sys/dev/drm2/
H A Ddrm_atomic.h91 return (i * NB_BITS_PER_LONG + ffsl(n) - 1); in find_first_zero_bit()
/src/sys/net/route/
H A Dnhop_utils.c163 if ((v = ffsl(*mask)) == 0) in bitmask_alloc_idx()
/src/contrib/ofed/libmlx4/
H A Ddbrec.c109 j = ffsl(page->free[i]); in mlx4_alloc_db()
/src/sys/dev/axgbe/
H A Dxgbe_osdep.h227 return (ffsl(mask) - 1); in __ffsl()
/src/sys/dev/mana/
H A Dgdma_util.h168 return (i * BITS_PER_LONG + ffsl(n) - 1); in find_first_zero_bit()
/src/sys/powerpc/ps3/
H A Dps3pic.c175 while ((irq = ffsl(bitmap & mask) - 1) != -1) { in ps3pic_dispatch()
/src/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dsysmacros.h294 #define lowbit(x) ffsl(x)
/src/lib/libc/
H A DMakefile175 KSRCS= bcmp.c ffs.c ffsl.c fls.c flsl.c mcount.c strcat.c strchr.c \
/src/sys/dev/xen/bus/
H A Dxen_intr.c401 l1i = ffsl(masked_l1) - 1; in xen_intr_handle_upcall()
414 l2i = ffsl(masked_l2) - 1; in xen_intr_handle_upcall()
/src/sys/compat/linuxkpi/common/include/linux/
H A Dbitops.h88 return (ffsl(mask) - 1); in __ffsl()
/src/sys/powerpc/mpc85xx/
H A Dplatform_mpc85xx.c465 (tgt << OCP85XX_TRGT_SHIFT_QORIQ) | (ffsl(PAGE_SIZE) - 2)); in mpc85xx_smp_start_cpu()
/src/lib/libc/rpc/
H A Dsvc.c600 for (mask = *maskp++; (bit = ffsl(mask)) != 0; in svc_getreqset()

12