/linux-master/arch/arc/lib/ |
H A D | strcmp-archs.S | 52 ffs r0, r4
|
/linux-master/arch/mips/sni/ |
H A D | pcimt.c | 271 irq = PCIMT_IRQ_INT2 + ffs(pend) - 1;
|
/linux-master/arch/openrisc/include/asm/bitops/ |
H A D | ffs.h | 13 static inline int ffs(int x) function 25 #include <asm-generic/bitops/ffs.h>
|
/linux-master/arch/x86/boot/ |
H A D | a20.c | 23 int ffs = MAX_8042_FF; local 31 if (!--ffs)
|
/linux-master/fs/affs/ |
H A D | bitmap.c | 206 bit = ffs(tmp & mask) - 1;
|
/linux-master/include/linux/ |
H A D | count_zeros.h | 48 return ffs(x);
|
/linux-master/arch/alpha/include/asm/ |
H A D | bitops.h | 371 * 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 D | core_cia.c | 870 tmp = ffs(tmp); 1046 i = ffs(syn) - 1; 1125 switch (ffs(cia->cia_err & 0xfff) - 1) {
|
/linux-master/arch/arc/include/asm/ |
H A D | bitops.h | 94 * 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 D | mcip.c | 281 if (ffs(destination_bits) == fls(destination_bits))
|
/linux-master/arch/arm/include/asm/ |
H A D | bitops.h | 223 #include <asm-generic/bitops/ffs.h> 235 #include <asm-generic/bitops/builtin-ffs.h>
|
/linux-master/arch/arm/kernel/ |
H A D | setup.c | 647 fs[i] = affinity ? ffs(affinity) - 1 : 0;
|
/linux-master/arch/arm64/include/asm/ |
H A D | bitops.h | 15 #include <asm-generic/bitops/builtin-ffs.h>
|
/linux-master/arch/arm64/kernel/ |
H A D | setup.c | 133 fs[i] = affinity ? ffs(affinity) - 1 : 0;
|
/linux-master/arch/arm64/kvm/vgic/ |
H A D | vgic-v2.c | 170 u32 src = ffs(irq->source);
|
H A D | vgic-v3.c | 157 u32 src = ffs(irq->source);
|
/linux-master/arch/arm64/lib/ |
H A D | insn.c | 1369 imms |= 0xf << ffs(esz);
|
/linux-master/arch/csky/include/asm/ |
H A D | bitops.h | 10 * asm-generic/bitops/ffs.h 12 static inline int ffs(int x) function
|
/linux-master/arch/hexagon/include/asm/ |
H A D | bitops.h | 217 * 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 D | bitops.h | 16 #include <asm-generic/bitops/builtin-ffs.h>
|
H A D | fpu.h | 58 (ffs(FPU_CSR_ALL_X) - ffs(FPU_CSR_ALL_E)));
|
/linux-master/arch/m68k/emu/ |
H A D | nfblock.c | 121 dev->bshift = ffs(bsize) - 10;
|
/linux-master/arch/m68k/include/asm/ |
H A D | bitops.h | 485 * 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 D | bitops.h | 405 * 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 D | fpu_emulator.h | 184 (ffs(FPU_CSR_ALL_X) - ffs(FPU_CSR_ALL_E))));
|