Home
last modified time | relevance | path

Searched refs:__fls (Results 1 – 25 of 139) sorted by relevance

123456

/linux/fs/bcachefs/
A Deytzinger.h76 i <<= __fls(size + 1) - __fls(i); in eytzinger1_next()
92 i <<= __fls(size + 1) - __fls(i); in eytzinger1_prev()
112 unsigned b = __fls(i); in __eytzinger1_to_inorder()
113 unsigned shift = __fls(size) - b; in __eytzinger1_to_inorder()
155 i |= 1U << (__fls(size) - shift); in __inorder_to_eytzinger1()
/linux/arch/arm/mach-mv78xx0/
A Dirq.c34 unsigned int hwirq = __fls(stat); in mv78xx0_legacy_handle_irq()
41 unsigned int hwirq = 32 + __fls(stat); in mv78xx0_legacy_handle_irq()
48 unsigned int hwirq = 64 + __fls(stat); in mv78xx0_legacy_handle_irq()
/linux/arch/sparc/lib/
A Dfls64.S14 ENTRY(__fls)
60 ENDPROC(__fls)
61 EXPORT_SYMBOL(__fls)
/linux/arch/arm/mach-dove/
A Dirq.c50 unsigned int hwirq = 1 + __fls(stat); in dove_legacy_handle_irq()
57 unsigned int hwirq = 33 + __fls(stat); in dove_legacy_handle_irq()
/linux/arch/s390/lib/
A Dfind.c35 return result + (__fls(tmp) ^ (BITS_PER_LONG - 1)); in find_first_bit_inv()
74 return result + (__fls(tmp) ^ (BITS_PER_LONG - 1)); in find_next_bit_inv()
/linux/arch/arc/include/asm/
A Dbitops.h85 static inline __attribute__ ((const)) unsigned long __fls(unsigned long x) in __fls() function
134 static inline __attribute__ ((const)) unsigned long __fls(unsigned long x) in __fls() function
/linux/tools/testing/selftests/powerpc/primitives/
A Dload_unaligned_zeropad.c24 static inline unsigned long __fls(unsigned long x);
30 static inline unsigned long __fls(unsigned long x) in __fls() function
/linux/include/asm-generic/bitops/
A Dbuiltin-__fls.h11 static __always_inline unsigned int __fls(unsigned long word) in __fls() function
A Dfls64.h31 return __fls(x) + 1; in fls64()
A D__fls.h45 #define __fls(word) generic___fls(word) macro
/linux/arch/openrisc/include/asm/bitops/
A D__fls.h14 static inline unsigned long __fls(unsigned long x) in __fls() function
/linux/tools/include/asm-generic/bitops/
A Dfls64.h31 return __fls(x) + 1; in fls64()
A D__fls.h45 #define __fls(word) generic___fls(word) macro
/linux/arch/csky/include/asm/
A Dbitops.h55 static __always_inline unsigned long __fls(unsigned long x) in __fls() function
/linux/arch/arm/mach-orion5x/
A Dirq.c34 unsigned int hwirq = 1 + __fls(stat); in orion5x_legacy_handle_irq()
/linux/drivers/irqchip/
A Dirq-orion.c44 u32 hwirq = __fls(stat); in orion_handle_irq()
117 u32 hwirq = __fls(stat); in orion_bridge_irq_handler()
/linux/arch/sparc/include/asm/
A Dbitops_64.h27 int __fls(unsigned long word);
/linux/arch/s390/include/asm/
A Dword-at-a-time.h23 return __fls(data); in create_zero_mask()
/linux/lib/math/
A Dint_sqrt.c27 m = 1UL << (__fls(x) & ~1UL); in int_sqrt()
/linux/drivers/rapidio/devices/
A Dtsi721.h167 #define TSI721_IDQ_SIZE_VAL(size) (__fls(size) - 4)
191 #define TSI721_IBWIN_SIZE(size) (__fls(size) - 12)
236 #define TSI721_OBWIN_SIZE(size) (__fls(size) - 15)
314 #define TSI721_DMAC_DSSZ_SIZE(size) (__fls(size) - 4)
/linux/drivers/soc/ixp4xx/
A Dixp4xx-qmgr.c151 i = __fls(en_bitmap); /* number of the last "low" queue */ in qmgr_irq1_a0()
177 i = __fls(req_bitmap); /* number of the last "high" queue */ in qmgr_irq2_a0()
196 i = __fls(req_bitmap); /* number of the last queue */ in qmgr_irq()
/linux/drivers/staging/media/ipu3/
A Dipu3-dmamap.c53 for (order_mask &= (2U << __fls(count)) - 1; in imgu_dmamap_alloc_buffer()
55 unsigned int order = __fls(order_mask); in imgu_dmamap_alloc_buffer()
/linux/arch/mips/include/asm/
A Dbitops.h330 static __always_inline unsigned long __fls(unsigned long word) in __fls() function
398 return __fls(word & -word); in __ffs()
/linux/lib/
A Dclosure.c22 flags & CLOSURE_GUARD_MASK, (unsigned) __fls(r))) in closure_put_after_sub_checks()
27 flags & ~CLOSURE_DESTRUCTOR, (unsigned) __fls(flags)); in closure_put_after_sub_checks()
/linux/include/asm-generic/
A Dword-at-a-time.h50 #define zero_bytemask(mask) (~1ul << __fls(mask))

Completed in 753 milliseconds

123456