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 443 (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 432
- 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 298 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 641
- 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 1569
- 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 249
- arch/mips/cavium-octeon/octeon-irq.c, line 2957
- 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 2265
- 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 642
- 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 2299
- drivers/acpi/pmic/intel_pmic_bxtwc.c, line 341
- drivers/ata/acard-ahci.c, line 464
- drivers/ata/ahci.c, line 1837
- drivers/ata/ahci_brcm.c, line 231
- drivers/ata/libahci_platform.c, line 575
- drivers/ata/libata-core.c, 8 times
- drivers/ata/libata-transport.c, 2 times
- drivers/ata/sata_highbank.c, line 535
- drivers/base/platform.c, 2 times
- drivers/block/brd.c, line 476
- drivers/block/loop.c, line 2204
- drivers/block/nbd.c, line 2291
- drivers/bus/brcmstb_gisb.c, line 381
- drivers/char/random.c, line 1183
- 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 345
- drivers/clk/ti/divider.c, 3 times
- drivers/clk/ti/mux.c, 4 times
- drivers/clocksource/arm_arch_timer.c, line 842
- 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 845
- 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 2441
- drivers/gpio/gpio-bcm-kona.c, line 284
- drivers/gpio/gpio-dwapb.c, line 200
- 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 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 432
- drivers/gpu/drm/amd/powerplay/amd_powerplay.c, 2 times
- drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c, line 285
- 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 283
- 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 2270
- drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c, line 140
- drivers/hid/usbhid/hid-core.c, line 1110
- 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 205
- 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 2667
- drivers/md/dm-kcopyd.c, line 132
- 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 892
- 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 345
- drivers/net/dsa/b53/b53_common.c, line 2139
- drivers/net/dsa/bcm_sf2_cfp.c, line 1137
- drivers/net/ethernet/aquantia/atlantic/aq_ring.c, line 317
- 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 488
- drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h, line 295
- drivers/net/ethernet/cisco/enic/enic_main.c, line 2983
- 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 3152
- 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 1539
- drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c, line 619
- drivers/net/ethernet/sfc/efx.c, line 2865
- 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 491
- drivers/pinctrl/samsung/pinctrl-s3c64xx.c, 3 times
- drivers/pinctrl/stm32/pinctrl-stm32.c, line 1094
- drivers/platform/chrome/cros_ec_proto.c, line 370
- drivers/pwm/pwm-samsung.c, line 131
- drivers/rtc/rtc-ds1307.c, line 439
- 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 462
- 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 824
- 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 1330
- drivers/vfio/pci/vfio_pci_intrs.c, line 285
- drivers/video/backlight/pwm_bl.c, line 211
- drivers/xen/balloon.c, line 129
- drivers/xen/mem-reservation.c, line 26
- fs/9p/vfs_super.c, line 81
- fs/ceph/inode.c, line 816
- fs/ext4/mballoc.c, 4 times
- fs/fscache/object.c, 2 times
- fs/nfs/flexfilelayout/flexfilelayout.c, 60 times
- fs/nfs/flexfilelayout/flexfilelayout.h, 3 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 44
- include/linux/bitops.h, 3 times
- include/linux/count_zeros.h, line 30
- include/linux/log2.h, line 28
- include/linux/sched.h, line 1344
- 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 342
- 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 1073
- mm/slub.c, line 3287
- mm/vmalloc.c, line 631
- mm/vmstat.c, 2 times
- net/mac80211/sta_info.c, 2 times
- net/netfilter/ipset/ip_set_hash_gen.h, line 1280
- net/netfilter/ipvs/ip_vs_mh.c, line 369
- net/netfilter/xt_recent.c, line 751
- net/sched/cls_flow.c, line 427
- net/sched/sch_qfq.c, line 820
- net/sunrpc/auth.c, line 55
- net/vmw_vsock/vmci_transport.c, line 1084
- 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 58
- tools/include/linux/log2.h, line 27