HomeSort by: relevance | last modified time | path
    Searched defs:ffs (Results 1 - 18 of 18) sorted by relevancy

  /src/common/lib/libc/arch/powerpc/string/
ffs.S 1 /* $NetBSD: ffs.S,v 1.5 2011/01/15 07:31:12 matt Exp $ */
33 __RCSID("$NetBSD: ffs.S,v 1.5 2011/01/15 07:31:12 matt Exp $")
36 ENTRY(ffs) function
43 END(ffs)
  /src/common/lib/libc/arch/x86_64/string/
ffs.S 10 RCSID("$NetBSD: ffs.S,v 1.5 2014/03/22 19:16:34 jakllsch Exp $")
13 ENTRY(ffs) function
21 END(ffs)
  /src/lib/libc/arch/vax/string/
ffs.S 1 /* $NetBSD: ffs.S,v 1.4 2011/01/25 02:38:15 matt Exp $ */
34 /* .asciz "@(#)ffs.s 8.1 (Berkeley) 6/4/93" */
35 RCSID("$NetBSD: ffs.S,v 1.4 2011/01/25 02:38:15 matt Exp $")
38 /* bit = ffs(value) */
40 ENTRY(ffs, 0) function
41 ffs $0,$32,4(%ap),%r0
47 END(ffs)
  /src/lib/libc/string/
Lint_ffs.c 12 ffs(int value) function in typeref:typename:int
  /src/common/lib/libc/arch/arm/string/
ffs.S 1 /* $NetBSD: ffs.S,v 1.9 2015/05/17 22:14:38 justin Exp $ */
33 RCSID("$NetBSD: ffs.S,v 1.9 2015/05/17 22:14:38 justin Exp $")
36 * ffs - find first set bit, this algorithm isolates the first set
44 * This is the ffs algorithm devised by d.seal and posted to comp.sys.arm on
48 STRONG_ALIAS(__ffssi2,ffs)
52 ENTRY(ffs) function
54 ARM_ENTRY(ffs)
62 END(ffs)
64 ARM_ENTRY(ffs)
93 END(ffs)
    [all...]
  /src/common/lib/libc/arch/i386/string/
ffs.S 9 RCSID("$NetBSD: ffs.S,v 1.2 2014/03/22 19:38:46 jakllsch Exp $")
12 ENTRY(ffs) function
21 END(ffs)
  /src/common/lib/libc/arch/sparc/string/
ffs.S 1 /* $NetBSD: ffs.S,v 1.4 2013/09/12 15:36:14 joerg Exp $ */
35 * from: Header: ffs.s,v 1.3 92/07/07 00:23:57 torek Exp
41 .asciz "@(#)ffs.s 8.1 (Berkeley) 6/4/93"
43 RCSID("$NetBSD: ffs.S,v 1.4 2013/09/12 15:36:14 joerg Exp $")
48 * ffs returns the number of the rightmost bit set in its argument,
49 * i.e., the lowest value such that (x & (ffs(x) - 1)) is nonzero.
50 * If no bits are set, ffs returns 0.
59 * that ffstab[0] must be -24 so that ffs(0) will return 0.
61 WEAK_ALIAS(__ffssi2,ffs)
62 ENTRY(ffs) function
    [all...]
  /src/common/lib/libc/arch/sparc64/string/
