Loading...
Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 18 files as a function:
- arch/alpha/include/asm/bitops.h, line 394 (as a function)
- arch/arc/include/asm/bitops.h, line 315 (as a function)
- arch/arc/include/asm/bitops.h, line 358 (as a function)
- arch/c6x/include/asm/bitops.h, line 57 (as a function)
- arch/hexagon/include/asm/bitops.h, line 214 (as a function)
- arch/ia64/include/asm/bitops.h, line 392 (as a function)
- arch/m68k/include/asm/bitops.h, line 505 (as a function)
- arch/mips/include/asm/bitops.h, line 544 (as a function)
- arch/openrisc/include/asm/bitops/fls.h, line 18 (as a function)
- arch/parisc/include/asm/bitops.h, line 191 (as a function)
- arch/powerpc/include/asm/bitops.h, line 222 (as a function)
- arch/s390/include/asm/bitops.h, line 400 (as a function)
- arch/sparc/lib/fls.S, line 14 (as a function)
- arch/unicore32/include/asm/bitops.h, line 25 (as a function)
- arch/x86/include/asm/bitops.h, line 454 (as a function)
- arch/xtensa/include/asm/bitops.h, line 72 (as a function)
- include/asm-generic/bitops/builtin-fls.h, line 12 (as a function)
- include/asm-generic/bitops/fls.h, line 13 (as a function)
Documented in 6 files:
- arch/c6x/include/asm/bitops.h, line 50
- arch/s390/include/asm/bitops.h, line 393
- arch/x86/include/asm/bitops.h, line 443
- include/asm-generic/bitops/builtin-fls.h, line 5
- include/asm-generic/bitops/fls.h, line 5
- tools/include/asm-generic/bitops/fls.h, line 5
Referenced in 294 files:
- arch/arc/include/asm/bitops.h, 2 times
- arch/arc/kernel/mcip.c, line 264
- arch/arm/include/asm/word-at-a-time.h, line 41
- arch/arm/kernel/setup.c, line 634
- arch/arm/mach-imx/tzic.c, line 142
- arch/arm/mach-pxa/irq.c, line 106
- arch/arm/plat-orion/pcie.c, line 171
- arch/arm/probes/uprobes/actions-arm.c, line 47
- arch/arm/vfp/vfpdouble.c, 4 times
- arch/arm/vfp/vfpsingle.c, 2 times
- arch/arm64/kernel/insn.c, line 1529
- arch/arm64/kernel/setup.c, line 147
- arch/c6x/kernel/traps.c, line 317
- arch/ia64/pci/pci.c, 2 times
- arch/m68k/include/asm/bitops.h, line 517
- arch/m68k/mm/mcfmmu.c, line 177
- arch/m68k/mm/motorola.c, line 247
- arch/mips/cavium-octeon/octeon-irq.c, line 2954
- arch/mips/include/asm/bitops.h, line 602
- arch/mips/kernel/cpu-probe.c, line 937
- arch/mips/kernel/pm-cps.c, line 590
- arch/mips/kernel/traps.c, line 2264
- arch/mips/lantiq/irq.c, line 285
- arch/mips/loongson64/common/mem.c, line 33
- arch/mips/pci/msi-xlp.c, 2 times
- arch/mips/pci/pci-lantiq.c, line 90
- arch/mips/rb532/irq.c, 2 times
- arch/powerpc/sysdev/xive/native.c, line 629
- arch/sparc/lib/NG4patch.S, line 60
- arch/sparc/lib/fls.S, 2 times
- arch/unicore32/include/asm/bitops.h, 2 times
- arch/x86/crypto/camellia-x86_64-asm_64.S, 2 times
- arch/x86/kernel/apic/apic.c, line 2208
- drivers/acpi/pmic/intel_pmic_bxtwc.c, line 341
- drivers/ata/acard-ahci.c, line 462
- drivers/ata/ahci.c, line 1809
- drivers/ata/ahci_brcm.c, line 237
- drivers/ata/libahci_platform.c, line 568
- drivers/ata/libata-core.c, 8 times
- drivers/ata/libata-transport.c, 2 times
- drivers/ata/sata_highbank.c, line 533
- drivers/base/platform.c, 2 times
- drivers/block/loop.c, line 2067
- drivers/block/nbd.c, line 2197
- drivers/bus/brcmstb_gisb.c, line 381
- drivers/char/random.c, line 1175
- drivers/clk/at91/clk-programmable.c, line 150
- drivers/clk/clk-mux.c, line 148
- drivers/clk/qcom/clk-alpha-pll.c, 2 times
- drivers/clk/st/clkgen-pll.c, line 687
- drivers/clk/tegra/clk-tegra210.c, line 1559
- drivers/clk/ti/clkctrl.c, line 341
- drivers/clk/ti/divider.c, 3 times
- drivers/clk/ti/mux.c, 4 times
- drivers/clocksource/arm_arch_timer.c, line 779
- drivers/clocksource/samsung_pwm_timer.c, 3 times
- drivers/crypto/nx/nx-842-pseries.c, line 140
- drivers/dma/at_hdmac_regs.h, line 294
- drivers/dma/dw/core.c, 2 times
- drivers/dma/imx-sdma.c, line 839
- drivers/dma/mpc512x_dma.c, line 337
- drivers/dma/sirf-dma.c, line 280
- drivers/dma/tegra210-adma.c, 2 times
- drivers/dma/xilinx/xilinx_dma.c, line 2421
- drivers/gpio/gpio-bcm-kona.c, line 284
- drivers/gpio/gpio-dwapb.c, line 198
- drivers/gpio/gpio-htc-egpio.c, 2 times
- drivers/gpio/gpio-menz127.c, line 56
- drivers/gpio/gpio-mxc.c, line 263
- drivers/gpio/gpio-mxs.c, line 161
- drivers/gpio/gpio-pca953x.c, 5 times
- drivers/gpio/gpio-stp-xway.c, line 246
- drivers/gpu/drm/amd/amdgpu/ci_dpm.c, 2 times
- drivers/gpu/drm/amd/amdkfd/kfd_device.c, line 425
- drivers/gpu/drm/amd/powerplay/amd_powerplay.c, 2 times
- drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c, line 287
- drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c, line 807
- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c, 2 times
- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c, 2 times
- drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c, 2 times
- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c, line 277
- drivers/gpu/drm/exynos/exynos_drm_fimc.c, 2 times
- drivers/gpu/drm/i915/i915_debugfs.c, 3 times
- drivers/gpu/drm/i915/i915_gem_batch_pool.c, line 91
- drivers/gpu/drm/i915/i915_gem_internal.c, line 95
- drivers/gpu/drm/i915/intel_engine_cs.c, 2 times
- drivers/gpu/drm/i915/intel_workarounds.c, line 758
- drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c, line 29
- drivers/gpu/drm/msm/disp/mdp5/mdp5_mdss.c, line 62
- drivers/gpu/drm/nouveau/dispnv50/disp.c, line 2248
- drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c, line 140
- drivers/hid/usbhid/hid-core.c, line 1097
- drivers/hwmon/nct6683.c, 2 times
- drivers/hwmon/nct6775.c, 3 times
- drivers/i2c/busses/i2c-at91.c, line 203
- drivers/ide/amd74xx.c, line 268
- drivers/ide/ide-dma.c, line 327
- drivers/ide/ide-xfer-mode.c, 2 times
- drivers/ide/via82cxxx.c, line 442
- drivers/iio/adc/vf610_adc.c, line 201
- drivers/iio/light/si1133.c, line 64
- drivers/infiniband/hw/hns/hns_roce_hw_v2.c, 2 times
- drivers/infiniband/hw/mlx4/qp.c, 2 times
- drivers/infiniband/hw/mlx5/qp.c, 2 times
- drivers/infiniband/hw/mthca/mthca_mr.c, 5 times
- drivers/infiniband/hw/mthca/mthca_qp.c, 2 times
- drivers/infiniband/hw/mthca/mthca_srq.c, line 660
- drivers/infiniband/hw/ocrdma/ocrdma_hw.c, line 557
- drivers/infiniband/hw/qedr/verbs.c, 2 times
- drivers/input/keyboard/pmic8xxx-keypad.c, line 442
- drivers/iommu/intel-iommu.c, 2 times
- drivers/irqchip/irq-ath79-cpu.c, line 51
- drivers/irqchip/irq-clps711x.c, 2 times
- drivers/irqchip/irq-dw-apb-ictl.c, 2 times
- drivers/irqchip/irq-mips-cpu.c, line 144
- drivers/irqchip/irq-versatile-fpga.c, 2 times
- drivers/irqchip/irq-vic.c, 2 times
- drivers/mailbox/mtk-cmdq-mailbox.c, line 291
- drivers/md/bcache/bset.c, 2 times
- drivers/md/dm-integrity.c, line 2618
- drivers/md/dm-kcopyd.c, line 130
- drivers/md/dm-unstripe.c, line 89
- drivers/media/dvb-core/dvb_math.c, line 76
- drivers/media/dvb-frontends/dib8000.c, line 2036
- drivers/media/i2c/ad5820.c, line 44
- drivers/media/i2c/mt9v032.c, 2 times
- drivers/media/i2c/ov9650.c, line 887
- drivers/media/pci/cx88/cx88-input.c, line 556
- drivers/media/pci/tw5864/tw5864-h264.c, line 92
- drivers/media/platform/coda/coda-h264.c, line 211
- drivers/media/usb/uvc/uvc_status.c, line 286
- drivers/mfd/menelaus.c, line 790
- drivers/mfd/twl4030-irq.c, 2 times
- drivers/misc/echo/echo.c, line 152
- drivers/misc/sgi-gru/grutlbpurge.c, 3 times
- drivers/mmc/core/core.c, 2 times
- drivers/mmc/host/atmel-mci.c, line 730
- drivers/mmc/host/mvsdio.c, line 93
- drivers/mmc/host/pxamci.c, line 472
- drivers/mmc/host/sh_mmcif.c, 2 times
- drivers/mtd/nand/bbt.c, 3 times
- drivers/mtd/nand/core.c, 2 times
- drivers/mtd/nand/raw/atmel/nand-controller.c, line 81
- drivers/mtd/nand/raw/atmel/pmecc.c, 3 times
- drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c, line 435
- drivers/mtd/nand/raw/denali.c, line 1130
- drivers/mtd/nand/raw/jz4780_nand.c, line 167
- drivers/mtd/nand/raw/mxc_nand.c, line 1309
- drivers/mtd/nand/raw/nand_base.c, 6 times
- drivers/mtd/nand/raw/nand_bch.c, 3 times
- drivers/mtd/nand/raw/sunxi_nand.c, 2 times
- drivers/mtd/nand/spi/core.c, line 33
- drivers/mtd/spi-nor/spi-nor.c, 2 times
- drivers/mux/mmio.c, line 89
- drivers/net/can/c_can/c_can.c, 2 times
- drivers/net/can/rx-offload.c, line 230
- drivers/net/dsa/bcm_sf2_cfp.c, line 1134
- drivers/net/ethernet/aquantia/atlantic/aq_ring.c, line 301
- drivers/net/ethernet/chelsio/cxgb3/t3_hw.c, 6 times
- drivers/net/ethernet/chelsio/cxgb4/t4_hw.c, 4 times
- drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c, line 481
- drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h, line 295
- drivers/net/ethernet/cisco/enic/enic_main.c, line 2964
- drivers/net/ethernet/emulex/benet/be_cmds.c, 3 times
- drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c, line 43
- drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c, line 102
- drivers/net/ethernet/intel/e1000/e1000_main.c, line 3142
- drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c, line 1109
- drivers/net/ethernet/intel/fm10k/fm10k_iov.c, 2 times
- drivers/net/ethernet/intel/fm10k/fm10k_main.c, 4 times
- drivers/net/ethernet/intel/fm10k/fm10k_netdev.c, 6 times
- drivers/net/ethernet/intel/fm10k/fm10k_pci.c, 6 times
- drivers/net/ethernet/marvell/mv643xx_eth.c, line 2293
- drivers/net/ethernet/marvell/mvneta.c, 2 times
- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c, 2 times
- drivers/net/ethernet/mellanox/mlx4/mr.c, 2 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c, 3 times
- drivers/net/ethernet/netronome/nfp/bpf/jit.c, line 1533
- drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c, line 619
- drivers/net/ethernet/sfc/efx.c, line 2864
- drivers/net/ethernet/sfc/falcon/efx.c, line 2520
- drivers/net/wireless/ath/ath10k/mac.c, 3 times
- drivers/net/wireless/ath/ath9k/ar9003_paprd.c, line 409
- drivers/net/wireless/broadcom/b43/phy_lp.c, 2 times
- drivers/net/wireless/broadcom/b43/phy_n.c, 3 times
- drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c, line 2522
- drivers/net/wireless/intel/iwlegacy/3945-rs.c, line 655
- drivers/net/wireless/intel/iwlegacy/4965-rs.c, line 2212
- drivers/net/wireless/intel/iwlegacy/common.c, line 1526
- drivers/net/wireless/intel/iwlwifi/dvm/rs.c, line 2723
- drivers/net/wireless/intel/iwlwifi/dvm/scan.c, line 931
- drivers/net/wireless/mediatek/mt76/mt76x0/tx.c, 2 times
- drivers/net/wireless/mediatek/mt76/mt76x2_common.c, 2 times
- drivers/net/wireless/mediatek/mt7601u/phy.c, line 614
- drivers/net/wireless/mediatek/mt7601u/tx.c, 2 times
- drivers/net/wireless/ralink/rt2x00/rt2x00mac.c, 2 times
- drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c, 6 times
- drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c, 2 times
- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c, 2 times
- drivers/net/wireless/realtek/rtlwifi/base.c, 2 times
- drivers/ntb/hw/mscc/ntb_hw_switchtec.c, line 895
- drivers/pci/controller/pci-mvebu.c, 3 times
- drivers/pci/controller/pcie-mediatek.c, 2 times
- drivers/pci/endpoint/pci-epc-mem.c, line 31
- drivers/pinctrl/pinctrl-falcon.c, 2 times
- drivers/pinctrl/pinctrl-single.c, line 707
- drivers/pinctrl/samsung/pinctrl-exynos.c, line 444
- drivers/pinctrl/samsung/pinctrl-s3c64xx.c, 3 times
- drivers/pinctrl/stm32/pinctrl-stm32.c, line 1083
- drivers/platform/chrome/cros_ec_proto.c, line 350
- drivers/pwm/pwm-samsung.c, line 131
- drivers/rtc/rtc-max8997.c, line 87
- drivers/scsi/be2iscsi/be_cmds.c, line 849
- drivers/scsi/csiostor/csio_wr.c, line 1377
- drivers/soc/dove/pmu.c, line 241
- drivers/spi/spi-imx.c, 2 times
- drivers/spi/spi-orion.c, 2 times
- drivers/spi/spi-stm32.c, 2 times
- drivers/spi/spi.c, line 258
- drivers/staging/greybus/audio_topology.c, line 459
- drivers/staging/mt7621-eth/ethtool.c, 2 times
- drivers/staging/rtlwifi/base.c, 2 times
- drivers/thermal/armada_thermal.c, line 336
- drivers/thermal/qcom/tsens-v2.c, line 59
- drivers/tty/serial/8250/8250_dw.c, line 469
- drivers/tty/serial/fsl_lpuart.c, line 997
- drivers/tty/serial/max310x.c, line 813
- drivers/tty/serial/sh-sci.c, line 98
- drivers/usb/core/config.c, 3 times
- drivers/usb/gadget/udc/atmel_usba_udc.c, 2 times
- drivers/usb/gadget/udc/bdc/bdc_cmd.c, line 197
- drivers/usb/gadget/udc/bdc/bdc_core.c, line 240
- drivers/usb/host/whci/qset.c, line 73
- drivers/usb/host/xhci-mem.c, 2 times
- drivers/usb/host/xhci.c, line 1281
- drivers/vfio/pci/vfio_pci_intrs.c, line 281
- drivers/xen/balloon.c, line 120
- drivers/xen/mem-reservation.c, line 26
- fs/9p/vfs_super.c, line 81
- fs/ceph/inode.c, line 803
- fs/ext4/mballoc.c, 4 times
- fs/fscache/object.c, 2 times
- fs/nfs/flexfilelayout/flexfilelayout.c, 60 times
- fs/ubifs/lpt.c, 6 times
- fs/ubifs/super.c, 2 times
- fs/xfs/libxfs/xfs_bit.h, line 32
- include/asm-generic/bitops/fls64.h, 2 times
- include/asm-generic/getorder.h, line 21
- include/linux/bitops.h, 3 times
- include/linux/count_zeros.h, line 30
- include/linux/log2.h, line 28
- include/linux/sched.h, line 1333
- include/net/red.h, 2 times
- kernel/bpf/lpm_trie.c, line 177
- kernel/time/timekeeping_debug.c, line 76
- kernel/trace/tracing_map.c, 2 times
- lib/bch.c, line 288
- lib/bitmap.c, line 341
- lib/clz_ctz.c, 2 times
- lib/div64.c, 2 times
- lib/reciprocal_div.c, 2 times
- mm/percpu.c, line 221
- mm/slab.c, 2 times
- mm/slab_common.c, line 1041
- mm/slub.c, line 3233
- mm/vmalloc.c, line 626
- mm/vmstat.c, 2 times
- net/mac80211/sta_info.c, 2 times
- net/netfilter/ipset/ip_set_hash_gen.h, 2 times
- net/netfilter/ipvs/ip_vs_mh.c, line 369
- net/netfilter/xt_recent.c, line 743
- net/sched/cls_flow.c, line 427
- net/sched/sch_qfq.c, line 822
- net/sunrpc/auth.c, line 55
- net/vmw_vsock/vmci_transport.c, line 1052
- sound/core/jack.c, 2 times
- sound/drivers/pcsp/pcsp.c, line 70
- sound/pci/hda/patch_ca0132.c, 19 times
- sound/soc/bcm/bcm2835-i2s.c, line 333
- sound/soc/codecs/88pm860x-codec.c, 2 times
- sound/soc/codecs/ab8500-codec.c, 2 times
- sound/soc/codecs/da7218.c, line 2042
- sound/soc/codecs/da7219.c, line 1414
- sound/soc/codecs/max98090.c, 2 times
- sound/soc/codecs/nau8825.c, line 363
- sound/soc/codecs/pcm512x.c, line 660
- sound/soc/codecs/tlv320aic3x.c, line 172
- sound/soc/codecs/twl4030.c, 4 times
- sound/soc/meson/axg-card.c, 2 times
- sound/soc/soc-dapm.c, 5 times
- sound/soc/soc-ops.c, 6 times
- tools/include/asm-generic/bitops/fls64.h, 2 times
- tools/include/linux/bitops.h, line 61
- tools/include/linux/log2.h, line 27