Defined in 1 files as a prototype:
Defined in 2 files as a macro:
Defined in 28 files as a function:
- arch/alpha/include/asm/bitops.h, line 333 (as a function)
- arch/arc/include/asm/bitops.h, line 343 (as a function)
- arch/arc/include/asm/bitops.h, line 403 (as a function)
- arch/arm/include/asm/bitops.h, line 303 (as a function)
- arch/avr32/include/asm/bitops.h, line 234 (as a function)
- arch/c6x/include/asm/bitops.h, line 32 (as a function)
- arch/cris/include/arch-v10/arch/bitops.h, line 54 (as a function)
- arch/cris/include/arch-v32/arch/bitops.h, line 50 (as a function)
- arch/frv/include/asm/bitops.h, line 251 (as a function)
- arch/h8300/include/asm/bitops.h, line 158 (as a function)
- arch/hexagon/include/asm/bitops.h, line 257 (as a function)
- arch/ia64/include/asm/bitops.h, line 362 (as a function)
- arch/m68k/include/asm/bitops.h, line 456 (as a function)
- arch/mips/include/asm/bitops.h, line 531 (as a function)
- arch/mn10300/include/asm/bitops.h, line 163 (as a function)
- arch/openrisc/include/asm/bitops/__ffs.h, line 18 (as a function)
- arch/parisc/include/asm/bitops.h, line 142 (as a function)
- arch/powerpc/include/asm/bitops.h, line 216 (as a function)
- arch/s390/include/asm/bitops.h, line 341 (as a function)
- arch/sh/include/asm/bitops.h, line 49 (as a function)
- arch/sparc/lib/ffs.S, line 16 (as a function)
- arch/x86/include/asm/bitops.h, line 359 (as a function)
- arch/xtensa/include/asm/bitops.h, line 51 (as a function)
- include/asm-generic/bitops/__ffs.h, line 12 (as a function)
- include/asm-generic/bitops/builtin-__ffs.h, line 10 (as a function)
- tools/include/asm-generic/bitops/__ffs.h, line 13 (as a function)
- tools/testing/radix-tree/linux/bitops.h, line 122 (as a function)
- tools/testing/radix-tree/linux/bitops/__ffs.h, line 12 (as a function)
Documented in 12 files:
- arch/c6x/include/asm/bitops.h, line 24
- arch/cris/include/arch-v10/arch/bitops.h, line 48
- arch/ia64/include/asm/bitops.h, line 355
- arch/parisc/include/asm/bitops.h, line 123
- arch/s390/include/asm/bitops.h, line 335
- arch/sh/include/asm/bitops.h, line 43
- arch/x86/include/asm/bitops.h, line 353
- include/asm-generic/bitops/__ffs.h, line 6
- include/asm-generic/bitops/builtin-__ffs.h, line 4
- tools/include/asm-generic/bitops/__ffs.h, line 7
- tools/testing/radix-tree/linux/bitops.h, line 116
- tools/testing/radix-tree/linux/bitops/__ffs.h, line 6
Referenced in 239 files:
- arch/alpha/include/asm/bitops.h, 2 times
- arch/alpha/kernel/smp.c, line 542
- arch/arc/include/asm/bitops.h, line 424
- arch/arc/kernel/mcip.c, line 81
- arch/arc/kernel/smp.c, line 351
- arch/arm/common/it8152.c, 3 times
- arch/arm/include/asm/bitops.h, line 308
- arch/arm/include/asm/ptrace.h, 2 times
- arch/arm/kvm/arm.c, 2 times
- arch/arm/kvm/mmu.c, line 1214
- arch/arm/mach-omap2/clkt2xxx_dpllcore.c, 2 times
- arch/arm/mach-omap2/cm2xxx.c, 3 times
- arch/arm/mach-omap2/cm2xxx_3xxx.h, line 84
- arch/arm/mach-omap2/cm3xxx.c, 2 times
- arch/arm/mach-omap2/cminst44xx.c, line 163
- arch/arm/mach-omap2/omap_hwmod.c, 2 times
- arch/arm/mach-omap2/prm2xxx_3xxx.c, 3 times
- arch/arm/mach-omap2/prm2xxx_3xxx.h, line 87
- arch/arm/mach-omap2/prm33xx.c, 6 times
- arch/arm/mach-omap2/prm44xx.c, 5 times
- arch/arm/mach-omap2/vc.c, 5 times
- arch/arm/mach-omap2/vp.c, 3 times
- arch/arm/mach-pxa/balloon3.c, line 513
- arch/arm/mach-pxa/em-x270.c, line 606
- arch/arm/mach-pxa/lpd270.c, line 134
- arch/arm/mach-pxa/pcm990-baseboard.c, line 303
- arch/arm/mach-pxa/viper.c, line 292
- arch/arm/mach-pxa/zeus.c, line 120
- arch/arm/mm/nommu.c, line 210
- arch/arm/probes/kprobes/actions-common.c, line 47
- arch/arm64/kernel/hw_breakpoint.c, 2 times
- arch/avr32/include/asm/bitops.h, 2 times
- arch/blackfin/include/asm/def_LPBlackfin.h, 2 times
- arch/c6x/include/asm/bitops.h, 2 times
- arch/c6x/kernel/traps.c, line 277
- arch/c6x/platforms/megamod-pic.c, 2 times
- arch/ia64/hp/common/sba_iommu.c, line 591
- arch/ia64/mm/hugetlbpage.c, line 186
- arch/ia64/sn/pci/tioce_provider.c, line 165
- arch/m68k/include/asm/bitops.h, line 468
- arch/mips/alchemy/common/dbdma.c, line 872
- arch/mips/alchemy/common/irq.c, 2 times
- arch/mips/alchemy/devboards/bcsr.c, line 95
- arch/mips/ath25/ar2315.c, line 81
- arch/mips/ath25/ar5312.c, line 85
- arch/mips/kvm/interrupt.c, 2 times
- arch/mips/loongson32/common/irq.c, line 128
- arch/mips/loongson64/common/irq.c, line 33
- arch/mips/mm/c-r4k.c, 8 times
- arch/mips/mm/sc-mips.c, 2 times
- arch/mips/mm/sc-rm7k.c, line 238
- arch/mips/paravirt/paravirt-irq.c, 2 times
- arch/mips/pci/msi-xlp.c, 2 times
- arch/mips/pci/pci-ar2315.c, line 329
- arch/mips/pci/pci-rt3883.c, line 147
- arch/mips/ralink/irq.c, line 105
- arch/mips/sgi-ip32/ip32-irq.c, 2 times
- arch/parisc/include/asm/bitops.h, line 182
- arch/powerpc/kvm/book3s.c, line 357
- arch/powerpc/kvm/booke.c, line 663
- arch/powerpc/mm/fsl_booke_mmu.c, line 152
- arch/powerpc/mm/hugetlbpage.c, 4 times
- arch/powerpc/platforms/embedded6xx/flipper-pic.c, line 186
- arch/powerpc/platforms/embedded6xx/hlwd-pic.c, line 119
- arch/powerpc/sysdev/fsl_pci.c, line 164
- arch/sh/drivers/dma/dmabrg.c, line 103
- arch/sparc/lib/ffs.S, 3 times
- arch/tile/kernel/irq.c, line 117
- arch/tile/mm/init.c, line 665
- arch/x86/events/intel/pt.c, line 81
- arch/x86/kernel/cpu/mtrr/cleanup.c, line 261
- arch/x86/kvm/emulate.c, line 5290
- arch/x86/kvm/mmu.c, 2 times
- arch/xtensa/kernel/traps.c, line 288
- drivers/ata/libata-core.c, line 5250
- drivers/bus/omap_l3_noc.c, 2 times
- drivers/bus/omap_l3_smx.c, line 198
- drivers/char/agp/alpha-agp.c, line 171
- drivers/clk/clk-divider.c, line 110
- drivers/clk/mmp/clk-mix.c, line 90
- drivers/clk/nxp/clk-lpc32xx.c, line 1488
- drivers/clk/ti/apll.c, 10 times
- drivers/clk/ti/clkt_dpll.c, 5 times
- drivers/clk/ti/divider.c, line 91
- drivers/clk/ti/dpll3xxx.c, 12 times
- drivers/dma/dw/core.c, 7 times
- drivers/dma/edma.c, line 1462
- drivers/dma/idma64.c, 4 times
- drivers/dma/k3dma.c, 2 times
- drivers/dma/mmp_pdma.c, line 220
- drivers/dma/nbpfaxi.c, 2 times
- drivers/dma/omap-dma.c, 2 times
- drivers/dma/pl330.c, 2 times
- drivers/dma/pxa_dma.c, line 722
- drivers/dma/txx9dmac.c, line 1019
- drivers/dma/zx296702_dma.c, line 286
- drivers/gpio/gpio-davinci.c, line 363
- drivers/gpio/gpio-em.c, line 184
- drivers/gpio/gpio-intel-mid.c, line 294
- drivers/gpio/gpio-kempld.c, line 135
- drivers/gpio/gpio-lynxpoint.c, line 254
- drivers/gpio/gpio-max732x.c, 2 times
- drivers/gpio/gpio-msic.c, line 202
- drivers/gpio/gpio-omap.c, line 713
- drivers/gpio/gpio-pca953x.c, 2 times
- drivers/gpio/gpio-rcar.c, line 207
- drivers/gpio/gpio-sta2x11.c, line 313
- drivers/gpio/gpio-stmpe.c, line 398
- drivers/gpio/gpio-tc3589x.c, line 270
- drivers/gpu/drm/nouveau/nvkm/core/event.c, 2 times
- drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c, line 456
- drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c, 5 times
- drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c, 3 times
- drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c, 5 times
- drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c, line 117
- drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c, line 97
- drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gp100.c, line 34
- drivers/hwmon/hwmon.c, line 493
- drivers/hwmon/it87.c, line 2139
- drivers/hwmon/nct6775.c, line 3412
- drivers/hwtracing/intel_th/gth.c, 2 times
- drivers/hwtracing/intel_th/msu.c, 3 times
- drivers/hwtracing/intel_th/pti.c, 5 times
- drivers/i2c/busses/i2c-efm32.c, 2 times
- drivers/i2c/busses/i2c-nomadik.c, line 741
- drivers/i2c/busses/i2c-qup.c, line 319
- drivers/iio/buffer/industrialio-buffer-dmaengine.c, 2 times
- drivers/iio/common/st_sensors/st_sensors_core.c, line 39
- drivers/input/keyboard/nomadik-ske-keypad.c, line 151
- drivers/input/keyboard/stmpe-keypad.c, 2 times
- drivers/input/misc/palmas-pwrbutton.c, 2 times
- drivers/iommu/amd_iommu_types.h, 2 times
- drivers/iommu/dma-iommu.c, line 147
- drivers/iommu/exynos-iommu.c, line 422
- drivers/iommu/fsl_pamu.c, line 172
- drivers/iommu/io-pgtable-arm-v7s.c, line 818
- drivers/iommu/io-pgtable-arm.c, 3 times
- drivers/iommu/iommu.c, 5 times
- drivers/irqchip/exynos-combiner.c, line 85
- drivers/irqchip/irq-ath79-misc.c, line 45
- drivers/irqchip/irq-gic.c, 2 times
- drivers/irqchip/irq-lpc32xx.c, 2 times
- drivers/irqchip/irq-s3c24xx.c, 2 times
- drivers/irqchip/irq-tango.c, line 66
- drivers/irqchip/irq-ts4800.c, line 81
- drivers/irqchip/spear-shirq.c, line 194
- drivers/mailbox/hi6220-mailbox.c, line 173
- drivers/mailbox/ti-msgmgr.c, line 144
- drivers/md/dm-bufio.c, 5 times
- drivers/md/dm-cache-policy-cleaner.c, line 86
- drivers/md/dm-cache-policy-smq.c, line 569
- drivers/md/dm-cache-target.c, line 2811
- drivers/md/dm-era-target.c, line 1480
- drivers/md/dm-exception-store.c, line 186
- drivers/md/dm-region-hash.c, line 196
- drivers/md/dm-snap-persistent.c, line 327
- drivers/md/dm-stripe.c, 2 times
- drivers/md/dm-switch.c, 2 times
- drivers/md/dm-thin.c, line 2875
- drivers/md/dm-verity-target.c, 2 times
- drivers/media/i2c/smiapp/smiapp-core.c, 2 times
- drivers/media/platform/ti-vpe/cal.c, 2 times
- drivers/media/v4l2-core/v4l2-common.c, 4 times
- drivers/mfd/ab8500-core.c, 2 times
- drivers/mfd/mc13xxx-core.c, line 180
- drivers/mfd/stmpe.c, 2 times
- drivers/mfd/tc3589x.c, line 189
- drivers/mfd/tps6586x.c, line 329
- drivers/mfd/twl4030-irq.c, line 305
- drivers/mtd/chips/cfi_cmdset_0001.c, line 736
- drivers/mtd/lpddr/qinfo_probe.c, line 193
- drivers/net/ethernet/chelsio/cxgb4/sge.c, 2 times
- drivers/net/ethernet/chelsio/cxgb4vf/sge.c, line 2079
- drivers/net/ethernet/sfc/falcon/falcon.c, line 1909
- drivers/net/ethernet/sfc/falcon/mdio_10g.c, 2 times
- drivers/net/ethernet/sfc/siena_sriov.c, 4 times
- drivers/net/ethernet/tile/tilepro.c, line 1290
- drivers/net/mdio.c, line 393
- drivers/net/wireless/st/cw1200/sta.c, 5 times
- drivers/net/wireless/ti/wlcore/tx.c, line 1206
- drivers/ntb/hw/intel/ntb_hw_intel.c, line 2002
- drivers/ntb/ntb_transport.c, line 2225
- drivers/parisc/dino.c, line 377
- drivers/parisc/gsc.c, line 87
- drivers/pci/setup-bus.c, line 1069
- drivers/pinctrl/aspeed/pinctrl-aspeed.c, 3 times
- drivers/pinctrl/mediatek/pinctrl-mtk-common.c, line 1263
- drivers/pinctrl/nomadik/pinctrl-nomadik.c, line 816
- drivers/pinctrl/pinctrl-rockchip.c, line 1909
- drivers/pinctrl/pinctrl-single.c, 2 times
- drivers/pinctrl/samsung/pinctrl-s3c24xx.c, line 374
- drivers/ps3/ps3stor_lib.c, 3 times
- drivers/regulator/lp873x-regulator.c, 3 times
- drivers/regulator/ti-abb-regulator.c, 3 times
- drivers/soc/ti/wkup_m3_ipc.c, line 244
- drivers/spi/spi-efm32.c, 2 times
- drivers/spi/spi-pxa2xx.c, line 863
- drivers/thermal/ti-soc-thermal/ti-bandgap.c, 8 times
- drivers/usb/chipidea/ci.h, line 399
- drivers/usb/chipidea/core.c, 7 times
- drivers/usb/chipidea/udc.c, 9 times
- drivers/usb/host/isp1362-hcd.c, line 336
- drivers/usb/host/uhci-hcd.c, line 117
- drivers/usb/isp1760/isp1760-hcd.c, 2 times
- drivers/vfio/vfio_iommu_type1.c, 2 times
- include/asm-generic/bitops/ffz.h, line 10
- include/asm-generic/bitops/sched.h, 6 times
- include/linux/bitops.h, 2 times
- include/linux/count_zeros.h, line 54
- include/linux/iova.h, line 57
- include/linux/radix-tree.h, line 491
- include/sound/pcm_params.h, line 70
- kernel/irq/generic-chip.c, line 562
- kernel/sched/core.c, line 5199
- kernel/trace/trace_output.c, line 593
- lib/assoc_array.c, line 851
- lib/clz_ctz.c, 2 times
- lib/find_bit.c, 3 times
- lib/gcd.c, 3 times
- lib/radix-tree.c, 2 times
- mm/nobootmem.c, line 103
- mm/page_alloc.c, line 6027
- net/rxrpc/conn_client.c, line 598
- net/sched/sch_qfq.c, 2 times
- security/keys/keyring.c, line 353
- sound/pci/ice1712/wm8766.c, 5 times
- sound/pci/ice1712/wm8776.c, 5 times
- sound/pci/sis7019.c, line 301
- sound/soc/codecs/adau1977.c, line 522
- sound/soc/codecs/cs53l30.c, line 800
- sound/soc/codecs/ssm2518.c, 2 times
- sound/soc/codecs/ssm4567.c, line 248
- sound/soc/codecs/tas2552.c, line 458
- sound/soc/codecs/tas5720.c, line 162
- sound/soc/codecs/tlv320aic3x.c, line 1315
- tools/include/asm-generic/bitops/__ffz.h, line 10
- tools/lib/find_bit.c, 2 times
- tools/testing/radix-tree/linux/bitops/ffz.h, line 10
- virt/kvm/arm/vgic/vgic-mmio-v2.c, line 146