/linux/fs/bcachefs/ |
H A D | eytzinger.h | 76 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/ |
H A D | irq.c | 34 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/ |
H A D | fls64.S | 14 ENTRY(__fls) 60 ENDPROC(__fls) 61 EXPORT_SYMBOL(__fls)
|
H A D | NG4patch.S | 61 NG_DO_PATCH(__fls, __NG4fls)
|
/linux/arch/arm/mach-dove/ |
H A D | irq.c | 50 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/ |
H A D | find.c | 35 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/ |
H A D | bitops.h | 85 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/ |
H A D | load_unaligned_zeropad.c | 24 static inline unsigned long __fls(unsigned long x); 30 static inline unsigned long __fls(unsigned long x) in __fls() function
|
/linux/arch/openrisc/include/asm/bitops/ |
H A D | __fls.h | 14 static inline unsigned long __fls(unsigned long x) in __fls() function
|
/linux/drivers/irqchip/ |
H A D | irq-orion.c | 44 u32 hwirq = __fls(stat); in orion_handle_irq() 117 u32 hwirq = __fls(stat); in orion_bridge_irq_handler()
|
H A D | irq-rda-intc.c | 55 hwirq = __fls(stat); in rda_handle_irq()
|
/linux/tools/include/asm-generic/bitops/ |
H A D | fls64.h | 31 return __fls(x) + 1; in fls64()
|
H A D | __fls.h | 45 #define __fls(word) generic___fls(word) macro
|
/linux/include/asm-generic/bitops/ |
H A D | fls64.h | 31 return __fls(x) + 1; in fls64()
|
/linux/drivers/rapidio/devices/ |
H A D | tsi721.h | 167 #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/arch/csky/include/asm/ |
H A D | bitops.h | 55 static __always_inline unsigned long __fls(unsigned long x) in __fls() function
|
/linux/arch/arm/mach-orion5x/ |
H A D | irq.c | 34 unsigned int hwirq = 1 + __fls(stat); in orion5x_legacy_handle_irq()
|
/linux/arch/sparc/include/asm/ |
H A D | bitops_64.h | 27 int __fls(unsigned long word);
|
/linux/lib/math/ |
H A D | int_sqrt.c | 27 m = 1UL << (__fls(x) & ~1UL); in int_sqrt()
|
/linux/arch/s390/include/asm/ |
H A D | word-at-a-time.h | 23 return __fls(data); in create_zero_mask()
|
/linux/arch/mips/include/asm/ |
H A D | bitops.h | 330 static __always_inline unsigned long __fls(unsigned long word) in __fls() function 398 return __fls(word & -word); in __ffs()
|
/linux/drivers/staging/media/ipu3/ |
H A D | ipu3-dmamap.c | 53 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/lib/ |
H A D | closure.c | 22 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/ |
H A D | word-at-a-time.h | 50 #define zero_bytemask(mask) (~1ul << __fls(mask))
|
/linux/arch/arm/mm/ |
H A D | pmsa-v7.c | 151 phys_addr_t p2size = 1 << __fls(asize); in try_split_region() 213 phys_addr_t p2size = (1 << __fls(diff)) - 1; in allocate_region()
|