Home
last modified time | relevance | path

Searched refs:fls64 (Results 1 – 25 of 73) sorted by relevance

123

/linux/tools/include/asm-generic/bitops/
H A Dfls64.h19 static __always_inline int fls64(__u64 x) in fls64() function
27 static __always_inline int fls64(__u64 x) in fls64() function
/linux/include/asm-generic/bitops/
H A Dfls64.h19 static __always_inline int fls64(__u64 x) in fls64() function
27 static __always_inline int fls64(__u64 x) in fls64() function
/linux/arch/alpha/include/asm/
H A Dbitops.h386 static inline int fls64(unsigned long word) in fls64() function
393 static inline int fls64(unsigned long x) in fls64() function
408 return fls64(x) - 1; in __fls()
413 return fls64(x); in fls()
/linux/fs/bcachefs/
H A Dvarint.c23 unsigned bits = fls64(v|1); in bch2_varint_encode()
84 unsigned bits = fls64(v|1); in bch2_varint_encode_fast()
H A Dbkey.c212 if (fls64(v) > bits) in set_inc_field()
392 if (fls64(v) > bits) { in set_inc_field_lossy()
599 fls64(s->field_max[i] - s->field_min[i]), in bch2_bkey_format_done()
728 return fls64(l_v ^ r_v) - 1 + nr_key_bits; in bch2_bkey_greatest_differing_bit()
/linux/arch/s390/include/asm/
H A Dbitops.h224 static inline int fls64(unsigned long word) in fls64() function
240 return fls64(word); in fls()
/linux/include/linux/
H A Dcount_zeros.h28 return BITS_PER_LONG - fls64(x); in count_leading_zeros()
H A Dlog2.h32 return fls64(n) - 1; in __ilog2_u64()
/linux/include/asm-generic/
H A Dgetorder.h46 return fls64(size); in get_order()
/linux/lib/
H A Dclz_ctz.c34 return 64 - fls64(val); in __clzdi2()
/linux/arch/riscv/include/asm/
H A Dword-at-a-time.h44 return fls64(mask) >> 3; in find_zero()
/linux/lib/math/
H A Dint_sqrt.c56 m = 1ULL << ((fls64(x) - 1) & ~1ULL); in int_sqrt64()
/linux/arch/mips/sibyte/bcm1480/
H A Dirq.c326 do_IRQ(fls64(mask_h) - 1); in dispatch_ip2()
328 do_IRQ(63 + fls64(mask_l)); in dispatch_ip2()
/linux/fs/xfs/libxfs/
H A Dxfs_bit.h38 return fls64(v) - 1; in xfs_highbit64()
/linux/tools/include/linux/
H A Dlog2.h29 return fls64(n) - 1; in __ilog2_u64()
H A Dbitops.h79 return fls64(l); in fls_long()
/linux/drivers/extcon/
H A Dextcon-fsa9480.c206 int dev = fls64(mask) - 1; in fsa9480_handle_change()
210 int cable = fls64(cables) - 1; in fsa9480_handle_change()
/linux/drivers/gpu/drm/nouveau/nvif/
H A Dfifo.c54 device->runlists = fls64(a->v.runlists.data); in nvif_fifo_runlists()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_cubic.c131 static int fls64(__u64 x) in fls64() function
248 b = fls64(a); in cubic_root()
/linux/arch/sparc/lib/
H A DMakefile20 lib-$(CONFIG_SPARC64) += fls64.o
/linux/drivers/net/wireguard/
H A Dallowedips.c84 return a ? fls64(a) + 64U : fls64(b); in fls128()
/linux/scripts/coccinelle/tests/
H A Dunsigned_lesser_than_zero.cocci40 identifier f !~ "^(ata_id_queue_depth|btrfs_copy_from_user|dma_map_sg|dma_map_sg_attrs|fls|fls64|ga…
/linux/arch/mips/sibyte/sb1250/
H A Dirq.c284 do_IRQ(fls64(mask) - 1); in dispatch_ip2()
/linux/arch/powerpc/include/asm/
H A Dbitops.h297 static __always_inline int fls64(__u64 x) in fls64() function
/linux/arch/arm64/kvm/
H A Dva_layout.c69 tag_lsb = fls64((u64)phys_to_virt(memblock_start_of_DRAM()) ^ in kvm_compute_layout()

123