Defined in 1 files as a prototype:
Defined in 22 files as a macro:
- arch/alpha/include/asm/atomic.h, line 192 (as a macro)
- arch/arc/include/asm/cmpxchg.h, line 219 (as a macro)
- arch/arm/include/asm/atomic.h, line 255 (as a macro)
- arch/arm64/include/asm/atomic.h, line 112 (as a macro)
- arch/avr32/include/asm/atomic.h, line 225 (as a macro)
- arch/frv/include/asm/atomic.h, line 145 (as a macro)
- arch/h8300/include/asm/cmpxchg.h, line 63 (as a macro)
- arch/hexagon/include/asm/atomic.h, line 58 (as a macro)
- arch/ia64/include/asm/atomic.h, line 233 (as a macro)
- arch/m32r/include/asm/atomic.h, line 248 (as a macro)
- arch/m68k/include/asm/atomic.h, line 161 (as a macro)
- arch/metag/include/asm/atomic_lock1.h, line 120 (as a macro)
- arch/mips/include/asm/atomic.h, line 275 (as a macro)
- arch/mn10300/include/asm/atomic.h, line 156 (as a macro)
- arch/parisc/include/asm/atomic.h, line 75 (as a macro)
- arch/powerpc/include/asm/atomic.h, line 216 (as a macro)
- arch/s390/include/asm/atomic.h, line 85 (as a macro)
- arch/sh/include/asm/atomic.h, line 44 (as a macro)
- arch/sparc/include/asm/atomic_64.h, line 85 (as a macro)
- arch/xtensa/include/asm/atomic.h, line 275 (as a macro)
- include/asm-generic/atomic.h, line 223 (as a macro)
- include/linux/atomic.h, line 397 (as a macro)
Defined in 5 files as a function:
Documented in 2 files:
Referenced in 63 files:
- arch/arm64/include/asm/atomic.h, line 191
- arch/blackfin/mach-common/smp.c, line 150
- arch/mips/math-emu/dsemul.c, line 154
- arch/mips/mm/page.c
- arch/powerpc/platforms/powernv/opal-prd.c
- arch/sh/drivers/dma/dma-api.c, line 201
- arch/sparc/lib/atomic32.c, line 80
- arch/x86/kvm/i8254.c, line 247
- arch/x86/kvm/x86.c, line 6310
- drivers/block/drbd/drbd_worker.c, line 557
- drivers/firewire/core-device.c, line 1320
- drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c, line 161
- drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c, line 514
- drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c, line 633
- drivers/gpu/drm/nouveau/nouveau_usif.c
- drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c, line 305
- drivers/gpu/drm/radeon/cik.c, line 7590
- drivers/gpu/drm/radeon/evergreen.c, line 5063
- drivers/gpu/drm/radeon/r600.c, line 4117
- drivers/gpu/drm/radeon/si.c, line 6459
- drivers/gpu/host1x/intr.c, line 156
- drivers/infiniband/hw/hfi1/driver.c, line 965
- drivers/infiniband/ulp/srpt/ib_srpt.c
- drivers/md/bcache/stats.c, line 154
- drivers/md/bcache/super.c, line 857
- drivers/md/bcache/writeback.h, line 72
- drivers/misc/lis3lv02d/lis3lv02d.c, line 618
- drivers/net/ethernet/ti/netcp_ethss.c, line 2141
- drivers/net/wireless/ath/wil6210/debugfs.c
- drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c, line 2558
- drivers/net/wireless/intel/iwlwifi/pcie/rx.c
- drivers/net/wireless/st/cw1200/bh.c
- drivers/net/wireless/st/cw1200/scan.c
- drivers/net/wireless/st/cw1200/sta.c
- drivers/nvme/host/fc.c
- drivers/nvme/target/fc.c, line 647
- drivers/platform/x86/dell-smo8800.c, line 101
- drivers/s390/net/qeth_core_main.c
- drivers/scsi/hptiop.c, line 1084
- drivers/scsi/scsi_debug.c, line 1502
- drivers/staging/nvec/nvec.c, line 176
- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c
- drivers/video/backlight/apple_bl.c
- fs/aio.c, line 818
- fs/btrfs/dev-replace.c, line 786
- fs/btrfs/ioctl.c
- fs/btrfs/qgroup.c, line 2921
- fs/btrfs/volumes.c, line 4002
- fs/btrfs/volumes.h, line 513
- fs/cachefiles/daemon.c, line 179
- include/linux/atomic.h
- include/linux/rcupdate.h, line 1250
- kernel/debug/debug_core.c
- kernel/events/core.c, line 4500
- kernel/hung_task.c, line 239
- kernel/locking/osq_lock.c, line 106
- kernel/printk/internal.h, line 42
- kernel/smpboot.c, line 461
- kernel/trace/trace_mmiotrace.c, line 123
- mm/swap_state.c, line 423
- net/ceph/messenger.c
- net/core/dev.c, line 1701