Searched defs:ffs (Results 1 - 16 of 16) sorted by relevance

/freebsd-head/sys/libkern/arm/
H A Dffs.S1 /* $NetBSD: ffs.S,v 1.3 2003/04/05 23:27:15 bjh21 Exp $ */
37 * ffs - find first set bit, this algorithm isolates the first set
45 * This is the ffs algorithm devised by d.seal and posted to comp.sys.arm on
49 ENTRY(ffs) function
86 END(ffs)
/freebsd-head/lib/libc/arm/string/
H A Dffs.S1 /* $NetBSD: ffs.S,v 1.5 2003/04/05 23:08:52 bjh21 Exp $ */
38 * ffs - find first set bit, this algorithm isolates the first set
43 * This is the ffs algorithm devised by d.seal and posted to comp.sys.arm on
47 ENTRY(ffs) function
83 END(ffs)
/freebsd-head/lib/libc/i386/string/
H A Dffs.S35 * ffs(value)
45 ENTRY(ffs) function
54 END(ffs)
/freebsd-head/contrib/binutils/libiberty/
H A Dffs.c0 /* ffs -- Find the first bit set in the parameter
3 @deftypefn Supplemental int ffs (int @var{valu})
14 ffs (register int valu) function
/freebsd-head/lib/libc/string/
H A Dffs.c33 static char sccsid[] = "@(#)ffs.c 8.1 (Berkeley) 6/4/93";
44 ffs(int mask) function
/freebsd-head/sys/libkern/
H A Dffs.c41 ffs(int mask) function
/freebsd-head/contrib/netbsd-tests/include/sys/
H A Dt_bitops.c46 int ffs; member in struct:__anon2
126 b = bits[i].ffs;
160 ATF_REQUIRE(ffs32(bits[i].val) == bits[i].ffs);
162 ATF_REQUIRE(ffs64(bits[i].val) == bits[i].ffs);
165 ATF_REQUIRE(ffs32(bits[i].val << 1) == bits[i].ffs + 1);
167 ATF_REQUIRE(ffs64(bits[i].val << 1) == bits[i].ffs + 1);
170 ATF_REQUIRE(ffs32(bits[i].val << 9) == bits[i].ffs + 9);
172 ATF_REQUIRE(ffs64(bits[i].val << 9) == bits[i].ffs + 9);
/freebsd-head/sys/arm64/include/
H A Dcpufunc.h44 ffs(int mask) function
/freebsd-head/tools/bus_space/examples/
H A Dam79c900_diag.py153 def ffs(x): function
239 ib.mode = ((ffs(ntxbufs) - 1) << 28) | ((ffs(nrxbufs) - 1) << 20)
/freebsd-head/contrib/netbsd-tests/fs/common/
H A Dh_fsmacros.h53 FSPROTOS(ffs); variable
161 ATF_TC_FSADD(ffs,MOUNT_FFS,func,desc) \
176 ATF_TP_FSADD(ffs,func); \
220 ATF_TC_FSADD_RO(ffs,MOUNT_FFS,func,desc,gen) \
231 ATF_TP_FSADD(ffs,func); \
265 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "ffs") == 0)
/freebsd-head/sys/arm/include/
H A Dcpufunc.h365 ffs(int mask) function
/freebsd-head/usr.sbin/makefs/
H A Dmakefs.h187 DECLARE_FUN(ffs); variable
248 #define DEFAULT_FSTYPE "ffs"
253 * ffs specific settings
257 #define FFS_EI /* for opposite endian support in ffs headers */
/freebsd-head/sys/mips/nlm/dev/net/ucore/
H A Ducore.h121 * ffs - selects which free fifo pool to use to take a free fifo
149 nlm_ucore_pkt_done(int l3cachelines, int fsv, int ffs, int prepad_en, argument
157 val |= ((ffs & 0x1f) << 14);
/freebsd-head/sys/i386/include/
H A Dcpufunc.h201 ffs(int mask) function
204 * Note that gcc-2's builtin ffs would be used if we didn't declare
217 return (ffs((int)mask));
/freebsd-head/sys/amd64/include/
H A Dcpufunc.h163 #define ffs(x) __builtin_ffs(x) macro
/freebsd-head/stand/kshim/
H A Dbsd_kernel.h133 #undef ffs macro
134 #define ffs(x) __builtin_ffs(x) macro

Completed in 112 milliseconds