| /freebsd/lib/libc/tests/string/ |
| H A D | ffsl_test.c | 28 #define FFS ffsl
|
| /freebsd/lib/libc/string/ |
| H A D | ffsl.c | 42 ffsl(long mask) in ffsl() function
|
| H A D | Makefile.inc | 15 ffsl.c \ 156 MLINKS+=ffs.3 ffsl.3 \
|
| H A D | Symbol.map | 7 ffsl;
|
| /freebsd/include/ |
| H A D | strings.h | 57 int ffsl(long) __pure2;
|
| H A D | malloc_np.h | 88 #define MALLOCX_ALIGN(a) ((int)(ffsl((int)(a))-1))
|
| /freebsd/sys/sys/ |
| H A D | runq.h | 71 int _res = ffsl((long)(word)); /* Assumes two-complement. */ \
|
| H A D | bitstring.h | 251 _value = ((_curbitstr - _bitstr) * _BITSTR_BITS) + ffsl(_test) - 1; in bit_ff_at_() 304 _last = ffsl(~(_test >> 1)); in bit_ff_area_at_()
|
| H A D | bitset.h | 248 __bit = ffsl((p)->__bits[__i] & __mask); \ 288 int __bit = ffsl(__bits) - 1; \
|
| H A D | libkern.h | 142 ffsl(long mask) in ffsl() function
|
| /freebsd/sys/contrib/ck/include/ |
| H A D | ck_cc.h | 129 CK_F_CC_FFS_G(ffsl, unsigned long) in CK_F_CC_FFS_G()
|
| /freebsd/sys/dev/drm2/ |
| H A D | drm_atomic.h | 91 return (i * NB_BITS_PER_LONG + ffsl(n) - 1); in find_first_zero_bit()
|
| /freebsd/sys/dev/axgbe/ |
| H A D | xgbe_osdep.h | 227 return (ffsl(mask) - 1); in __ffsl()
|
| /freebsd/contrib/ofed/libmlx4/ |
| H A D | dbrec.c | 109 j = ffsl(page->free[i]); in mlx4_alloc_db()
|
| /freebsd/sys/net/route/ |
| H A D | nhop_utils.c | 162 if ((v = ffsl(*mask)) == 0) in bitmask_alloc_idx()
|
| /freebsd/contrib/ofed/libmlx5/ |
| H A D | dbrec.c | 110 j = ffsl(page->free[i]); in mlx5_alloc_dbrec()
|
| /freebsd/sys/dev/mana/ |
| H A D | gdma_util.h | 168 return (i * BITS_PER_LONG + ffsl(n) - 1); in find_first_zero_bit()
|
| /freebsd/sys/powerpc/ps3/ |
| H A D | ps3pic.c | 175 while ((irq = ffsl(bitmap & mask) - 1) != -1) { in ps3pic_dispatch()
|
| /freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | sysmacros.h | 284 #define lowbit(x) ffsl(x)
|
| /freebsd/lib/libc/ |
| H A D | Makefile | 175 KSRCS= bcmp.c ffs.c ffsl.c fls.c flsl.c mcount.c strcat.c strchr.c \
|
| /freebsd/sys/dev/xen/bus/ |
| H A D | xen_intr.c | 401 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 D | memfd_test.c | 290 #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 D | bitops.h | 88 return (ffsl(mask) - 1); in __ffsl()
|
| /freebsd/sys/powerpc/mpc85xx/ |
| H A D | platform_mpc85xx.c | 466 (tgt << OCP85XX_TRGT_SHIFT_QORIQ) | (ffsl(PAGE_SIZE) - 2)); in mpc85xx_smp_start_cpu()
|
| /freebsd/contrib/jemalloc/ |
| H A D | configure.ac | 1615 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()])
|