Defined in 21 files as a macro:
- arch/alpha/include/asm/atomic.h, line 293 (as a macro)
- arch/arc/include/asm/atomic.h, line 343 (as a macro)
- arch/arm64/include/asm/atomic.h, line 67 (as a macro)
- arch/avr32/include/asm/atomic.h, line 234 (as a macro)
- arch/h8300/include/asm/atomic.h, line 74 (as a macro)
- arch/hexagon/include/asm/atomic.h, line 208 (as a macro)
- arch/ia64/include/asm/atomic.h, line 305 (as a macro)
- arch/m68k/include/asm/atomic.h, line 193 (as a macro)
- arch/metag/include/asm/atomic.h, line 23 (as a macro)
- arch/mips/include/asm/atomic.h, line 302 (as a macro)
- arch/mn10300/include/asm/atomic.h, line 141 (as a macro)
- arch/parisc/include/asm/atomic.h, line 163 (as a macro)
- arch/s390/include/asm/atomic.h, line 59 (as a macro)
- arch/sh/include/asm/atomic.h, line 36 (as a macro)
- arch/sparc/include/asm/atomic_32.h, line 46 (as a macro)
- arch/sparc/include/asm/atomic_64.h, line 55 (as a macro)
- arch/tile/include/asm/atomic.h, line 76 (as a macro)
- arch/x86/include/asm/atomic.h, line 171 (as a macro)
- arch/xtensa/include/asm/atomic.h, line 225 (as a macro)
- include/asm-generic/atomic.h, line 217 (as a macro)
- include/linux/atomic.h, line 113 (as a macro)
Defined in 1 files as a function:
Documented in 1 files:
Referenced in 301 files:
- arch/arm/mach-cns3xxx/cns3420vb.c, line 139
- arch/arm/mach-cns3xxx/core.c, line 315
- arch/arm/mach-imx/cpuidle-imx6q.c, line 25
- arch/arm64/include/asm/atomic.h, line 124
- arch/arm64/kernel/insn.c, line 237
- arch/blackfin/kernel/ipipe.c, line 173
- arch/frv/include/asm/atomic.h, line 65
- arch/h8300/include/asm/atomic.h, 2 times
- arch/ia64/kernel/crash.c, 3 times
- arch/m32r/include/asm/atomic.h, 3 times
- arch/metag/include/asm/atomic.h, line 33
- arch/mips/include/asm/atomic.h, line 323
- arch/mips/kernel/pm-cps.c, line 106
- arch/mips/kernel/rtlx.c, line 101
- arch/mips/kernel/smp.c, line 672
- arch/mips/kvm/mips.c, line 135
- arch/parisc/include/asm/atomic.h, line 176
- arch/powerpc/include/asm/atomic.h, line 173
- arch/s390/kvm/interrupt.c, line 2014
- arch/sh/include/asm/atomic.h, line 37
- arch/sh/kernel/ftrace.c, line 144
- arch/sparc/include/asm/atomic_32.h, line 59
- arch/sparc/include/asm/atomic_64.h, line 66
- arch/tile/include/asm/atomic.h, line 116
- arch/tile/kernel/perf_event.c, line 838
- arch/x86/events/core.c, line 2112
- arch/x86/events/intel/uncore.c, 2 times
- arch/x86/kernel/cpu/mcheck/mce.c, 3 times
- arch/x86/mm/mmio-mod.c, line 261
- block/blk-mq.c, line 67
- crypto/pcrypt.c, line 230
- drivers/acpi/acpi_extlog.c, line 109
- drivers/acpi/apei/ghes.c, line 497
- drivers/ata/libata-core.c, line 6372
- drivers/ata/libata-scsi.c, line 4993
- drivers/base/devcoredump.c, line 313
- drivers/base/power/wakeup.c, line 541
- drivers/block/drbd/drbd_main.c, 2 times
- drivers/block/drbd/drbd_nl.c, 6 times
- drivers/block/floppy.c, line 4443
- drivers/bus/mips_cdmm.c, line 541
- drivers/char/ipmi/bt-bmc.c, line 156
- drivers/char/ipmi/ipmi_msghandler.c, 3 times
- drivers/char/ipmi/ipmi_ssif.c, line 1636
- drivers/cpufreq/arm_big_little.c, line 393
- drivers/cpufreq/omap-cpufreq.c, line 134
- drivers/cpuidle/coupled.c, 2 times
- drivers/cpuidle/cpuidle-ux500.c, line 32
- drivers/crypto/ccp/ccp-dev.c, line 117
- drivers/crypto/ccp/ccp-ops.c, line 49
- drivers/crypto/hifn_795x.c, line 2478
- drivers/crypto/talitos.c, line 2895
- drivers/devfreq/devfreq-event.c, line 332
- drivers/dma/of-dma.c, line 267
- drivers/edac/edac_device.c, line 444
- drivers/edac/edac_pci.c, line 200
- drivers/edac/edac_pci_sysfs.c, line 344
- drivers/extcon/extcon.c, line 1085
- drivers/firewire/core-card.c, line 533
- drivers/firmware/arm_scpi.c, line 522
- drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c, line 421
- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c, line 1551
- drivers/gpu/drm/amd/scheduler/sched_fence.c, line 63
- drivers/gpu/drm/i915/i915_gem_request.c, line 392
- drivers/gpu/drm/i915/i915_sw_fence.c, line 116
- drivers/gpu/drm/nouveau/nvif/notify.c, line 44
- drivers/gpu/drm/radeon/radeon_irq_kms.c, 3 times
- drivers/gpu/host1x/intr.c, line 91
- drivers/hid/hid-core.c, line 2703
- drivers/hid/wacom_sys.c, line 1511
- drivers/hv/channel.c, line 401
- drivers/hv/hv_balloon.c, 7 times
- drivers/hwtracing/coresight/coresight.c, line 181
- drivers/i2c/busses/i2c-octeon-platdrv.c, 2 times
- drivers/iio/accel/bmc150-accel-core.c, line 460
- drivers/iio/common/ssp_sensors/ssp_dev.c, line 272
- drivers/infiniband/core/addr.c, line 637
- drivers/infiniband/core/fmr_pool.c, line 390
- drivers/infiniband/core/iwpm_util.c, line 381
- drivers/infiniband/core/sa_query.c, line 650
- drivers/infiniband/hw/cxgb4/device.c, line 114
- drivers/infiniband/hw/cxgb4/mem.c, line 290
- drivers/infiniband/hw/hfi1/verbs.c, line 264
- drivers/infiniband/hw/i40iw/i40iw_hw.c, line 335
- drivers/infiniband/hw/i40iw/i40iw_main.c, line 1377
- drivers/infiniband/hw/mlx4/mad.c, line 104
- drivers/infiniband/hw/nes/nes_hw.c, line 3547
- drivers/infiniband/hw/nes/nes_mgt.c, line 843
- drivers/infiniband/hw/nes/nes_verbs.c, line 2972
- drivers/infiniband/hw/qib/qib_diag.c, line 165
- drivers/infiniband/hw/qib/qib_driver.c, line 737
- drivers/infiniband/hw/qib/qib_file_ops.c, 3 times
- drivers/infiniband/hw/qib/qib_mad.c, 2 times
- drivers/infiniband/sw/rxe/rxe_pool.c, line 403
- drivers/input/gameport/gameport.c, line 537
- drivers/input/input.c, line 1798
- drivers/input/misc/ims-pcu.c, line 1889
- drivers/input/rmi4/rmi_bus.c, line 88
- drivers/input/serio/serio.c, line 526
- drivers/input/serio/serio_raw.c, line 306
- drivers/iommu/arm-smmu.c, line 924
- drivers/isdn/capi/capi.c, 3 times
- drivers/lightnvm/rrpc.c, 2 times
- drivers/md/bcache/closure.h, line 266
- drivers/md/bcache/io.c, line 61
- drivers/md/bcache/util.h, line 24
- drivers/md/dm-mpath.c, line 1295
- drivers/md/dm.c, line 518
- drivers/md/raid5.c, line 5177
- drivers/media/pci/cobalt/cobalt-driver.c, line 681
- drivers/media/pci/cx18/cx18-driver.c, line 910
- drivers/media/pci/saa7164/saa7164-encoder.c, 2 times
- drivers/media/pci/saa7164/saa7164-vbi.c, 2 times
- drivers/media/pci/solo6x10/solo6x10-g723.c, line 190
- drivers/media/pci/solo6x10/solo6x10-p2m.c, line 76
- drivers/media/platform/omap3isp/ispvideo.c, line 545
- drivers/media/platform/ti-vpe/vpe.c, line 2336
- drivers/media/usb/cx231xx/cx231xx-417.c, line 1809
- drivers/media/usb/hdpvr/hdpvr-core.c, line 383
- drivers/media/usb/uvc/uvc_ctrl.c, line 2016
- drivers/media/usb/uvc/uvc_v4l2.c, line 461
- drivers/media/v4l2-core/v4l2-device.c, line 79
- drivers/mfd/jz4740-adc.c, line 88
- drivers/mfd/mfd-core.c, line 36
- drivers/misc/sgi-xp/xpc.h, line 939
- drivers/misc/sgi-xp/xpc_main.c, 3 times
- drivers/net/ethernet/broadcom/cnic.c, line 1914
- drivers/net/ethernet/brocade/bna/bnad.c, line 3636
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c, line 522
- drivers/net/ethernet/hisilicon/hns/hnae.c, line 413
- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c, line 892
- drivers/net/ethernet/ibm/ehea/ehea_main.c, line 3345
- drivers/net/ethernet/toshiba/ps3_gelic_net.c, line 253
- drivers/net/gtp.c, line 409
- drivers/net/hyperv/rndis_filter.c, 3 times
- drivers/net/usb/sierra_net.c, line 721
- drivers/net/wireless/ath/ar5523/ar5523.c, 2 times
- drivers/net/wireless/ath/carl9170/main.c, line 516
- drivers/net/wireless/ath/carl9170/usb.c, 2 times
- drivers/net/wireless/intel/iwlegacy/common.h, line 2287
- drivers/net/wireless/intel/iwlwifi/dvm/main.c, line 2066
- drivers/net/wireless/intel/iwlwifi/mvm/ops.c, line 991
- drivers/net/wireless/marvell/mwifiex/main.c, line 787
- drivers/net/xen-netback/hash.c, 2 times
- drivers/nvme/host/fc.c, line 1746
- drivers/nvme/target/fc.c, 2 times
- drivers/pci/pci.c, 2 times
- drivers/platform/x86/sony-laptop.c, line 4086
- drivers/regulator/core.c, line 4046
- drivers/remoteproc/remoteproc_core.c, line 1103
- drivers/reset/core.c, 2 times
- drivers/rpmsg/virtio_rpmsg_bus.c, line 464
- drivers/s390/block/scm_blk.c, line 478
- drivers/s390/char/monreader.c, line 259
- drivers/s390/char/tape_core.c, line 565
- drivers/s390/crypto/zcrypt_api.c, line 99
- drivers/s390/crypto/zcrypt_msgtype50.c, 2 times
- drivers/s390/crypto/zcrypt_msgtype6.c, 5 times
- drivers/scsi/esas2r/esas2r.h, line 1315
- drivers/scsi/fcoe/fcoe_sysfs.c, 2 times
- drivers/scsi/hpsa.c, 7 times
- drivers/scsi/ibmvscsi/ibmvfc.c, line 774
- drivers/scsi/ibmvscsi/ibmvscsi.c, line 553
- drivers/scsi/lpfc/lpfc_debugfs.c, 4 times
- drivers/scsi/lpfc/lpfc_scsi.c, line 5468
- drivers/scsi/megaraid/megaraid_sas_fusion.c, line 2190
- drivers/scsi/qla2xxx/qla_target.c, line 138
- drivers/scsi/scsi_debug.c, line 4043
- drivers/scsi/scsi_lib.c, 3 times
- drivers/scsi/scsi_transport_srp.c, line 717
- drivers/scsi/sd.c, line 1253
- drivers/scsi/sg.c, line 1566
- drivers/scsi/smartpqi/smartpqi_init.c, 2 times
- drivers/scsi/virtio_scsi.c, line 607
- drivers/soc/ti/knav_dma.c, 2 times
- drivers/soc/ti/knav_qmss_acc.c, 2 times
- drivers/soc/ti/knav_qmss_queue.c, 3 times
- drivers/staging/goldfish/goldfish_audio.c, line 199
- drivers/staging/greybus/operation.c, line 723
- drivers/staging/lustre/lnet/libcfs/fail.c, 2 times
- drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c, line 770
- drivers/staging/lustre/lustre/ldlm/ldlm_resource.c, line 1008
- drivers/staging/lustre/lustre/llite/llite_lib.c, line 870
- drivers/staging/lustre/lustre/lov/lov_request.c, line 78
- drivers/staging/lustre/lustre/mgc/mgc_request.c, line 758
- drivers/staging/lustre/lustre/obdclass/lu_object.c, line 1133
- drivers/staging/lustre/lustre/osc/osc_page.c, line 555
- drivers/staging/lustre/lustre/osc/osc_request.c, line 496
- drivers/staging/lustre/lustre/ptlrpc/client.c, 2 times
- drivers/staging/lustre/lustre/ptlrpc/nrs.c, line 225
- drivers/staging/lustre/lustre/ptlrpc/sec.c, line 1177
- drivers/staging/media/omap4iss/iss_video.c, line 454
- drivers/staging/octeon/ethernet.c, line 916
- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c, 5 times
- drivers/staging/unisys/visorbus/visorchipset.c, line 1181
- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c, line 1458
- drivers/target/iscsi/iscsi_target_device.c, line 62
- drivers/target/sbp/sbp_target.c, line 426
- drivers/tty/hvc/hvsi.c, 5 times
- drivers/tty/hvc/hvsi_lib.c, line 11
- drivers/tty/metag_da.c, line 367
- drivers/tty/serial/ioc4_serial.c, line 977
- drivers/tty/serial/msm_serial.c, line 1753
- drivers/usb/gadget/function/f_rndis.c, line 395
- drivers/usb/misc/appledisplay.c, line 286
- drivers/usb/usbip/vhci_hcd.c, 2 times
- drivers/usb/wusbcore/wa-hc.h, line 349
- drivers/watchdog/wdrtas.c, line 371
- fs/afs/callback.c, line 241
- fs/afs/inode.c, line 158
- fs/btrfs/delayed-inode.c, line 450
- fs/cachefiles/namei.c, 2 times
- fs/ceph/snap.c, line 73
- fs/cifs/cifsfs.c, line 103
- fs/cifs/connect.c, line 828
- fs/coredump.c, line 629
- fs/ecryptfs/main.c, line 143
- fs/fscache/cookie.c, 2 times
- fs/fscache/operation.c, line 43
- fs/fscache/page.c, line 997
- fs/inode.c, line 415
- fs/lockd/clntproc.c, line 43
- fs/nfs/flexfilelayout/flexfilelayout.c, line 599
- fs/nfs/super.c, line 417
- fs/nfsd/nfssvc.c, line 499
- fs/notify/inotify/inotify_user.c, line 658
- fs/notify/notification.c, line 59
- fs/overlayfs/dir.c, line 51
- fs/xfs/libxfs/xfs_sb.c, 2 times
- fs/xfs/xfs_filestream.c, line 106
- fs/xfs/xfs_trans_bmap.c, line 168
- fs/xfs/xfs_trans_extfree.c, line 165
- fs/xfs/xfs_trans_refcount.c, line 164
- fs/xfs/xfs_trans_rmap.c, line 185
- include/asm-generic/atomic.h, line 221
- include/linux/atomic.h, 7 times
- include/linux/kref.h, line 46
- include/linux/page_ref.h, line 129
- kernel/auditsc.c, 2 times
- kernel/bpf/hashtab.c, line 589
- kernel/bpf/syscall.c, line 273
- kernel/events/callchain.c, line 114
- kernel/events/core.c, line 9072
- kernel/irq/spurious.c, 2 times
- kernel/padata.c, line 58
- kernel/rcu/rcuperf.c, 2 times
- kernel/sched/auto_group.c, line 80
- kernel/sched/core.c, line 6184
- kernel/trace/blktrace.c, 2 times
- kernel/trace/ftrace.c, line 816
- kernel/trace/trace.c, line 7791
- kernel/trace/trace_events.c, 2 times
- kernel/trace/trace_events_trigger.c, line 451
- kernel/trace/trace_functions.c, line 177
- kernel/trace/trace_functions_graph.c, 2 times
- kernel/trace/trace_irqsoff.c, line 121
- kernel/trace/trace_sched_wakeup.c, 3 times
- kernel/trace/tracing_map.c, line 352
- lib/sbitmap.c, line 311
- mm/memcontrol.c, line 1291
- mm/zswap.c, line 505
- net/atm/br2684.c, line 192
- net/batman-adv/fragmentation.c, line 484
- net/batman-adv/soft-interface.c, line 357
- net/can/af_can.c, line 694
- net/ceph/messenger.c, line 201
- net/core/neighbour.c, line 273
- net/core/netpoll.c, line 458
- net/ieee802154/core.c, line 124
- net/ipv4/ip_fragment.c, line 285
- net/ipv4/netfilter/nf_nat_masquerade_ipv4.c, line 139
- net/ipv6/netfilter/nf_nat_masquerade_ipv6.c, line 168
- net/iucv/af_iucv.c, 2 times
- net/key/af_key.c, line 3056
- net/mac80211/agg-tx.c, line 172
- net/mac802154/iface.c, 2 times
- net/netfilter/nfnetlink_log.c, line 577
- net/packet/af_packet.c, line 1350
- net/rds/ib_rdma.c, line 453
- net/rfkill/core.c, line 1230
- net/rxrpc/call_object.c, 2 times
- net/rxrpc/conn_event.c, 2 times
- net/rxrpc/conn_object.c, 2 times
- net/rxrpc/local_object.c, line 96
- net/rxrpc/output.c, 3 times
- net/rxrpc/peer_object.c, line 232
- net/rxrpc/rxkad.c, 2 times
- net/rxrpc/skbuff.c, 2 times
- net/sched/act_gact.c, line 42
- net/sunrpc/clnt.c, line 2849
- net/sunrpc/debugfs.c, line 246
- net/sunrpc/sched.c, line 267
- net/sunrpc/xprtsock.c, line 2109
- net/wireless/core.c, line 395
- net/xfrm/xfrm_state.c, line 1541
- security/apparmor/policy.c, line 692
- security/selinux/avc.c, 2 times
- sound/core/seq/seq_device.c, line 116
- sound/i2c/other/ak4113.c, 2 times
- sound/i2c/other/ak4114.c, 2 times
- sound/usb/card.c, 2 times