Searched refs:ffs (Results 1 - 25 of 465) sorted by path

1234567891011>>

/linux-master/arch/arc/lib/
H A Dstrcmp-archs.S52 ffs r0, r4
/linux-master/arch/mips/sni/
H A Dpcimt.c271 irq = PCIMT_IRQ_INT2 + ffs(pend) - 1;
/linux-master/arch/openrisc/include/asm/bitops/
H A Dffs.h13 static inline int ffs(int x) function
25 #include <asm-generic/bitops/ffs.h>
/linux-master/arch/x86/boot/
H A Da20.c23 int ffs = MAX_8042_FF; local
31 if (!--ffs)
/linux-master/fs/affs/
H A Dbitmap.c206 bit = ffs(tmp & mask) - 1;
/linux-master/include/linux/
H A Dcount_zeros.h48 return ffs(x);
/linux-master/arch/alpha/include/asm/
H A Dbitops.h371 * ffs: find first bit set. This is defined the same way as
372 * the libc and compiler builtin ffs routines, therefore
376 static inline int ffs(int word) function
/linux-master/arch/alpha/kernel/
H A Dcore_cia.c870 tmp = ffs(tmp);
1046 i = ffs(syn) - 1;
1125 switch (ffs(cia->cia_err & 0xfff) - 1) {
/linux-master/arch/arc/include/asm/
H A Dbitops.h94 * ffs = Find First Set in word (LSB to MSB)
97 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); }) macro
100 * __ffs: Similar to ffs, but zero based (0-31)
107 return ffs(word) - 1;
141 * ffs = Find First Set in word (LSB to MSB)
144 static inline __attribute__ ((const)) int ffs(unsigned int x) function
149 " ffs.f %0, %1 \n" /* 0:31; 31(Z) if src 0 */
160 * __ffs: Similar to ffs, but zero based (0-31)
167 " ffs.f %0, %1 \n" /* 0:31; 31(Z) if src 0 */
/linux-master/arch/arc/kernel/
H A Dmcip.c281 if (ffs(destination_bits) == fls(destination_bits))
/linux-master/arch/arm/include/asm/
H A Dbitops.h223 #include <asm-generic/bitops/ffs.h>
235 #include <asm-generic/bitops/builtin-ffs.h>
/linux-master/arch/arm/kernel/
H A Dsetup.c647 fs[i] = affinity ? ffs(affinity) - 1 : 0;
/linux-master/arch/arm64/include/asm/
H A Dbitops.h15 #include <asm-generic/bitops/builtin-ffs.h>
/linux-master/arch/arm64/kernel/
H A Dsetup.c133 fs[i] = affinity ? ffs(affinity) - 1 : 0;
/linux-master/arch/arm64/kvm/vgic/
H A Dvgic-v2.c170 u32 src = ffs(irq->source);
H A Dvgic-v3.c157 u32 src = ffs(irq->source);
/linux-master/arch/arm64/lib/
H A Dinsn.c1369 imms |= 0xf << ffs(esz);
/linux-master/arch/csky/include/asm/
H A Dbitops.h10 * asm-generic/bitops/ffs.h
12 static inline int ffs(int x) function
/linux-master/arch/hexagon/include/asm/
H A Dbitops.h217 * This is defined the same way as ffs.
234 * ffs - find first bit set
238 * the libc and compiler builtin ffs routines, therefore
239 * differs in spirit from the above ffz (man ffs).
241 static inline int ffs(int x) function
261 * numbering starts at 0 I think (instead of 1 like ffs)
/linux-master/arch/loongarch/include/asm/
H A Dbitops.h16 #include <asm-generic/bitops/builtin-ffs.h>
H A Dfpu.h58 (ffs(FPU_CSR_ALL_X) - ffs(FPU_CSR_ALL_E)));
/linux-master/arch/m68k/emu/
H A Dnfblock.c121 dev->bshift = ffs(bsize) - 10;
/linux-master/arch/m68k/include/asm/
H A Dbitops.h485 * and we can use that to implement a fast ffs. Older Coldfire parts,
499 static inline int ffs(int x) function
507 #include <asm-generic/bitops/ffs.h>
517 * ffs: find first bit set. This is defined the same way as
518 * the libc and compiler builtin ffs routines, therefore
519 * differs in spirit from the above ffz (man ffs).
521 static inline int ffs(int x) function
533 return ffs(x) - 1;
/linux-master/arch/mips/include/asm/
H A Dbitops.h405 * This is defined the same way as ffs.
454 * ffs - find first bit set.
458 * the libc and compiler builtin ffs routines, therefore
459 * differs in spirit from the below ffz (man ffs).
461 static inline int ffs(int word) function
H A Dfpu_emulator.h184 (ffs(FPU_CSR_ALL_X) - ffs(FPU_CSR_ALL_E))));

Completed in 319 milliseconds

1234567891011>>