Searched refs:__fls (Results 1 - 25 of 143) sorted by relevance

123456

/linux-master/arch/openrisc/include/asm/bitops/
H A D__fls.h14 static inline unsigned long __fls(unsigned long x) function
26 #include <asm-generic/bitops/__fls.h>
/linux-master/include/asm-generic/bitops/
H A Dbuiltin-__fls.h6 * __fls - find last (most-significant) set bit in a long word
11 static __always_inline unsigned long __fls(unsigned long word) function
H A Dfls64.h31 return __fls(x) + 1;
H A D__fls.h45 #define __fls(word) generic___fls(word) macro
/linux-master/tools/include/asm-generic/bitops/
H A Dfls64.h31 return __fls(x) + 1;
H A D__fls.h45 #define __fls(word) generic___fls(word) macro
/linux-master/arch/arm/mach-mv78xx0/
H A Dirq.c34 unsigned int hwirq = __fls(stat);
41 unsigned int hwirq = 32 + __fls(stat);
48 unsigned int hwirq = 64 + __fls(stat);
/linux-master/arch/sparc/lib/
H A Dfls64.S1 /* fls64.S: SPARC default __fls definition.
3 * SPARC default __fls definition, which follows the same algorithm as
4 * in generic __fls(). This function will be boot time patched on T4
14 ENTRY(__fls)
60 ENDPROC(__fls)
61 EXPORT_SYMBOL(__fls)
/linux-master/tools/include/asm-generic/
H A Dbitops.h19 #include <asm-generic/bitops/__fls.h>
/linux-master/arch/s390/lib/
H A Dfind.c35 return result + (__fls(tmp) ^ (BITS_PER_LONG - 1));
74 return result + (__fls(tmp) ^ (BITS_PER_LONG - 1));
/linux-master/arch/arm/mach-dove/
H A Dirq.c50 unsigned int hwirq = 1 + __fls(stat);
57 unsigned int hwirq = 33 + __fls(stat);
/linux-master/fs/bcachefs/
H A Deytzinger.h76 i <<= __fls(size + 1) - __fls(i);
92 i <<= __fls(size + 1) - __fls(i);
110 unsigned b = __fls(i);
111 unsigned shift = __fls(size) - b;
153 i |= 1U << (__fls(size) - shift);
/linux-master/lib/math/
H A Dint_sqrt.c27 m = 1UL << (__fls(x) & ~1UL);
/linux-master/include/asm-generic/
H A Dbitops.h21 #include <asm-generic/bitops/__fls.h>
H A Dword-at-a-time.h50 #define zero_bytemask(mask) (~1ul << __fls(mask))
/linux-master/arch/arm64/include/asm/
H A Dbitops.h16 #include <asm-generic/bitops/builtin-__fls.h>
/linux-master/arch/openrisc/include/asm/
H A Dbitops.h31 #include <asm/bitops/__fls.h>
/linux-master/arch/csky/include/asm/
H A Dbitops.h53 * asm-generic/bitops/__fls.h
55 static __always_inline unsigned long __fls(unsigned long x) function
/linux-master/arch/loongarch/include/asm/
H A Dbitops.h19 #include <asm-generic/bitops/builtin-__fls.h>
/linux-master/arch/arm/mach-orion5x/
H A Dirq.c34 unsigned int hwirq = 1 + __fls(stat);
/linux-master/arch/s390/include/asm/
H A Dword-at-a-time.h23 return __fls(data);
/linux-master/tools/testing/selftests/powerpc/primitives/
H A Dload_unaligned_zeropad.c24 static inline unsigned long __fls(unsigned long x);
30 static inline unsigned long __fls(unsigned long x) function
/linux-master/arch/arc/include/asm/
H A Dbitops.h83 * __fls: Similar to fls, but zero based (0-31)
85 static inline __attribute__ ((const)) unsigned long __fls(unsigned long x) function
132 * __fls: Similar to fls, but zero based (0-31). Also 0 if no bit set
134 static inline __attribute__ ((const)) unsigned long __fls(unsigned long x) function
/linux-master/arch/sh/include/asm/
H A Dbitops.h67 #include <asm-generic/bitops/__fls.h>
/linux-master/arch/sparc/include/asm/
H A Dbitops_64.h27 int __fls(unsigned long word);

Completed in 288 milliseconds

123456