Loading...
Defined in 1 files as a prototype:
Defined in 2 files as a macro:
- arch/frv/include/asm/bitops.h, line 169 (as a macro)
- arch/x86/crypto/camellia-x86_64-asm_64.S, line 114 (as a macro)
Defined in 21 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/arm/include/asm/bitops.h, line 274 (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 501 (as a function)
- arch/mips/include/asm/bitops.h, line 544 (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 191 (as a function)
- arch/powerpc/include/asm/bitops.h, line 221 (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/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 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 8 files:
- arch/c6x/include/asm/bitops.h, line 50
- arch/frv/include/asm/bitops.h, line 161
- arch/s390/include/asm/bitops.h, line 393
- arch/tile/include/asm/bitops.h, line 48
- 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 275 files:
- arch/arc/include/asm/bitops.h, 2 times
- arch/arc/kernel/mcip.c, line 264
- arch/arm/include/asm/bitops.h, 2 times
- 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/setup.c, line 144
- 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 513
- arch/m68k/mm/mcfmmu.c, line 173
- arch/m68k/mm/motorola.c, line 246
- arch/mips/cavium-octeon/octeon-irq.c, line 2954
- arch/mips/include/asm/bitops.h, line 602
- arch/mips/kernel/cpu-probe.c, line 926
- arch/mips/kernel/pm-cps.c, line 589
- arch/mips/kernel/traps.c, line 2301
- 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/mn10300/include/asm/bitops.h, line 220
- arch/powerpc/sysdev/xive/native.c, line 637
- 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
- block/sed-opal.c, line 564
- drivers/acpi/pmic/intel_pmic_bxtwc.c, line 341
- drivers/ata/acard-ahci.c, line 462
- drivers/ata/ahci.c, line 1718
- drivers/ata/ahci_brcm.c, line 237
- drivers/ata/libahci_platform.c, line 543
- 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 2022
- drivers/block/nbd.c, line 2077
- drivers/bus/brcmstb_gisb.c, line 381
- drivers/char/random.c, line 1165
- drivers/clk/at91/clk-programmable.c, line 150
- drivers/clk/clk-mux.c, line 137
- drivers/clk/qcom/clk-alpha-pll.c, 2 times
- drivers/clk/st/clkgen-pll.c, line 687
- drivers/clk/tegra/clk-tegra210.c, line 1404
- 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 770
- 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 2406
- drivers/gpio/gpio-bcm-kona.c, line 284
- drivers/gpio/gpio-dwapb.c, line 174
- drivers/gpio/gpio-htc-egpio.c, 2 times
- drivers/gpio/gpio-menz127.c, line 56
- drivers/gpio/gpio-mxc.c, line 265
- drivers/gpio/gpio-mxs.c, line 178
- drivers/gpio/gpio-pca953x.c, 5 times
- drivers/gpio/gpio-stp-xway.c, line 232
- drivers/gpu/drm/amd/amdkfd/kfd_device.c, line 237
- 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, line 4424
- drivers/gpu/drm/i915/i915_gem_batch_pool.c, line 109
- drivers/gpu/drm/i915/i915_gem_internal.c, line 95
- drivers/gpu/drm/msm/mdp/mdp5/mdp5_mdss.c, line 64
- drivers/gpu/drm/nouveau/nv50_display.c, line 4512
- drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c, line 127
- drivers/hid/usbhid/hid-core.c, line 1092
- 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/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-stm32-exti.c, line 261
- 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/md/dm-unstripe.c, line 101
- 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 881
- drivers/media/pci/cx88/cx88-input.c, line 554
- drivers/media/pci/tw5864/tw5864-h264.c, line 92
- drivers/media/usb/uvc/uvc_status.c, line 193
- 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 730
- 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-controller.c, line 82
- drivers/mtd/nand/atmel/pmecc.c, 3 times
- drivers/mtd/nand/bcm47xxnflash/ops_bcm4706.c, line 435
- drivers/mtd/nand/denali.c, line 1119
- drivers/mtd/nand/jz4780_nand.c, line 167
- drivers/mtd/nand/mxc_nand.c, line 1165
- drivers/mtd/nand/nand_base.c, 6 times
- drivers/mtd/nand/nand_bch.c, 3 times
- drivers/mtd/nand/pxa3xx_nand.c, line 556
- drivers/mtd/nand/sunxi_nand.c, 2 times
- 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 1125
- drivers/net/ethernet/aquantia/atlantic/aq_ring.c, line 297
- 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 483
- drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h, line 295
- drivers/net/ethernet/cisco/enic/enic_main.c, line 2935
- 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 3167
- drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c, line 1128
- 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.c, 2 times
- drivers/net/ethernet/mellanox/mlx4/mr.c, 2 times
- drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c, line 619
- drivers/net/ethernet/sfc/efx.c, line 2837
- drivers/net/ethernet/sfc/falcon/efx.c, line 2547
- 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/mt76x2_main.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/net/wireless/rsi/rsi_91x_sdio.c, line 164
- drivers/ntb/hw/mscc/ntb_hw_switchtec.c, line 894
- drivers/pci/endpoint/pci-epc-mem.c, line 31
- drivers/pci/host/pci-mvebu.c, 3 times
- drivers/pci/host/pcie-mediatek.c, 2 times
- drivers/pinctrl/pinctrl-falcon.c, 2 times
- drivers/pinctrl/pinctrl-single.c, line 688
- drivers/pinctrl/samsung/pinctrl-exynos.c, line 412
- drivers/pinctrl/samsung/pinctrl-s3c64xx.c, 3 times
- drivers/platform/chrome/cros_ec_proto.c, line 348
- drivers/pwm/pwm-samsung.c, line 131
- drivers/rtc/rtc-max8997.c, line 93
- drivers/scsi/be2iscsi/be_cmds.c, line 849
- 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 255
- drivers/staging/greybus/audio_topology.c, line 459
- drivers/staging/lustre/lnet/libcfs/hash.c, line 2054
- drivers/staging/lustre/lustre/obdclass/lprocfs_status.c, line 1625
- drivers/staging/media/atomisp/i2c/ov8858.c, 2 times
- drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm_bo.c, line 54
- drivers/staging/rtlwifi/base.c, 2 times
- drivers/thermal/armada_thermal.c, line 233
- drivers/tty/serial/fsl_lpuart.c, line 996
- drivers/tty/serial/max310x.c, line 807
- drivers/tty/serial/sh-sci.c, line 95
- 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 1162
- drivers/vfio/pci/vfio_pci_intrs.c, line 281
- drivers/xen/balloon.c, line 119
- fs/9p/vfs_super.c, line 81
- fs/ceph/inode.c, line 792
- 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 44
- 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 1301
- include/net/red.h, 2 times
- kernel/bpf/lpm_trie.c, line 175
- kernel/time/timekeeping_debug.c, line 76
- kernel/trace/tracing_map.c, 2 times
- lib/bch.c, line 278
- lib/bitmap.c, line 343
- lib/clz_ctz.c, 2 times
- lib/div64.c, 2 times
- lib/reciprocal_div.c, line 18
- mm/percpu.c, line 213
- mm/slab.c, 2 times
- mm/slab_common.c, line 1022
- mm/slub.c, line 3265
- mm/vmalloc.c, line 646
- mm/vmstat.c, 2 times
- net/mac80211/sta_info.c, 2 times
- net/netfilter/ipset/ip_set_hash_gen.h, 2 times
- net/netfilter/xt_recent.c, line 743
- net/sched/cls_flow.c, line 437
- 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 1370
- 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/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