Defined in 2 files as a macro:
Defined in 22 files as a function:
- arch/alpha/include/asm/bitops.h, line 393 (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/arm/include/asm/bitops.h, line 273 (as a function)
- arch/avr32/include/asm/bitops.h, line 252 (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 391 (as a function)
- arch/m68k/include/asm/bitops.h, line 500 (as a function)
- arch/mips/include/asm/bitops.h, line 543 (as a function)
- arch/mn10300/include/asm/bitops.h, line 191 (as a function)
- arch/openrisc/include/asm/bitops/fls.h, line 18 (as a function)
- arch/parisc/include/asm/bitops.h, line 190 (as a function)
- arch/powerpc/include/asm/bitops.h, line 236 (as a function)
- arch/s390/include/asm/bitops.h, line 397 (as a function)
- arch/tile/include/asm/bitops.h, line 59 (as a function)
- arch/unicore32/include/asm/bitops.h, line 25 (as a function)
- arch/x86/include/asm/bitops.h, line 450 (as a function)
- arch/xtensa/include/asm/bitops.h, line 72 (as a function)
- include/asm-generic/bitops/builtin-fls.h, line 11 (as a function)
- include/asm-generic/bitops/fls.h, line 12 (as a function)
- tools/testing/radix-tree/linux/bitops/fls.h, line 12 (as a function)
Documented in 9 files:
Referenced in 249 files:
- arch/arc/include/asm/bitops.h, 2 times
- arch/arc/kernel/mcip.c, line 195
- arch/arm/include/asm/bitops.h, 2 times
- arch/arm/include/asm/word-at-a-time.h, line 40
- 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/net/bpf_jit_32.c, line 187
- 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/setup.c, line 142
- arch/avr32/include/asm/bitops.h, line 262
- arch/avr32/mach-at32ap/at32ap700x.c, line 389
- arch/avr32/mach-at32ap/extint.c, 2 times
- arch/avr32/mm/tlb.c, line 87
- arch/c6x/kernel/traps.c, line 322
- arch/frv/include/asm/bitops.h, line 240
- arch/ia64/pci/pci.c, 2 times
- arch/m68k/include/asm/bitops.h, line 512
- arch/m68k/mm/mcfmmu.c, line 172
- arch/m68k/mm/motorola.c, line 245
- arch/mips/cavium-octeon/octeon-irq.c, line 2952
- arch/mips/include/asm/bitops.h, line 601
- arch/mips/kernel/cpu-probe.c, line 918
- arch/mips/kernel/pm-cps.c, line 591
- arch/mips/kernel/traps.c, line 2245
- 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/mn10300/include/asm/bitops.h, line 220
- arch/unicore32/include/asm/bitops.h, 2 times
- arch/x86/crypto/camellia-x86_64-asm_64.S, 2 times
- arch/x86/kvm/lapic.c, line 320
- drivers/acpi/pmic/intel_pmic_bxtwc.c, line 341
- drivers/ata/acard-ahci.c, line 462
- drivers/ata/ahci.c, line 1644
- drivers/ata/ahci_brcm.c, line 243
- drivers/ata/libahci_platform.c, line 541
- 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 1956
- drivers/block/nbd.c, line 1019
- drivers/bus/brcmstb_gisb.c, line 360
- drivers/char/random.c, line 1071
- drivers/clk/at91/clk-programmable.c, line 150
- drivers/clk/clk-mux.c, line 129
- drivers/clk/qcom/clk-alpha-pll.c, line 463
- drivers/clk/st/clkgen-pll.c, line 687
- drivers/clk/tegra/clk-tegra210.c, line 1332
- drivers/clk/ti/divider.c, 3 times
- drivers/clk/ti/mux.c, 4 times
- drivers/clocksource/arm_arch_timer.c, line 433
- drivers/clocksource/samsung_pwm_timer.c, 3 times
- drivers/cpufreq/at32ap-cpufreq.c, line 79
- drivers/crypto/nx/nx-842-pseries.c, line 140
- drivers/dma/at_hdmac_regs.h, line 294
- drivers/dma/dw/core.c, line 917
- drivers/dma/imx-sdma.c, line 762
- 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 2353
- drivers/gpio/gpio-bcm-kona.c, line 284
- drivers/gpio/gpio-dwapb.c, line 135
- drivers/gpio/gpio-htc-egpio.c, 2 times
- drivers/gpio/gpio-menz127.c, line 56
- drivers/gpio/gpio-mxc.c, line 264
- drivers/gpio/gpio-mxs.c, line 177
- drivers/gpio/gpio-pca953x.c, 5 times
- drivers/gpio/gpio-stp-xway.c, line 232
- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c, line 308
- drivers/gpu/drm/exynos/exynos_drm_fimc.c, 2 times
- drivers/gpu/drm/i915/i915_debugfs.c, line 5235
- drivers/gpu/drm/i915/i915_gem_batch_pool.c, line 110
- drivers/gpu/drm/i915/i915_gem_internal.c, line 89
- drivers/gpu/drm/msm/mdp/mdp5/mdp5_mdss.c, line 60
- drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c, line 117
- drivers/hid/usbhid/hid-core.c, line 1080
- 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 329
- drivers/ide/ide-xfer-mode.c, 2 times
- drivers/ide/via82cxxx.c, line 442
- drivers/iio/adc/vf610_adc.c, line 201
- 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 554
- 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 115
- drivers/irqchip/irq-stm32-exti.c, line 149
- drivers/irqchip/irq-versatile-fpga.c, 2 times
- drivers/irqchip/irq-vic.c, 2 times
- drivers/md/bcache/bset.c, 2 times
- drivers/md/dm-kcopyd.c, line 129
- drivers/media/dvb-core/dvb_math.c, line 80
- 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 879
- drivers/media/pci/cx88/cx88-input.c, line 553
- drivers/media/pci/tw5864/tw5864-h264.c, line 92
- drivers/media/usb/uvc/uvc_status.c, line 192
- drivers/memory/atmel-ebi.c, 2 times
- drivers/mfd/menelaus.c, line 790
- drivers/mfd/twl4030-irq.c, 2 times
- drivers/misc/echo/echo.c, line 225
- drivers/misc/sgi-gru/grutlbpurge.c, 3 times
- drivers/mmc/core/core.c, 2 times
- drivers/mmc/host/atmel-mci.c, line 738
- drivers/mmc/host/mvsdio.c, line 93
- drivers/mmc/host/pxamci.c, line 489
- drivers/mmc/host/sh_mmcif.c, 2 times
- drivers/mtd/nand/atmel_nand.c, line 1127
- drivers/mtd/nand/bcm47xxnflash/ops_bcm4706.c, line 433
- drivers/mtd/nand/jz4780_nand.c, line 167
- drivers/mtd/nand/mxc_nand.c, line 1167
- drivers/mtd/nand/nand_base.c, 6 times
- drivers/mtd/nand/nand_bch.c, 3 times
- drivers/mtd/nand/pxa3xx_nand.c, line 547
- drivers/mtd/nand/sunxi_nand.c, 2 times
- drivers/net/can/c_can/c_can.c, 2 times
- drivers/net/ethernet/chelsio/cxgb3/t3_hw.c, 6 times
- drivers/net/ethernet/chelsio/cxgb4/t4_hw.c, 3 times
- drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c, line 483
- drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h, line 295
- drivers/net/ethernet/emulex/benet/be_cmds.c, 3 times
- drivers/net/ethernet/intel/e1000/e1000_main.c, line 3156
- drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c, line 1111
- 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 2298
- drivers/net/ethernet/marvell/mvneta.c, 2 times
- drivers/net/ethernet/marvell/mvpp2.c, 2 times
- drivers/net/ethernet/mellanox/mlx4/mr.c, 2 times
- drivers/net/ethernet/sfc/efx.c, line 2751
- drivers/net/ethernet/sfc/falcon/efx.c, line 2586
- 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/common.c, line 1526
- drivers/net/wireless/intel/iwlwifi/dvm/scan.c, line 931
- 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/rsi/rsi_91x_sdio.c, line 158
- drivers/pci/host/pci-mvebu.c, 3 times
- drivers/pinctrl/pinctrl-falcon.c, 2 times
- drivers/pinctrl/pinctrl-single.c, line 803
- drivers/pinctrl/samsung/pinctrl-exynos.c, line 449
- drivers/pinctrl/samsung/pinctrl-s3c64xx.c, 3 times
- drivers/platform/chrome/cros_ec_proto.c, line 296
- drivers/pwm/pwm-samsung.c, line 128
- drivers/rtc/rtc-max8997.c, line 93
- drivers/scsi/be2iscsi/be_cmds.c, line 846
- drivers/soc/dove/pmu.c, line 240
- drivers/spi/spi-imx.c, 2 times
- drivers/spi/spi-orion.c, 2 times
- drivers/spi/spi.c, line 249
- drivers/staging/greybus/audio_topology.c, line 462
- drivers/staging/lustre/lnet/libcfs/hash.c, line 2082
- drivers/staging/lustre/lustre/obdclass/lprocfs_status.c, line 1544
- drivers/tty/serial/fsl_lpuart.c, line 909
- drivers/tty/serial/max310x.c, line 733
- drivers/tty/serial/sh-sci.c, line 97
- drivers/usb/core/config.c, 2 times
- drivers/usb/gadget/udc/atmel_usba_udc.c, line 550
- drivers/usb/gadget/udc/bdc/bdc_cmd.c, line 202
- drivers/usb/gadget/udc/bdc/bdc_core.c, line 243
- drivers/usb/host/whci/qset.c, line 84
- drivers/usb/host/xhci-mem.c, 2 times
- drivers/usb/host/xhci.c, line 1201
- drivers/vfio/pci/vfio_pci_intrs.c, line 281
- drivers/xen/balloon.c, line 118
- fs/9p/vfs_super.c, line 80
- fs/ceph/inode.c, line 802
- fs/ext4/mballoc.c, 4 times
- fs/fscache/object.c, 2 times
- fs/nfs/flexfilelayout/flexfilelayout.c, 60 times
- fs/proc/array.c, line 140
- fs/ubifs/lpt.c, 6 times
- fs/ubifs/super.c, 2 times
- fs/xfs/libxfs/xfs_bit.h, line 44
- include/asm-generic/bitops/fls64.h, 2 times
- include/asm-generic/getorder.h, line 20
- include/linux/bitops.h, 3 times
- include/linux/count_zeros.h, line 30
- include/linux/log2.h, line 34
- kernel/time/timekeeping_debug.c, line 75
- kernel/trace/tracing_map.c, 2 times
- lib/bch.c, line 278
- lib/bitmap.c, line 341
- lib/clz_ctz.c, 2 times
- lib/div64.c, 2 times
- lib/idr.c, 3 times
- lib/reciprocal_div.c, line 17
- mm/percpu.c, line 212
- mm/slab.c, 2 times
- mm/slab_common.c, line 900
- mm/slub.c, line 3244
- mm/vmalloc.c, line 597
- mm/vmstat.c, 2 times
- net/mac80211/sta_info.c, 2 times
- net/mac80211/tx.c, 2 times
- net/netfilter/ipset/ip_set_hash_gen.h, 2 times
- net/netfilter/xt_recent.c, line 748
- net/sched/cls_flow.c, line 420
- net/sched/sch_qfq.c, line 833
- net/sunrpc/auth.c, line 54
- net/vmw_vsock/vmci_transport.c, line 1057
- sound/core/jack.c, 2 times
- sound/drivers/pcsp/pcsp.c, line 70
- sound/pci/hda/patch_ca0132.c, 19 times
- sound/soc/codecs/88pm860x-codec.c, 2 times
- sound/soc/codecs/ab8500-codec.c, 2 times
- sound/soc/codecs/da7218.c, line 2041
- sound/soc/codecs/da7219.c, line 1352
- sound/soc/codecs/max98090.c, 2 times
- sound/soc/codecs/nau8825.c, line 362
- sound/soc/codecs/pcm512x.c, line 663
- sound/soc/codecs/tlv320aic3x.c, line 170
- sound/soc/codecs/twl4030.c, 4 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 30
- tools/testing/radix-tree/linux/bitops/fls64.h, 2 times