Defined in 21 files as a macro:
- arch/alpha/include/asm/atomic.h, line 27 (as a macro)
- arch/arc/include/asm/atomic.h, line 17 (as a macro)
- arch/arm/include/asm/atomic.h, line 18 (as a macro)
- arch/arm64/include/asm/atomic.h, line 102 (as a macro)
- arch/h8300/include/asm/atomic.h, line 15 (as a macro)
- arch/hexagon/include/asm/atomic.h, line 15 (as a macro)
- arch/ia64/include/asm/atomic.h, line 22 (as a macro)
- arch/m68k/include/asm/atomic.h, line 19 (as a macro)
- arch/mips/include/asm/atomic.h, line 36 (as a macro)
- arch/parisc/include/asm/atomic.h, line 139 (as a macro)
- arch/powerpc/include/asm/atomic.h, line 15 (as a macro)
- arch/riscv/include/asm/atomic.h, line 22 (as a macro)
- arch/s390/include/asm/atomic.h, line 18 (as a macro)
- arch/sh/include/asm/atomic.h, line 22 (as a macro)
- arch/sparc/include/asm/atomic_32.h, line 21 (as a macro)
- arch/sparc/include/asm/atomic_64.h, line 15 (as a macro)
- arch/x86/include/asm/atomic.h, line 17 (as a macro)
- arch/xtensa/include/asm/atomic.h, line 22 (as a macro)
- include/asm-generic/atomic.h, line 162 (as a macro)
- tools/arch/x86/include/asm/atomic.h, line 18 (as a macro)
- tools/include/asm-generic/atomic-gcc.h, line 15 (as a macro)
Referenced in 250 files:
- arch/arm/mach-cns3xxx/pm.c, line 119
- arch/arm/mach-exynos/pm.c, line 187
- arch/arm64/include/asm/atomic.h, line 170
- arch/arm64/kernel/cpu_errata.c, line 101
- arch/arm64/kernel/insn.c, line 218
- arch/arm64/kernel/smp.c, line 850
- arch/m68k/bvme6000/rtc.c, line 37
- arch/m68k/mvme16x/rtc.c, line 36
- arch/mips/include/asm/processor.h, line 338
- arch/mips/kernel/machine_kexec.c, line 26
- arch/mips/kernel/perf_event_mipsxx.c, line 545
- arch/mips/kernel/sync-r4k.c, 2 times
- arch/mips/mm/page.c, 2 times
- arch/mips/sgi-ip27/ip27-nmi.c, line 191
- arch/openrisc/kernel/sync-timer.c, 2 times
- arch/powerpc/kernel/smp.c, line 372
- arch/powerpc/platforms/85xx/smp.c, line 358
- arch/powerpc/platforms/cell/spufs/context.c, line 23
- arch/powerpc/platforms/powermac/backlight.c, line 40
- arch/riscv/kernel/perf_event.c, line 376
- arch/s390/kernel/perf_cpum_cf.c, line 166
- arch/s390/kernel/perf_cpum_cf_common.c, 5 times
- arch/s390/kernel/perf_cpum_cf_diag.c, line 180
- arch/s390/kernel/topology.c, line 344
- arch/sh/kernel/ftrace.c, line 95
- arch/sparc/kernel/nmi.c, line 44
- arch/sparc/kernel/perf_event.c, line 1158
- arch/sparc/kernel/smp_64.c, 2 times
- arch/sparc/kernel/traps_64.c, 2 times
- arch/sparc/mm/init_64.c, 2 times
- arch/um/drivers/port_kern.c, line 192
- arch/um/drivers/random.c, line 46
- arch/um/kernel/process.c, line 311
- arch/x86/kernel/cpu/mce/therm_throt.c, line 81
- arch/x86/kernel/cpu/mshyperv.c, line 181
- arch/x86/kernel/smp.c, line 115
- arch/x86/kernel/tboot.c, 2 times
- arch/x86/kvm/x86.c, line 1684
- arch/x86/platform/uv/uv_nmi.c, 2 times
- arch/xtensa/kernel/jump_label.c, line 58
- drivers/ata/libata-core.c, line 92
- drivers/auxdisplay/charlcd.c, line 97
- drivers/auxdisplay/panel.c, line 401
- drivers/base/dd.c, 2 times
- drivers/base/devcoredump.c, line 258
- drivers/base/power/wakeup.c, line 44
- drivers/block/drbd/drbd_bitmap.c, line 1058
- drivers/block/drbd/drbd_nl.c, 2 times
- drivers/block/floppy.c, line 586
- drivers/bus/mips_cdmm.c, line 273
- drivers/cdrom/cdrom.c, line 3696
- drivers/char/apm-emulation.c, 2 times
- drivers/char/ipmi/bt-bmc.c, line 70
- drivers/char/ipmi/ipmi_msghandler.c, 3 times
- drivers/char/ipmi/ipmi_poweroff.c, line 88
- drivers/char/ipmi/ipmi_watchdog.c, 3 times
- drivers/clocksource/arm_arch_timer.c, line 382
- drivers/connector/cn_proc.c, line 38
- drivers/cpufreq/omap-cpufreq.c, line 38
- drivers/cpuidle/cpuidle-ux500.c, line 20
- drivers/crypto/ccp/ccp-dev.c, line 39
- drivers/devfreq/devfreq-event.c, line 306
- drivers/devfreq/devfreq.c, line 616
- drivers/edac/edac_device.c, line 442
- drivers/edac/edac_pci.c, line 29
- drivers/edac/edac_pci_sysfs.c, 3 times
- drivers/edac/ghes_edac.c, line 29
- drivers/extcon/extcon.c, line 1085
- drivers/firewire/core-card.c, line 518
- drivers/firmware/efi/efi.c, 2 times
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c, line 33
- drivers/gpu/drm/amd/amdkfd/kfd_device.c, line 40
- drivers/gpu/drm/msm/msm_gem_submit.c, line 400
- drivers/hid/hid-core.c, line 2319
- drivers/hid/hid-logitech-hidpp.c, line 3213
- drivers/hid/wacom_sys.c, line 1729
- drivers/hv/connection.c, line 28
- drivers/hv/hv_balloon.c, line 478
- drivers/infiniband/core/addr.c, line 71
- drivers/infiniband/hw/qib/qib_diag.c, line 147
- drivers/infiniband/hw/qib/qib_file_ops.c, line 2350
- drivers/input/gameport/gameport.c, line 526
- drivers/input/input.c, line 1807
- drivers/input/misc/ims-pcu.c, line 1860
- drivers/input/rmi4/rmi_bus.c, line 76
- drivers/input/serio/serio.c, line 499
- drivers/input/serio/serio_raw.c, line 292
- drivers/iommu/arm-smmu-impl.c, line 58
- drivers/leds/trigger/ledtrig-cpu.c, line 38
- drivers/md/dm-integrity.c, 11 times
- drivers/md/dm-writecache.c, line 452
- drivers/md/dm.c, line 53
- drivers/media/pci/cobalt/cobalt-driver.c, line 35
- drivers/media/pci/cx18/cx18-driver.c, line 50
- drivers/media/pci/ivtv/ivtv-driver.c, line 87
- drivers/media/pci/tw68/tw68-core.c, line 55
- drivers/media/radio/radio-maxiradio.c, line 65
- drivers/media/radio/radio-shark.c, line 78
- drivers/media/radio/radio-shark2.c, line 73
- drivers/media/radio/radio-si476x.c, line 1428
- drivers/media/usb/hdpvr/hdpvr-core.c, line 32
- drivers/mfd/db8500-prcmu.c, line 442
- drivers/misc/cxl/base.c, line 16
- drivers/misc/ibmasm/command.c, line 18
- drivers/misc/lkdtm/refcount.c, line 363
- drivers/misc/vmw_vmci/vmci_datagram.c, line 45
- drivers/misc/vmw_vmci/vmci_guest.c, line 71
- drivers/misc/vmw_vmci/vmci_host.c, line 93
- drivers/net/bonding/bond_main.c, line 198
- drivers/net/ethernet/altera/altera_tse_main.c, line 45
- drivers/net/ethernet/hisilicon/hns/hnae.c, line 404
- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c, line 1003
- drivers/net/ethernet/mellanox/mlx4/main.c, line 179
- drivers/net/ppp/ppp_generic.c, 2 times
- drivers/net/usb/sierra_net.c, line 42
- drivers/oprofile/event_buffer.c, line 36
- drivers/pci/pci.c, line 6175
- drivers/perf/arm_dsu_pmu.c, line 680
- drivers/perf/arm_spe_pmu.c, line 879
- drivers/platform/x86/sony-laptop.c, 3 times
- drivers/power/reset/vexpress-poweroff.c, line 31
- drivers/ras/debugfs.c, line 8
- drivers/regulator/core.c, line 4989
- drivers/s390/block/scm_blk.c, line 31
- drivers/s390/cio/chsc_sch.c, line 914
- drivers/s390/cio/crw.c, line 22
- drivers/s390/cio/device.c, line 50
- drivers/s390/crypto/zcrypt_api.c, 3 times
- drivers/s390/crypto/zcrypt_msgtype50.c, line 445
- drivers/s390/crypto/zcrypt_msgtype6.c, line 1004
- drivers/sbus/char/display7seg.c, line 72
- drivers/scsi/lpfc/lpfc_debugfs.c, line 122
- drivers/scsi/pmcraid.c, line 56
- drivers/scsi/qla2xxx/qla_mid.c, line 89
- drivers/scsi/smartpqi/smartpqi_init.c, line 85
- drivers/soc/fsl/qbman/qman_test_stash.c, line 109
- drivers/staging/android/ashmem.c, line 78
- drivers/staging/goldfish/goldfish_audio.c, line 101
- drivers/staging/octeon/ethernet-rx.c, line 32
- drivers/staging/octeon/ethernet.c, line 96
- drivers/target/sbp/sbp_target.c, line 47
- drivers/target/target_core_user.c, line 205
- drivers/tty/hvc/hvc_console.c, line 61
- drivers/tty/serial/kgdb_nmi.c, line 42
- drivers/tty/serial/msm_serial.c, line 1737
- drivers/usb/core/devices.c, line 112
- drivers/usb/misc/appledisplay.c, line 75
- drivers/usb/serial/io_edgeport.c, line 263
- drivers/video/backlight/apple_bl.c, line 219
- drivers/visorbus/visorchipset.c, line 851
- drivers/watchdog/wdrtas.c, line 40
- drivers/xen/gntdev.c, line 63
- fs/coda/cache.c, line 28
- fs/coredump.c, line 581
- fs/devpts/inode.c, line 46
- fs/erofs/zdata.h, line 141
- fs/file.c, line 450
- fs/fs-writeback.c, line 246
- fs/fscache/cookie.c, line 18
- fs/fscache/fsdef.c, 2 times
- fs/gfs2/glock.c, line 66
- fs/jbd2/journal.c, line 2375
- fs/lockd/clntproc.c, line 40
- fs/lockd/svc.c, line 61
- fs/nfsd/nfssvc.c, line 493
- fs/notify/notification.c, line 38
- fs/ocfs2/cluster/tcp.c, line 481
- fs/overlayfs/dir.c, line 49
- fs/reiserfs/journal.c, line 713
- include/asm-generic/atomic-long.h, line 18
- include/asm-generic/qrwlock_types.h, line 30
- include/asm-generic/qspinlock_types.h, line 57
- include/linux/backing-dev-defs.h, line 77
- include/linux/fault-inject.h, line 36
- include/linux/interrupt.h, 2 times
- include/linux/jump_label.h, 2 times
- include/linux/osq_lock.h, line 26
- include/linux/refcount.h, line 23
- include/linux/sysctl.h, line 116
- include/net/sctp/sctp.h, line 292
- kernel/audit.c, 3 times
- kernel/cred.c, 3 times
- kernel/debug/debug_core.c, 2 times
- kernel/freezer.c, line 16
- kernel/hung_task.c, line 238
- kernel/jump_label.c, 2 times
- kernel/kmod.c, line 44
- kernel/locking/locktorture.c, line 100
- kernel/nsproxy.c, line 30
- kernel/panic.c, line 116
- kernel/power/user.c, line 42
- kernel/printk/printk.c, line 71
- kernel/rcu/rcu.h, line 264
- kernel/rcu/tree.c, line 85
- kernel/rcu/tree_stall.h, line 611
- kernel/rcu/update.c, line 144
- kernel/smpboot.c, line 329
- kernel/umh.c, line 213
- kernel/user.c, 3 times
- kernel/watchdog_hld.c, line 30
- lib/dump_stack.c, line 86
- lib/test_vmalloc.c, line 66
- mm/init-mm.c, 2 times
- mm/mempolicy.c, 2 times
- mm/oom_kill.c, line 477
- mm/swap_state.c, line 97
- mm/swapfile.c, 2 times
- mm/zswap.c, 3 times
- net/9p/trans_virtio.c, line 44
- net/bluetooth/hci_sock.c, line 44
- net/can/af_can.c, line 85
- net/ceph/messenger.c, line 185
- net/core/skbuff.c, line 720
- net/ieee802154/core.c, line 99
- net/ipv6/ip6_flowlabel.c, line 43
- net/ipv6/route.c, 3 times
- net/iucv/af_iucv.c, line 108
- net/netfilter/ipvs/ip_vs_conn.c, line 64
- net/netfilter/ipvs/ip_vs_core.c, line 96
- net/netfilter/ipvs/ip_vs_dh.c, line 246
- net/netfilter/ipvs/ip_vs_fo.c, line 55
- net/netfilter/ipvs/ip_vs_lblc.c, line 538
- net/netfilter/ipvs/ip_vs_lblcr.c, line 724
- net/netfilter/ipvs/ip_vs_lc.c, line 68
- net/netfilter/ipvs/ip_vs_mh.c, line 514
- net/netfilter/ipvs/ip_vs_nq.c, line 118
- net/netfilter/ipvs/ip_vs_ovf.c, line 62
- net/netfilter/ipvs/ip_vs_pe_sip.c, line 164
- net/netfilter/ipvs/ip_vs_rr.c, line 103
- net/netfilter/ipvs/ip_vs_sed.c, line 119
- net/netfilter/ipvs/ip_vs_sh.c, line 351
- net/netfilter/ipvs/ip_vs_wlc.c, line 91
- net/netfilter/ipvs/ip_vs_wrr.c, line 241
- net/netlabel/netlabel_mgmt.c, line 39
- net/netlink/af_netlink.c, line 140
- net/netlink/genetlink.c, line 28
- net/rds/cong.c, line 81
- net/rds/ib_recv.c, line 45
- net/rds/loop.c, line 46
- net/rds/tcp.c, line 60
- net/rfkill/core.c, line 381
- net/smc/smc_core.c, line 96
- net/sunrpc/auth.c, line 42
- net/wireless/core.c, line 401
- security/keys/process_keys.c, 2 times
- security/selinux/hooks.c, line 109
- security/selinux/xfrm.c, line 50
- security/tomoyo/common.c, line 1970
- sound/core/seq_device.c, line 87
- tools/include/linux/refcount.h, line 56