Defined in 1 files as a prototype:
Defined in 4 files as a member:
Defined in 3 files as a macro:
Defined in 20 files as a function:
- arch/alpha/include/asm/bitops.h, line 358 (as a function)
- arch/arc/include/asm/bitops.h, line 385 (as a function)
- arch/arm/include/asm/bitops.h, line 294 (as a function)
- arch/avr32/include/asm/bitops.h, line 291 (as a function)
- arch/c6x/include/asm/bitops.h, line 76 (as a function)
- arch/frv/include/asm/bitops.h, line 235 (as a function)
- arch/hexagon/include/asm/bitops.h, line 235 (as a function)
- arch/m68k/include/asm/bitops.h, line 464 (as a function)
- arch/m68k/include/asm/bitops.h, line 486 (as a function)
- arch/mips/include/asm/bitops.h, line 596 (as a function)
- arch/mn10300/include/asm/bitops.h, line 215 (as a function)
- arch/openrisc/include/asm/bitops/ffs.h, line 17 (as a function)
- arch/parisc/include/asm/bitops.h, line 180 (as a function)
- arch/powerpc/include/asm/bitops.h, line 226 (as a function)
- arch/s390/include/asm/bitops.h, line 353 (as a function)
- arch/sparc/lib/ffs.S, line 9 (as a function)
- arch/x86/include/asm/bitops.h, line 409 (as a function)
- arch/xtensa/include/asm/bitops.h, line 62 (as a function)
- include/asm-generic/bitops/builtin-ffs.h, line 12 (as a function)
- include/asm-generic/bitops/ffs.h, line 12 (as a function)
Documented in 6 files:
Referenced in 276 files:
- arch/alpha/kernel/core_cia.c, 3 times
- arch/arc/include/asm/bitops.h, line 348
- arch/arc/kernel/mcip.c, line 195
- arch/arc/lib/strcmp-archs.S, line 55
- arch/arm/include/asm/bitops.h, line 305
- arch/arm/kernel/setup.c, line 635
- arch/arm64/kernel/setup.c, line 143
- arch/avr32/mach-at32ap/pio.c, line 300
- arch/blackfin/include/asm/ipipe.h, line 156
- arch/ia64/hp/common/sba_iommu.c, line 2207
- arch/ia64/kernel/palinfo.c, line 155
- arch/ia64/sn/pci/tioca_provider.c, line 408
- arch/m68k/emu/nfblock.c, line 119
- arch/m68k/include/asm/bitops.h, line 495
- arch/mips/include/asm/fpu_emulator.h, 2 times
- arch/mips/kernel/mips-cm.c, line 389
- arch/mips/kvm/entry.c, 2 times
- arch/mips/loongson64/common/mem.c, line 34
- arch/mips/loongson64/lemote-2f/irq.c, line 45
- arch/mips/mm/c-octeon.c, 2 times
- arch/mips/mm/tlbex.c, line 334
- arch/mips/paravirt/paravirt-irq.c, line 363
- arch/mips/pmcs-msp71xx/msp_irq_cic.c, line 208
- arch/mips/pmcs-msp71xx/msp_irq_per.c, line 127
- arch/mips/pmcs-msp71xx/msp_irq_slp.c, line 105
- arch/mips/pnx833x/common/interrupts.c, line 115
- arch/mips/sni/a20r.c, line 211
- arch/mips/sni/pcimt.c, line 271
- arch/mips/sni/pcit.c, 2 times
- arch/mips/sni/rm200.c, line 463
- arch/powerpc/perf/mpc7450-pmu.c, line 301
- arch/powerpc/platforms/52xx/media5200.c, line 98
- arch/powerpc/platforms/52xx/mpc52xx_pic.c, line 508
- arch/powerpc/platforms/powernv/eeh-powernv.c, line 1641
- arch/powerpc/sysdev/fsl_msi.c, line 313
- arch/powerpc/sysdev/uic.c, 2 times
- arch/s390/include/asm/cio.h, line 306
- arch/sparc/lib/ffs.S, 3 times
- arch/um/os-Linux/signal.c, line 186
- arch/unicore32/include/asm/bitops.h, line 37
- arch/x86/boot/a20.c, 2 times
- arch/x86/kernel/cpu/intel_rdt_rdtgroup.c, line 80
- arch/x86/kvm/lapic.c, line 207
- arch/x86/kvm/mmu.c, line 1603
- arch/x86/kvm/svm.c, 2 times
- arch/xtensa/kernel/ptrace.c, line 110
- drivers/ata/libata-core.c, line 3022
- drivers/ata/pata_it821x.c, 2 times
- drivers/ata/sata_fsl.c, line 1163
- drivers/ata/sata_nv.c, line 1012
- drivers/auxdisplay/ht16k33.c, line 263
- drivers/block/rsxx/core.c, line 416
- drivers/block/rsxx/dma.c, 2 times
- drivers/bus/brcmstb_gisb.c, 2 times
- drivers/clk/clk-mux.c, 2 times
- drivers/clk/mediatek/clk-pll.c, line 101
- drivers/clk/mmp/clk-mix.c, line 70
- drivers/clk/tegra/clk-tegra210.c, line 1334
- drivers/clk/ti/mux.c, 2 times
- drivers/clocksource/sh_cmt.c, line 1018
- drivers/crypto/ccp/ccp-dev.h, line 103
- drivers/crypto/sahara.c, line 327
- drivers/dma/at_xdmac.c, 5 times
- drivers/dma/coh901318.c, 2 times
- drivers/dma/dma-jz4780.c, line 220
- drivers/dma/img-mdc-dma.c, line 190
- drivers/dma/ipu/ipu_irq.c, line 287
- drivers/dma/mv_xor.c, line 572
- drivers/dma/omap-dma.c, line 611
- drivers/dma/zx296702_dma.c, line 455
- drivers/extcon/extcon-arizona.c, 3 times
- drivers/firewire/ohci.c, 5 times
- drivers/gpio/gpio-htc-egpio.c, line 130
- drivers/gpio/gpio-mpc8xxx.c, line 108
- drivers/gpu/drm/amd/amdgpu/si.c, line 1764
- drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c, line 807
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c, 3 times
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c, 2 times
- drivers/gpu/drm/drm_blend.c, line 200
- drivers/gpu/drm/etnaviv/etnaviv_gpu.c, line 1397
- drivers/gpu/drm/gma500/cdv_intel_display.c, line 887
- drivers/gpu/drm/gma500/psb_intel_display.c, line 347
- drivers/gpu/drm/i915/i915_drv.h, line 2172
- drivers/gpu/drm/i915/i915_gem_fence_reg.c, 2 times
- drivers/gpu/drm/i915/i915_gem_request.h, line 714
- drivers/gpu/drm/i915/i915_irq.c, 3 times
- drivers/gpu/drm/i915/i915_reg.h, 3 times
- drivers/gpu/drm/i915/intel_display.c, 4 times
- drivers/gpu/drm/i915/intel_dp.c, line 509
- drivers/gpu/drm/i915/intel_dsi_pll.c, line 104
- drivers/gpu/drm/i915/intel_pm.c, 2 times
- drivers/gpu/drm/i915/intel_ringbuffer.c, line 950
- drivers/gpu/drm/nouveau/dispnv04/dac.c, 5 times
- drivers/gpu/drm/nouveau/dispnv04/dfp.c, 2 times
- drivers/gpu/drm/nouveau/dispnv04/tvnv04.c, 2 times
- drivers/gpu/drm/nouveau/dispnv04/tvnv17.c, 3 times
- drivers/gpu/drm/nouveau/nouveau_bios.c, 2 times
- drivers/gpu/drm/nouveau/nv50_display.c, 4 times
- drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.c, line 94
- drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c, 5 times
- drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c, 6 times
- drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c, line 67
- drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c, line 102
- drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c, line 32
- drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c, line 30
- drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.c, line 32
- drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c, line 91
- drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c, 2 times
- drivers/gpu/drm/omapdrm/dss/dsi.c, 6 times
- drivers/gpu/drm/radeon/evergreen.c, line 1279
- drivers/gpu/drm/rcar-du/rcar_du_group.c, line 81
- drivers/gpu/drm/rcar-du/rcar_du_plane.c, line 198
- drivers/gpu/drm/ttm/ttm_bo.c, line 62
- drivers/hid/hid-cp2112.c, line 1097
- drivers/iio/accel/bma180.c, line 168
- drivers/iio/accel/mma9551_core.c, 2 times
- drivers/iio/accel/mma9553.c, 3 times
- drivers/iio/adc/ti_am335x_adc.c, line 136
- drivers/infiniband/hw/cxgb3/iwch_provider.c, line 587
- drivers/infiniband/hw/cxgb4/mem.c, line 520
- drivers/infiniband/hw/hfi1/pcie.c, 2 times
- drivers/infiniband/hw/i40iw/i40iw_verbs.c, 2 times
- drivers/infiniband/hw/mthca/mthca_allocator.c, line 85
- drivers/infiniband/hw/mthca/mthca_cmd.c, line 681
- drivers/infiniband/hw/mthca/mthca_cq.c, line 831
- drivers/infiniband/hw/mthca/mthca_eq.c, line 535
- drivers/infiniband/hw/mthca/mthca_profile.c, 5 times
- drivers/infiniband/hw/mthca/mthca_provider.c, line 940
- drivers/infiniband/hw/ocrdma/ocrdma_verbs.c, line 2389
- drivers/infiniband/hw/qib/qib_pcie.c, 2 times
- drivers/infiniband/ulp/srp/ib_srp.c, line 3564
- drivers/input/keyboard/mpr121_touchkey.c, line 108
- drivers/input/misc/axp20x-pek.c, 2 times
- drivers/irqchip/irq-aspeed-vic.c, line 112
- drivers/irqchip/irq-bcm2835.c, 3 times
- drivers/irqchip/irq-bcm2836.c, 2 times
- drivers/irqchip/irq-brcmstb-l2.c, line 72
- drivers/irqchip/irq-digicolor.c, 2 times
- drivers/irqchip/irq-dw-apb-ictl.c, line 42
- drivers/irqchip/irq-moxart.c, line 54
- drivers/irqchip/irq-or1k-pic.c, line 109
- drivers/irqchip/irq-sa11x0.c, line 147
- drivers/irqchip/irq-versatile-fpga.c, 2 times
- drivers/irqchip/irq-vic.c, 2 times
- drivers/macintosh/via-macii.c, 3 times
- drivers/md/bcache/bset.c, 3 times
- drivers/media/i2c/mt9p031.c, 2 times
- drivers/media/platform/exynos-gsc/gsc-core.c, 5 times
- drivers/media/platform/exynos4-is/fimc-capture.c, 5 times
- drivers/media/platform/exynos4-is/fimc-lite.c, 2 times
- drivers/media/platform/exynos4-is/fimc-m2m.c, 5 times
- drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c, 2 times
- drivers/media/platform/s3c-camif/camif-capture.c, 7 times
- drivers/media/platform/sti/bdisp/bdisp-v4l2.c, 2 times
- drivers/media/rc/ttusbir.c, line 151
- drivers/memory/tegra20-mc.c, line 196
- drivers/misc/lis3lv02d/lis3lv02d.c, 2 times
- drivers/mmc/core/core.c, 3 times
- drivers/mmc/host/bfin_sdh.c, line 135
- drivers/mmc/host/mmci.c, line 812
- drivers/mmc/host/moxart-mmc.c, line 377
- drivers/mmc/host/mtk-sd.c, 2 times
- drivers/mmc/host/omap_hsmmc.c, line 152
- drivers/mmc/host/sh_mmcif.c, line 1019
- drivers/mtd/devices/pmc551.c, 4 times
- drivers/mtd/mtd_blkdevs.c, line 548
- drivers/mtd/mtdcore.c, 2 times
- drivers/mtd/nand/bcm47xxnflash/ops_bcm4706.c, line 432
- drivers/mtd/nand/brcmnand/brcmnand.c, 4 times
- drivers/mtd/nand/mxc_nand.c, 2 times
- drivers/mtd/nand/nand_base.c, 4 times
- drivers/mtd/nand/nandsim.c, 3 times
- drivers/mtd/onenand/onenand_base.c, 2 times
- drivers/mtd/spi-nor/spi-nor.c, 3 times
- drivers/net/can/c_can/c_can.c, 2 times
- drivers/net/can/mscan/mscan.c, line 211
- drivers/net/ethernet/chelsio/cxgb3/sge.c, line 3246
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c, 3 times
- drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c, line 2910
- drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c, 2 times
- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c, line 6733
- drivers/net/ethernet/mellanox/mlx4/en_rx.c, 2 times
- drivers/net/ethernet/mellanox/mlx4/fw.c, line 1519
- drivers/net/ethernet/mellanox/mlx4/mr.c, line 1055
- drivers/net/ethernet/qlogic/qed/qed_dcbx.c, 3 times
- drivers/net/wireless/ath/ath10k/mac.c, 3 times
- drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c, line 5197
- drivers/net/wireless/intel/iwlwifi/mvm/ops.c, line 1277
- drivers/net/wireless/intel/iwlwifi/mvm/utils.c, line 271
- drivers/net/wireless/marvell/mwl8k.c, 5 times
- drivers/net/wireless/mediatek/mt7601u/main.c, line 197
- drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c, line 776
- drivers/net/wireless/st/cw1200/txrx.c, line 1236
- drivers/ntb/ntb_transport.c, line 1805
- drivers/pci/host/pci-dra7xx.c, line 202
- drivers/pci/host/pci-rcar-gen2.c, line 342
- drivers/pci/host/pci-xgene-msi.c, 2 times
- drivers/pci/host/pcie-rockchip.c, line 792
- drivers/pci/pci.c, 3 times
- drivers/pinctrl/pinctrl-single.c, 2 times
- drivers/platform/x86/dell-laptop.c, 4 times
- drivers/pwm/pwm-sti.c, line 422
- drivers/regulator/ab8500.c, 4 times
- drivers/regulator/as3722-regulator.c, 3 times
- drivers/regulator/axp20x-regulator.c, line 458
- drivers/regulator/da9062-regulator.c, line 309
- drivers/regulator/da9063-regulator.c, line 367
- drivers/regulator/helpers.c, 2 times
- drivers/regulator/ltc3589.c, line 119
- drivers/regulator/mt6323-regulator.c, 2 times
- drivers/regulator/rk808-regulator.c, 5 times
- drivers/rtc/rtc-max77686.c, line 278
- drivers/rtc/rtc-rx6110.c, line 152
- drivers/rtc/rtc-rx8010.c, line 135
- drivers/rtc/rtc-s5m.c, line 183
- drivers/s390/block/dasd_eckd.c, 4 times
- drivers/scsi/aic7xxx/aic79xx_core.c, line 10656
- drivers/scsi/aic7xxx/aic7xxx_core.c, line 7789
- drivers/scsi/aic94xx/aic94xx_scb.c, line 334
- drivers/scsi/arm/fas216.c, line 971
- drivers/scsi/esp_scsi.c, line 1168
- drivers/scsi/fcoe/fcoe.c, 5 times
- drivers/scsi/hisi_sas/hisi_sas_v1_hw.c, 4 times
- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c, 7 times
- drivers/scsi/sim710.c, line 195
- drivers/spmi/spmi-pmic-arb.c, 2 times
- drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c, line 56
- drivers/staging/rtl8192u/r819xU_phy.c, 5 times
- drivers/target/iscsi/cxgbit/cxgbit_cm.c, line 803
- drivers/target/iscsi/cxgbit/cxgbit_main.c, line 574
- drivers/thermal/tegra/soctherm.c, 3 times
- drivers/tty/serial/dz.c, 2 times
- drivers/tty/serial/sh-sci.c, line 96
- drivers/usb/gadget/function/f_fs.c, 407 times
- drivers/usb/gadget/function/u_fs.h, 2 times
- drivers/usb/gadget/legacy/g_ffs.c, 4 times
- drivers/usb/host/ehci-sched.c, line 339
- drivers/usb/host/fotg210-hcd.c, line 3793
- drivers/usb/host/oxu210hp-hcd.c, line 2136
- drivers/usb/musb/musb_core.c, line 1263
- drivers/video/fbdev/core/cfbfillrect.c, line 325
- drivers/video/fbdev/core/sysfillrect.c, line 289
- drivers/video/fbdev/intelfb/intelfbhw.c, line 693
- drivers/video/fbdev/omap2/omapfb/dss/dispc-compat.c, line 89
- drivers/video/fbdev/omap2/omapfb/dss/dsi.c, 6 times
- drivers/video/fbdev/omap2/omapfb/vrfb.c, 2 times
- fs/affs/bitmap.c, line 205
- fs/ceph/ioctl.c, line 254
- fs/ext4/mballoc.c, line 680
- fs/fat/inode.c, 2 times
- fs/hfs/btree.c, line 118
- fs/hfsplus/btree.c, line 236
- fs/ntfs/attrib.c, line 1722
- fs/ntfs/inode.c, 4 times
- fs/ntfs/super.c, 7 times
- fs/ocfs2/cluster/heartbeat.c, line 1625
- fs/squashfs/xz_wrapper.c, line 74
- fs/ubifs/debug.c, 3 times
- fs/xfs/libxfs/xfs_bit.c, line 117
- fs/xfs/libxfs/xfs_bit.h, 3 times
- fs/xfs/xfs_log_recover.c, 2 times
- fs/xfs/xfs_super.c, 2 times
- include/linux/count_zeros.h, line 52
- kernel/softirq.c, line 272
- net/ipv4/netfilter/ipt_CLUSTERIP.c, 2 times
- net/mac80211/rate.c, line 564
- net/netlink/af_netlink.c, 2 times
- net/sched/cls_flow.c, line 321
- net/sched/cls_u32.c, line 985
- sound/soc/codecs/ab8500-codec.c, 4 times
- sound/soc/codecs/arizona.c, line 1895
- sound/soc/codecs/cs35l33.c, 3 times
- sound/soc/codecs/cs35l34.c, 3 times
- sound/soc/soc-dapm.c, line 3613
- virt/kvm/arm/vgic/vgic-v2.c, line 155
- virt/kvm/arm/vgic/vgic-v3.c, line 138