fls64 391 arch/alpha/include/asm/bitops.h return fls64(x) - 1; fls64 396 arch/alpha/include/asm/bitops.h return fls64(x); fls64 38 arch/arm64/include/asm/word-at-a-time.h return fls64(mask) >> 3; fls64 35 arch/arm64/kvm/va_layout.c kva_msb = fls64((u64)phys_to_virt(memblock_start_of_DRAM()) ^ fls64 111 arch/arm64/net/bpf_jit_comp.c shift = max(round_down((inverse ? (fls64(rev_tmp) - 1) : fls64 112 arch/arm64/net/bpf_jit_comp.c (fls64(nrm_tmp) - 1)), 16), 0); fls64 1296 arch/mips/cavium-octeon/octeon-irq.c int bit = fls64(ciu_sum) - 1; fls64 1313 arch/mips/cavium-octeon/octeon-irq.c int bit = fls64(ciu_sum) - 1; fls64 1332 arch/mips/cavium-octeon/octeon-irq.c int bit = fls64(ciu_sum) - 1; fls64 1981 arch/mips/cavium-octeon/octeon-irq.c line = fls64(sum) - 1; fls64 1988 arch/mips/cavium-octeon/octeon-irq.c bit = fls64(src) - 1; fls64 2018 arch/mips/cavium-octeon/octeon-irq.c line = fls64(sum) - 1; fls64 507 arch/mips/kernel/cpu-probe.c c->vmbits = fls64(read_c0_entryhi() & 0x3fffffffffffe000ULL); fls64 336 arch/mips/pci/msi-octeon.c bit = fls64(msi_bits); fls64 326 arch/mips/sibyte/bcm1480/irq.c do_IRQ(fls64(mask_h) - 1); fls64 328 arch/mips/sibyte/bcm1480/irq.c do_IRQ(63 + fls64(mask_l)); fls64 290 arch/mips/sibyte/sb1250/irq.c do_IRQ(fls64(mask) - 1); fls64 51 arch/powerpc/platforms/powernv/opal-irqchip.c hwirq = fls64(e) - 1; fls64 42 arch/riscv/include/asm/word-at-a-time.h return fls64(mask) >> 3; fls64 409 arch/s390/include/asm/bitops.h return fls64(word); fls64 1074 arch/sparc/mm/init_64.c m_end += pa_start & ~((1ul << fls64(m_mask)) - 1); fls64 609 arch/x86/kernel/cpu/mtrr/generic.c hi = fls64(tmp); fls64 96 arch/x86/kernel/fpu/xstate.c xfeature_idx = fls64(xfeatures_print)-1; fls64 3973 arch/x86/kvm/x86.c int xfeature_nr = fls64(xfeature_mask) - 1; fls64 4016 arch/x86/kvm/x86.c int xfeature_nr = fls64(xfeature_mask) - 1; fls64 595 block/sed-opal.c msb = fls64(number); fls64 1088 drivers/acpi/arm64/iort.c msb = fls64(dmaaddr + size - 1); fls64 24 drivers/crypto/ccp/ccp-dmaengine.c (mask == 0) ? 64 : fls64(mask); \ fls64 206 drivers/extcon/extcon-fsa9480.c int dev = fls64(mask) - 1; fls64 210 drivers/extcon/extcon-fsa9480.c int cable = fls64(cables) - 1; fls64 1357 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c *frag = min((unsigned)ffs(start) - 1, (unsigned)fls64(end - start) - 1); fls64 2611 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c tmp = DIV_ROUND_UP(fls64(tmp) - 1, 9) - 1; fls64 291 drivers/gpu/drm/i915/i915_syncmap.c above = fls64(__sync_branch_prefix(p, id) ^ p->prefix); fls64 664 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c for (pot = fls64(hole_end - 1) - 1; fls64 700 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c __func__, pot, fls64(hole_end - 1) - 1)) { fls64 52 drivers/gpu/drm/nouveau/nvif/fifo.c device->runlists = fls64(a->v.runlists.data); fls64 302 drivers/gpu/drm/panfrost/panfrost_perfcnt.c ncores = fls64(pfdev->features.shader_present); fls64 81 drivers/hwmon/lochnagar-hwmon.c if (fls64(man) + exp > (int)sizeof(long) * 8 - 1) fls64 5843 drivers/infiniband/hw/hfi1/chip.c int posn = fls64(reg_copy); fls64 155 drivers/iommu/fsl_pamu.c return fls64(addrspace_size) - 2; fls64 621 drivers/md/bcache/bset.c f->exponent = fls64(KEY_INODE(r) ^ KEY_INODE(l)) + 64; fls64 623 drivers/md/bcache/bset.c f->exponent = fls64(r->low ^ l->low); fls64 3088 drivers/md/dm-integrity.c for (test_bit = fls64(ic->meta_device_sectors) - 1; test_bit >= 3; test_bit--) { fls64 296 drivers/md/md-cluster.c slot = fls64((u64)cinfo->recovery_map) - 1; fls64 60 drivers/media/rc/imon_raw.c bit = fls64(data & (BIT_ULL(offset) - 1)); fls64 78 drivers/media/rc/imon_raw.c bit = fls64(~data & (BIT_ULL(offset) - 1)); fls64 2132 drivers/mtd/nand/raw/brcmnand/brcmnand.c if (fls64(cfg->device_size) < fls64(BRCMNAND_MIN_DEVSIZE)) { fls64 2137 drivers/mtd/nand/raw/brcmnand/brcmnand.c device_size = fls64(cfg->device_size) - fls64(BRCMNAND_MIN_DEVSIZE); fls64 255 drivers/net/ethernet/mellanox/mlx4/en_clock.c u64 max_val_cycles_rounded = 1ULL << fls64(max_val_cycles - 1); fls64 313 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c map->map[i] = fls64(map->map[i]) - 1; fls64 97 drivers/pci/controller/pcie-cadence-ep.c sz = 1ULL << fls64(sz - 1); fls64 18 drivers/pci/controller/pcie-cadence.c u64 sz = 1ULL << fls64(size - 1); fls64 73 drivers/pci/controller/pcie-rockchip-ep.c u64 sz = 1ULL << fls64(size - 1); fls64 179 drivers/pci/controller/pcie-rockchip-ep.c sz = 1ULL << fls64(sz - 1); fls64 33 drivers/pci/endpoint/pci-epc-mem.c order = fls64(size); fls64 359 drivers/pci/pci-sysfs.c return sprintf(buf, "%d\n", fls64(pdev->dma_mask)); fls64 367 drivers/pci/pci-sysfs.c return sprintf(buf, "%d\n", fls64(dev->coherent_dma_mask)); fls64 640 drivers/thunderbolt/tb.h return (fls64(route) + TB_ROUTE_SHIFT - 1) / TB_ROUTE_SHIFT; fls64 480 drivers/w1/masters/ds1wm.c ms_discrep_bit = fls64(d) - 1; fls64 321 drivers/xen/swiotlb-xen.c fls64(dma_mask), dma_handle) != 0) { fls64 38 fs/xfs/libxfs/xfs_bit.h return fls64(v) - 1; fls64 46 include/asm-generic/getorder.h return fls64(size); fls64 171 include/linux/bitops.h return fls64(l); fls64 28 include/linux/count_zeros.h return BITS_PER_LONG - fls64(x); fls64 32 include/linux/log2.h return fls64(n) - 1; fls64 163 include/linux/netdev_features.h return fls64(feature) - 1; fls64 183 kernel/bpf/lpm_trie.c prefixlen = 64 - fls64(diff); fls64 24 kernel/bpf/tnum.c u8 bits = fls64(chi); fls64 51 kernel/dma/direct.c return (1ULL << (fls64(max_dma) - 1)) * 2 - 1; fls64 3602 kernel/events/core.c count_fls = fls64(count); fls64 3603 kernel/events/core.c nsec_fls = fls64(nsec); fls64 3604 kernel/events/core.c frequency_fls = fls64(frequency); fls64 766 kernel/fork.c if (fls64(nr_pages) + fls64(PAGE_SIZE) > 64) fls64 1004 kernel/time/timekeeping.c if (((int)sizeof(u64)*8 - fls64(mult) < fls64(tmp)) || fls64 1005 kernel/time/timekeeping.c ((int)sizeof(u64)*8 - fls64(mult) < fls64(rem))) fls64 51 lib/clz_ctz.c return 64 - fls64((u64)val); fls64 55 lib/math/int_sqrt.c m = 1ULL << ((fls64(x) - 1) & ~1ULL); fls64 200 net/ipv4/tcp_cubic.c b = fls64(a); fls64 1666 net/mac80211/iface.c if (__ffs64(mask) + hweight64(mask) != fls64(mask)) { fls64 60 tools/include/linux/bitops.h return fls64(l); fls64 29 tools/include/linux/log2.h return fls64(n) - 1;