Home
last modified time | relevance | path

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

12

/freebsd/lib/libc/tests/string/
H A Dffsl_test.c28 #define FFS ffsl
/freebsd/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;
/freebsd/include/
H A Dstrings.h57 int ffsl(long) __pure2;
H A Dmalloc_np.h88 #define MALLOCX_ALIGN(a) ((int)(ffsl((int)(a))-1))
/freebsd/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.h142 ffsl(long mask) in ffsl() function
/freebsd/sys/contrib/ck/include/
H A Dck_cc.h129 CK_F_CC_FFS_G(ffsl, unsigned long) in CK_F_CC_FFS_G()
/freebsd/sys/dev/drm2/
H A Ddrm_atomic.h91 return (i * NB_BITS_PER_LONG + ffsl(n) - 1); in find_first_zero_bit()
/freebsd/sys/dev/axgbe/
H A Dxgbe_osdep.h227 return (ffsl(mask) - 1); in __ffsl()
/freebsd/contrib/ofed/libmlx4/
H A Ddbrec.c109 j = ffsl(page->free[i]); in mlx4_alloc_db()
/freebsd/sys/net/route/
H A Dnhop_utils.c162 if ((v = ffsl(*mask)) == 0) in bitmask_alloc_idx()
/freebsd/contrib/ofed/libmlx5/
H A Ddbrec.c110 j = ffsl(page->free[i]); in mlx5_alloc_dbrec()
/freebsd/sys/dev/mana/
H A Dgdma_util.h168 return (i * BITS_PER_LONG + ffsl(n) - 1); in find_first_zero_bit()
/freebsd/sys/powerpc/ps3/
H A Dps3pic.c175 while ((irq = ffsl(bitmap & mask) - 1) != -1) { in ps3pic_dispatch()
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dsysmacros.h284 #define lowbit(x) ffsl(x)
/freebsd/lib/libc/
H A DMakefile175 KSRCS= bcmp.c ffs.c ffsl.c fls.c flsl.c mcount.c strcat.c strchr.c \
/freebsd/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()
/freebsd/tests/sys/posixshm/
H A Dmemfd_test.c290 #define MFD_HUGE_FLAGS(sz) (((ffsl(sz) - 1U) << MFD_HUGE_SHIFT) & MFD_HUGE_MASK) in ATF_TC_BODY()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dbitops.h88 return (ffsl(mask) - 1); in __ffsl()
/freebsd/sys/powerpc/mpc85xx/
H A Dplatform_mpc85xx.c466 (tgt << OCP85XX_TRGT_SHIFT_QORIQ) | (ffsl(PAGE_SIZE) - 2)); in mpc85xx_smp_start_cpu()
/freebsd/contrib/jemalloc/
H A Dconfigure.ac1615 dnl Check for __builtin_ffsl(), then ffsl(3), and fail if neither are found.
1619 dnl ffsl() or __builtin_ffsl() are defined, respectively.
1635 JE_COMPILABLE([a program using ffsl], [
1641 int rv = ffsl(0x08);
1647 AC_DEFINE([JEMALLOC_INTERNAL_FFSL], [ffsl], [ ])
1650 AC_MSG_ERROR([Cannot build without ffsl(3) or __builtin_ffsl()])

12