Defined in 3 files as a macro:
Defined in 6 files as a function:
Documented in 2 files:
Referenced in 226 files:
- arch/alpha/include/asm/bitops.h, line 97
- arch/arc/kernel/perf_event.c, line 352
- arch/arm/mm/cache-b15-rac.c, line 228
- arch/arm/plat-orion/gpio.c, 2 times
- arch/mips/cavium-octeon/octeon-irq.c, 4 times
- arch/powerpc/include/asm/bitops.h, line 199
- arch/powerpc/kernel/iommu.c, line 630
- arch/powerpc/mm/nohash/mmu_context.c, 5 times
- arch/powerpc/mm/slice.c, line 237
- arch/powerpc/platforms/cell/spufs/sched.c, line 1095
- arch/powerpc/platforms/powermac/pic.c, 2 times
- arch/s390/include/asm/bitops.h, line 283
- arch/s390/kvm/interrupt.c, 7 times
- arch/sh/kernel/perf_event.c, line 257
- arch/sh/mm/pmb.c, line 283
- arch/sparc/kernel/iommu.c, line 191
- arch/sparc/lib/bitext.c, line 113
- arch/x86/events/core.c, line 1414
- arch/x86/events/intel/core.c, 2 times
- arch/x86/include/asm/kvm_host.h, line 1416
- arch/x86/kernel/apic/apic_flat_64.c, line 74
- arch/x86/kernel/cpu/mce/core.c, 2 times
- arch/x86/kernel/cpu/mce/intel.c, 3 times
- arch/x86/kernel/cpu/resctrl/pseudo_lock.c, line 122
- arch/x86/kvm/hyperv.c, 2 times
- arch/x86/kvm/i8259.c, line 210
- arch/x86/kvm/ioapic.c, 2 times
- arch/x86/kvm/lapic.c, 2 times
- arch/x86/kvm/mmu.c, line 2266
- arch/x86/kvm/vmx/nested.c, 4 times
- arch/x86/kvm/vmx/vmx.c, 5 times
- arch/xtensa/kernel/perf_event.c, line 312
- block/bfq-iosched.c, line 141
- block/blk-cgroup.c, line 1476
- drivers/atm/lanai.c, 3 times
- drivers/block/null_blk_main.c, 2 times
- drivers/block/ps3disk.c, 2 times
- drivers/char/agp/i460-agp.c, line 483
- drivers/crypto/chelsio/chtls/chtls.h, line 379
- drivers/crypto/chelsio/chtls/chtls_hw.c, 2 times
- drivers/dma/imx-sdma.c, 5 times
- drivers/gpio/gpio-winbond.c, line 576
- drivers/gpio/gpio-xlp.c, 2 times
- drivers/gpio/gpiolib.c, 6 times
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, line 740
- drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c, line 206
- drivers/gpu/drm/exynos/exynos_mixer.c, 2 times
- drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c, line 130
- drivers/gpu/drm/i915/i915_gem_fence_reg.c, line 814
- drivers/gpu/drm/i915/i915_vma.h, line 201
- drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c, line 322
- drivers/gpu/drm/radeon/radeon_device.c, line 404
- drivers/gpu/drm/selftests/test-drm_mm.c, 2 times
- drivers/gpu/drm/vmwgfx/vmwgfx_binding.c, 2 times
- drivers/hid/hid-cp2112.c, line 1076
- drivers/hid/hid-logitech-hidpp.c, 2 times
- drivers/hid/hid-magicmouse.c, 6 times
- drivers/hid/hid-ntrig.c, 3 times
- drivers/hid/wacom_wac.c, 16 times
- drivers/infiniband/core/uverbs_ioctl.c, line 466
- drivers/infiniband/hw/hfi1/file_ops.c, 2 times
- drivers/infiniband/hw/hfi1/msix.c, 3 times
- drivers/infiniband/hw/i40iw/i40iw_hw.c, line 510
- drivers/infiniband/hw/ocrdma/ocrdma_verbs.c, 2 times
- drivers/infiniband/hw/qib/qib_file_ops.c, 2 times
- drivers/infiniband/hw/qib/qib_tx.c, 5 times
- drivers/input/ff-core.c, line 369
- drivers/input/ff-memless.c, 8 times
- drivers/input/input.c, 3 times
- drivers/input/keyboard/adp5520-keys.c, line 129
- drivers/input/keyboard/adp5588-keys.c, line 550
- drivers/input/keyboard/adp5589-keys.c, line 997
- drivers/input/keyboard/atkbd.c, line 337
- drivers/input/keyboard/cap11xx.c, line 426
- drivers/input/keyboard/dlink-dir685-touchkeys.c, line 100
- drivers/input/keyboard/hil_kbd.c, line 340
- drivers/input/keyboard/jornada680_kbd.c, line 219
- drivers/input/keyboard/jornada720_kbd.c, line 120
- drivers/input/keyboard/lkkbd.c, line 660
- drivers/input/keyboard/lm8323.c, line 715
- drivers/input/keyboard/maple_keyb.c, line 182
- drivers/input/keyboard/opencores-kbd.c, line 94
- drivers/input/keyboard/pxa27x_keypad.c, line 403
- drivers/input/keyboard/qt2160.c, 2 times
- drivers/input/keyboard/sh_keysc.c, 2 times
- drivers/input/keyboard/sunkbd.c, line 293
- drivers/input/matrix-keymap.c, line 196
- drivers/input/misc/ati_remote2.c, line 563
- drivers/input/misc/cm109.c, line 805
- drivers/input/misc/cobalt_btns.c, line 97
- drivers/input/misc/ims-pcu.c, line 235
- drivers/input/misc/keyspan_remote.c, line 515
- drivers/input/misc/pcf8574_keypad.c, line 119
- drivers/input/misc/sgi_btns.c, line 114
- drivers/input/mouse/alps.c, 3 times
- drivers/input/mouse/byd.c, 4 times
- drivers/input/mouse/cypress_ps2.c, 3 times
- drivers/input/mouse/elantech.c, 2 times
- drivers/input/mouse/focaltech.c, 5 times
- drivers/input/mouse/sentelic.c, line 946
- drivers/input/mouse/synaptics.c, line 1249
- drivers/iommu/amd_iommu.c, line 1823
- drivers/irqchip/irq-ls-scfg-msi.c, line 183
- drivers/irqchip/irq-mvebu-gicp.c, 2 times
- drivers/irqchip/irq-mvebu-odmi.c, 2 times
- drivers/md/dm-clone-metadata.c, 2 times
- drivers/md/dm-clone-target.c, 2 times
- drivers/md/dm-integrity.c, line 589
- drivers/media/firewire/firedtv-dvb.c, line 46
- drivers/media/platform/s5p-mfc/s5p_mfc.c, 2 times
- drivers/media/rc/rc-main.c, line 304
- drivers/media/usb/dvb-usb/dvb-usb-remote.c, line 92
- drivers/memstick/core/ms_block.c, line 202
- drivers/misc/cs5535-mfgpt.c, line 183
- drivers/misc/mic/host/mic_x100.c, line 248
- drivers/misc/sgi-gru/grumain.c, 2 times
- drivers/misc/sgi-gru/grutlbpurge.c, line 183
- drivers/misc/sgi-xp/xpnet.c, line 284
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c, line 5410
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c, 3 times
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c, 5 times
- drivers/net/ethernet/broadcom/bnxt/bnxt.c, 4 times
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c, line 503
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c, line 1328
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c, line 81
- drivers/net/ethernet/freescale/enetc/enetc_pf.c, line 332
- drivers/net/ethernet/marvell/octeontx2/af/rvu.c, line 141
- drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c, 3 times
- drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c, 2 times
- drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c, 2 times
- drivers/net/ethernet/mellanox/mlx5/core/alloc.c, line 220
- drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c, line 542
- drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c, line 1871
- drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c, line 95
- drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c, line 143
- drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c, line 141
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c, 2 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c, 5 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c, 2 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.c, line 175
- drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c, 2 times
- drivers/net/ethernet/netronome/nfp/abm/ctrl.c, line 81
- drivers/net/ethernet/qlogic/qed/qed_spq.c, line 818
- drivers/net/ethernet/sfc/efx.c, line 2778
- drivers/net/ethernet/sfc/falcon/efx.c, line 2452
- drivers/net/ethernet/sfc/falcon/farch.c, line 2485
- drivers/net/ethernet/sfc/farch.c, line 2544
- drivers/net/ethernet/sfc/siena_sriov.c, 2 times
- drivers/net/phy/phylink.c, line 1221
- drivers/net/wireless/admtek/adm8211.c, line 1381
- drivers/net/wireless/ath/ath5k/base.c, 2 times
- drivers/net/wireless/ath/ath5k/caps.c, line 105
- drivers/net/wireless/ath/ath9k/htc_drv_txrx.c, line 98
- drivers/net/wireless/ath/ath9k/mci.c, line 352
- drivers/net/wireless/ath/ath9k/xmit.c, line 284
- drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c, line 1335
- drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c, 4 times
- drivers/net/wireless/ralink/rt2x00/rt2800lib.c, 3 times
- drivers/net/wireless/ralink/rt2x00/rt2800usb.c, line 240
- drivers/net/wireless/ralink/rt2x00/rt2x00queue.c, line 204
- drivers/net/wireless/ti/wlcore/cmd.c, 4 times
- drivers/net/wireless/ti/wlcore/main.c, 4 times
- drivers/net/wireless/ti/wlcore/ps.c, line 159
- drivers/net/wireless/ti/wlcore/rx.c, line 322
- drivers/pci/controller/pcie-altera-msi.c, line 160
- drivers/pci/controller/pcie-mediatek.c, line 473
- drivers/pci/controller/pcie-mobiveil.c, line 793
- drivers/pci/controller/pcie-tango.c, line 164
- drivers/platform/x86/sony-laptop.c, line 483
- drivers/s390/block/dasd_int.h, 7 times
- drivers/scsi/cxgbi/libcxgbi.h, 2 times
- drivers/scsi/pmcraid.c, line 5161
- drivers/scsi/ufs/ufshcd.c, 2 times
- drivers/scsi/xen-scsifront.c, line 148
- drivers/soc/qcom/llcc-slice.c, line 212
- drivers/staging/media/ipu3/ipu3-v4l2.c, line 295
- drivers/usb/gadget/udc/s3c-hsudc.c, line 808
- drivers/usb/host/isp1362-hcd.c, line 737
- drivers/watchdog/f71808e_wdt.c, line 190
- fs/afs/fs_probe.c, line 213
- fs/afs/rotate.c, line 393
- fs/afs/vl_probe.c, line 215
- fs/afs/vl_rotate.c, line 204
- fs/dlm/dlm_internal.h, line 360
- fs/erofs/decompressor.c, line 58
- fs/f2fs/segment.c, line 3906
- fs/file.c, 3 times
- fs/fscache/object.c, line 197
- fs/fuse/dev.c, 2 times
- fs/nfs/nfs4session.c, line 88
- fs/ocfs2/quota_global.c, 6 times
- fs/orangefs/orangefs-bufmap.c, line 72
- fs/ubifs/lpt.c, 2 times
- fs/ubifs/tnc.c, line 200
- fs/ubifs/tnc_commit.c, 2 times
- include/asm-generic/bitops/le.h, line 75
- include/linux/bitmap.h, line 407
- include/linux/bitops.h, line 240
- include/linux/cpumask.h, line 348
- include/linux/ethtool.h, line 145
- include/linux/linkmode.h, line 57
- include/linux/page-flags.h, line 264
- include/linux/phylink.h, line 276
- include/media/media-entity.h, line 484
- include/net/sock.h, line 833
- kernel/locking/lockdep.c, 2 times
- kernel/sched/rt.c, 2 times
- kernel/time/timer.c, line 830
- kernel/workqueue.c, line 1148
- lib/find_bit_benchmark.c, line 44
- lib/idr.c, line 509
- lib/math/prime_numbers.c, line 102
- lib/radix-tree.c, line 118
- lib/test_kasan.c, line 687
- mm/page_owner.c, line 155
- net/core/dev.c, 2 times
- net/mac80211/agg-rx.c, 2 times
- net/mac80211/util.c, line 405
- net/netlink/af_netlink.c, line 1616
- net/sched/sch_gred.c, 2 times
- net/sched/sch_qfq.c, 14 times
- net/sunrpc/auth_gss/svcauth_gss.c, line 618
- net/unix/garbage.c, 2 times
- sound/soc/tegra/tegra30_ahub.c, 2 times
- sound/soc/ux500/mop500_ab8500.c, line 345
- tools/testing/radix-tree/idr-test.c, line 475