Defined in 2 files as a prototype:
Defined in 5 files as a macro:
Defined in 4 files as a function:
Documented in 2 files:
Referenced in 209 files:
- arch/m68k/include/asm/bitops.h, line 369
- arch/mips/mm/context.c, line 168
- arch/mips/sgi-ip27/ip27-irq.c, line 40
- arch/powerpc/kernel/pci-common.c, line 101
- arch/powerpc/kvm/powerpc.c, line 2435
- arch/powerpc/sysdev/xive/spapr.c, line 71
- arch/s390/pci/pci.c, 2 times
- arch/sh/boards/mach-x3proto/ilsel.c, line 102
- arch/sh/kernel/cpu/irq/imask.c, line 70
- arch/sh/kernel/perf_event.c, line 272
- arch/sh/mm/pmb.c, line 227
- arch/unicore32/kernel/ksyms.c, line 24
- arch/unicore32/lib/findbit.S, line 29
- arch/x86/kernel/apic/io_apic.c, line 2569
- arch/x86/kvm/irq_comm.c, line 195
- arch/x86/kvm/vmx/vmx.c, line 3575
- arch/xtensa/kernel/perf_event.c, line 288
- drivers/atm/he.c, line 1903
- drivers/block/aoe/aoedev.c, line 48
- drivers/block/null_blk_main.c, line 558
- drivers/block/ps3disk.c, line 412
- drivers/char/agp/generic.c, line 77
- drivers/char/misc.c, line 184
- drivers/char/pcmcia/scr24x_cs.c, line 241
- drivers/clocksource/ingenic-timer.c, line 271
- drivers/crypto/ccp/ccp-dev-v5.c, 2 times
- drivers/crypto/chelsio/chtls/chtls_hw.c, line 149
- drivers/crypto/hisilicon/qm.c, line 1117
- drivers/crypto/hisilicon/zip/zip_crypto.c, line 480
- drivers/dma/stm32-dmamux.c, line 108
- drivers/dma/ti/dma-crossbar.c, line 267
- drivers/firmware/arm_scmi/driver.c, line 293
- drivers/firmware/tegra/bpmp.c, line 269
- drivers/firmware/ti_sci.c, 2 times
- drivers/gpio/gpiolib.c, 2 times
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, line 717
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c, line 162
- drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c, line 173
- drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c, line 50
- drivers/gpu/drm/drm_dp_mst_topology.c, 2 times
- drivers/gpu/drm/etnaviv/etnaviv_gpu.c, line 1102
- drivers/gpu/drm/etnaviv/etnaviv_iommu_v2.c, line 272
- drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c, line 88
- drivers/gpu/drm/nouveau/nouveau_dmem.c, line 305
- drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c, line 406
- drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c, line 286
- drivers/gpu/drm/radeon/radeon_device.c, line 383
- drivers/gpu/host1x/channel.c, line 103
- drivers/hid/intel-ish-hid/ishtp/client.c, line 188
- drivers/infiniband/hw/cxgb4/id_table.c, line 53
- drivers/infiniband/hw/hfi1/file_ops.c, line 875
- drivers/infiniband/hw/hfi1/msix.c, line 129
- drivers/infiniband/hw/hns/hns_roce_alloc.c, line 48
- drivers/infiniband/hw/hns/hns_roce_hw_v2.c, line 6214
- drivers/infiniband/hw/i40iw/i40iw.h, line 442
- drivers/infiniband/hw/mthca/mthca_allocator.c, line 50
- drivers/infiniband/hw/mthca/mthca_memfree.c, line 646
- drivers/infiniband/hw/ocrdma/ocrdma_verbs.c, 2 times
- drivers/infiniband/hw/qib/qib_file_ops.c, line 1173
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c, line 95
- drivers/infiniband/sw/rxe/rxe_pool.c, line 275
- drivers/iommu/amd_iommu.c, line 1808
- drivers/iommu/arm-smmu-v3.c, line 2109
- drivers/iommu/dmar.c, line 988
- drivers/iommu/intel-iommu.c, line 1743
- drivers/iommu/ipmmu-vmsa.c, line 388
- drivers/iommu/tegra-smmu.c, line 252
- drivers/irqchip/irq-gic-v3-its.c, line 3537
- drivers/irqchip/irq-ls-scfg-msi.c, line 148
- drivers/irqchip/irq-meson-gpio.c, line 118
- drivers/irqchip/irq-mips-cpu.c, line 189
- drivers/irqchip/irq-mips-gic.c, line 687
- drivers/irqchip/irq-mvebu-gicp.c, line 89
- drivers/irqchip/irq-mvebu-odmi.c, line 88
- drivers/irqchip/irq-mvebu-sei.c, line 262
- drivers/irqchip/irq-ti-sci-inta.c, 2 times
- drivers/isdn/mISDN/tei.c, line 284
- drivers/lightnvm/pblk-core.c, 4 times
- drivers/lightnvm/pblk-recovery.c, 3 times
- drivers/md/bcache/journal.c, line 220
- drivers/media/mc/mc-entity.c, line 493
- drivers/media/platform/cadence/cdns-csi2rx.c, line 131
- drivers/media/usb/cx231xx/cx231xx-cards.c, line 1714
- drivers/media/usb/em28xx/em28xx-cards.c, 2 times
- drivers/media/usb/tm6000/tm6000-cards.c, line 1189
- drivers/media/v4l2-core/v4l2-dev.c, line 514
- drivers/mfd/dln2.c, line 358
- drivers/misc/habanalabs/asid.c, line 39
- drivers/misc/mei/client.c, line 604
- drivers/misc/sgi-gru/grumain.c, line 848
- drivers/net/dsa/bcm_sf2_cfp.c, 3 times
- drivers/net/ethernet/broadcom/bcmsysport.c, line 2137
- drivers/net/ethernet/broadcom/bnxt/bnxt.c, 2 times
- drivers/net/ethernet/broadcom/cnic.c, line 703
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c, line 447
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c, line 1257
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c, line 63
- drivers/net/ethernet/google/gve/gve.h, line 373
- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c, line 6098
- drivers/net/ethernet/intel/i40e/i40e_main.c, line 7267
- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c, 2 times
- drivers/net/ethernet/marvell/octeontx2/af/rvu.c, line 88
- drivers/net/ethernet/mellanox/mlx4/alloc.c, line 54
- drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c, line 84
- drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c, line 126
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c, line 177
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c, 2 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c, 2 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c, line 628
- drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c, line 1518
- drivers/net/ethernet/pensando/ionic/ionic_lif.c, line 157
- drivers/net/ethernet/qlogic/qed/qed_cxt.c, line 1927
- drivers/net/ethernet/qlogic/qed/qed_l2.c, line 169
- drivers/net/ethernet/qlogic/qed/qed_rdma.c, line 83
- drivers/net/ethernet/qlogic/qede/qede_filter.c, line 432
- drivers/net/wireless/ath/ath9k/htc_drv_txrx.c, line 84
- drivers/net/wireless/ralink/rt2x00/rt2800lib.c, line 1803
- drivers/net/wireless/realtek/rtw88/mac80211.c, line 296
- drivers/net/wireless/realtek/rtw88/sec.c, line 19
- drivers/net/wireless/ti/wlcore/cmd.c, 2 times
- drivers/net/wireless/ti/wlcore/main.c, 3 times
- drivers/net/wireless/ti/wlcore/tx.c, line 53
- drivers/nfc/st-nci/se.c, line 569
- drivers/nfc/st21nfca/core.c, line 968
- drivers/pci/controller/dwc/pcie-designware-ep.c, 2 times
- drivers/pci/controller/pci-tegra.c, line 1618
- drivers/pci/controller/pcie-altera-msi.c, line 126
- drivers/pci/controller/pcie-cadence-ep.c, line 181
- drivers/pci/controller/pcie-mediatek.c, line 444
- drivers/pci/controller/pcie-mobiveil.c, line 764
- drivers/pci/controller/pcie-rcar.c, line 698
- drivers/pci/controller/pcie-rockchip-ep.c, line 266
- drivers/pci/controller/pcie-tango.c, line 143
- drivers/pci/controller/pcie-xilinx.c, line 238
- drivers/pci/endpoint/pci-ep-cfs.c, line 98
- drivers/perf/arm-ccn.c, line 600
- drivers/perf/arm_dsu_pmu.c, line 313
- drivers/perf/arm_smmuv3_pmu.c, line 309
- drivers/perf/hisilicon/hisi_uncore_pmu.c, line 107
- drivers/perf/qcom_l2_pmu.c, line 396
- drivers/perf/thunderx2_pmu.c, line 230
- drivers/perf/xgene_pmu.c, line 699
- drivers/pwm/pwm-lpc18xx-sct.c, line 285
- drivers/rapidio/rio-scan.c, line 62
- drivers/scsi/aic94xx/aic94xx_dev.c, line 16
- drivers/scsi/aic94xx/aic94xx_hwi.h, line 294
- drivers/scsi/cxlflash/main.c, line 912
- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c, line 827
- drivers/scsi/hpsa.c, line 1201
- drivers/scsi/ipr.c, 4 times
- drivers/scsi/mvsas/mv_sas.c, line 45
- drivers/scsi/pm8001/pm8001_sas.c, line 83
- drivers/scsi/pmcraid.c, line 5151
- drivers/scsi/qedi/qedi_main.c, 2 times
- drivers/scsi/qla2xxx/qla_init.c, 2 times
- drivers/scsi/qla2xxx/qla_isr.c, line 2438
- drivers/scsi/qla2xxx/qla_mid.c, 3 times
- drivers/scsi/qla4xxx/ql4_os.c, line 2914
- drivers/scsi/scsi_debug.c, line 4305
- drivers/scsi/sr.c, line 705
- drivers/scsi/ufs/ufshcd.c, line 663
- drivers/soc/fsl/qe/qe.c, line 344
- drivers/soundwire/bus.c, line 439
- drivers/spi/spidev.c, line 745
- drivers/staging/media/hantro/hantro_h264.c, line 530
- drivers/staging/media/soc_camera/soc_camera.c, line 1129
- drivers/staging/media/sunxi/cedrus/cedrus_h264.c, line 139
- drivers/staging/uwb/neh.c, line 156
- drivers/staging/uwb/rsv.c, line 154
- drivers/staging/wusbcore/wusbhc.c, line 363
- drivers/target/target_core_user.c, line 491
- drivers/tty/serial/atmel_serial.c, line 2864
- drivers/tty/serial/jsm/jsm_tty.c, line 458
- drivers/tty/serial/max310x.c, line 1335
- drivers/tty/serial/vt8500_serial.c, line 658
- fs/bfs/dir.c, line 91
- fs/gfs2/quota.c, line 329
- fs/minix/minix.h, line 117
- fs/nfs/nfs4session.c, line 250
- fs/ocfs2/cluster/heartbeat.c, line 2029
- fs/orangefs/orangefs-bufmap.c, line 132
- fs/reiserfs/namei.c, line 527
- fs/xfs/libxfs/xfs_ialloc.c, line 1857
- include/asm-generic/bitops/find.h, line 77
- include/asm-generic/bitops/le.h, line 27
- include/linux/bitmap.h, line 379
- include/linux/bitops.h, line 40
- include/linux/nodemask.h, line 302
- kernel/events/uprobes.c, line 1591
- kernel/locking/lockdep.c, 2 times
- lib/find_bit.c, 2 times
- lib/sbitmap.c, line 248
- net/bridge/br_if.c, line 401
- net/core/dev.c, line 1014
- net/core/sock.c, line 3304
- net/mac80211/mesh_plink.c, line 485
- net/netfilter/nf_tables_api.c, line 3217
- net/netlink/genetlink.c, line 132
- net/nfc/llcp_core.c, 2 times
- net/sctp/tsnmap.c, line 235
- sound/soc/qcom/lpass-apq8016.c, line 134
- sound/soc/qcom/qdsp6/q6adm.c, line 217
- sound/soc/tegra/tegra30_ahub.c, 2 times
- sound/usb/line6/capture.c, line 28
- sound/usb/line6/playback.c, line 155
- tools/include/asm-generic/bitops/find.h, line 65
- tools/include/linux/bitmap.h, line 64
- tools/include/linux/bitops.h, line 41
- tools/lib/find_bit.c, line 92