ffs.S 1 /* $NetBSD: ffs.S,v 1.3 2013/09/12 15:36:14 joerg Exp $ */
35 * from: Header: ffs.s,v 1.3 92/07/07 00:23:57 torek Exp
41 .asciz "@(#)ffs.s 8.1 (Berkeley) 6/4/93"
43 RCSID("$NetBSD: ffs.S,v 1.3 2013/09/12 15:36:14 joerg Exp $")
54 * int ffs(unsigned zz) {
61 ENTRY(ffs) function
65 movrz %o0, %g0, %o1 ! result of ffs(0) should be zero
70 * ffs returns the number of the rightmost bit set in its argument,
71 * i.e., the lowest value such that (x & (ffs(x) - 1)) is nonzero.
72 * If no bits are set, ffs returns 0
83 ENTRY(ffs) function
    [all...]
  /src/common/lib/libc/arch/m68k/string/
ffs.S 1 /* $NetBSD: ffs.S,v 1.8 2020/03/10 08:15:44 rin Exp $ */
40 RCSID("from: @(#)ffs.s 5.1 (Berkeley) 5/12/90")
42 RCSID("$NetBSD: ffs.S,v 1.8 2020/03/10 08:15:44 rin Exp $")
46 /* bit = ffs(value) */
49 WEAK_ALIAS(__ffssi2,ffs)
54 * we do not provide ffs(9) as a kernel routine. Let's rename it!
56 #define ffs __ffssi2 macro
61 ENTRY(ffs) function
74 END(ffs)
78 ENTRY(ffs) function
92 ENTRY(ffs) function
    [all...]
  /src/common/lib/libc/arch/sh3/string/
ffs.S 1 /* $NetBSD: ffs.S,v 1.3 2011/07/04 12:18:05 mrg Exp $ */
35 RCSID("$NetBSD: ffs.S,v 1.3 2011/07/04 12:18:05 mrg Exp $")
39 * ffs - find first bit set
45 WEAK_ALIAS(__ffssi2,ffs)
46 ENTRY(ffs) function
52 tst r0,r0 ! ffs(0) is 0
  /src/common/lib/libc/arch/ia64/string/
ffs.S 1 /* $NetBSD: ffs.S,v 1.1 2016/08/05 15:06:02 scole Exp $ */
33 * __FBSDID("$FreeBSD: releng/10.1/lib/libc/ia64/string/ffs.S 111777 2003-03-03 01:09:46Z obrien $");
42 * ffs(int value);
44 ENTRY(ffs, 1) function
106 END(ffs)
  /src/tests/include/sys/
t_bitops.c 47 int ffs; member in struct:__anon82b63ee50108
139 b = bits[i].ffs;
168 ATF_CHECK_EQ_MSG((n = ffs(0)), 0x00, "n=%d", n);
177 ATF_CHECK_EQ_MSG((n = ffs(UINT_MAX)), 0x01, "n=%d\n", n);
181 ATF_CHECK_EQ_MSG((n = ffs((unsigned)INT_MAX + 1)),
198 ATF_CHECK_EQ_MSG((n = ffs(1U << i)), i + 1, "n=%d", n);
220 ATF_CHECK_EQ_MSG((n = ffs(bits[i].val)), (m = bits[i].ffs),
222 ATF_CHECK_EQ_MSG((n = ffsl(bits[i].val)), (m = bits[i].ffs),
224 ATF_CHECK_EQ_MSG((n = ffsll(bits[i].val)), (m = bits[i].ffs),
    [all...]
  /src/sys/arch/ia64/include/
cpufunc.h 54 #define ffs(x) __builtin_ffs(x) macro
  /src/sys/arch/sparc/stand/bootblk/
Makefile 15 CLEANFILES= ffs.fth.h lfs.fth.h assym.fth.h.tmp \
26 ffs.fth.h: genfth.cf machine sparc
28 ${GENASSYM_CPPFLAGS} < ${.CURDIR}/genfth.cf >ffs.fth.h.tmp && \
29 mv -f ffs.fth.h.tmp ffs.fth.h
36 bootblk.text: bootblk.fth ffs.fth.h lfs.fth.h
41 bootblk: bootblk.fth ffs.fth.h lfs.fth.h
  /src/sys/arch/vax/include/
macros.h 44 __asm volatile ("ffs $0,$32,%1,%0;"
53 #define ffs vax_ffs macro
  /src/sbin/scan_ffs/
scan_ffs.c 30 * Currently it can detect FFS and LFS partitions (version 1 or 2)
52 #include <ufs/ffs/fs.h>
53 #include <ufs/ffs/ffs_extern.h>
65 /* common struct for FFS/LFS */
68 struct fs *ffs; member in struct:sblockinfo
105 /* FFS functions */
126 switch (sbi->ffs->fs_magic) {
130 ffs_sb_swap(sbi->ffs, sbi->ffs);
134 switch (sbi->ffs->fs_magic)
    [all...]
  /src/sys/lib/libkern/
libkern.h 420 * ffs is an instruction on vax.
422 int ffs(int);
424 #define ffs(x) __builtin_ffs(x) macro
  /src/sys/ufs/ufs/
inode.h 107 struct fs *fs; /* FFS */
132 struct ffs_inode_ext ffs; member in union:inode::__anon6267e6fa020a
136 #define i_snapblklist inode_ext.ffs.ffs_snapblklist
137 #define i_ffs_first_data_blk inode_ext.ffs.ffs_first_data_blk
138 #define i_ffs_first_indir_blk inode_ext.ffs.ffs_first_indir_blk
144 * These fields are currently only used by FFS and LFS,

Completed in 22 milliseconds