Defined in 3 files as a macro:
Defined in 4 files as a function:
Documented in 2 files:
Referenced in 164 files:
- arch/alpha/include/asm/atomic.h, line 305
- arch/arc/include/asm/atomic.h, 2 times
- arch/arm/include/asm/atomic.h, line 257
- arch/arm64/include/asm/atomic.h, line 122
- arch/avr32/include/asm/atomic.h, line 231
- arch/hexagon/include/asm/atomic.h, line 200
- arch/ia64/include/asm/atomic.h, line 318
- arch/m32r/include/asm/spinlock.h, line 321
- arch/m68k/amiga/chipram.c, line 108
- arch/metag/include/asm/atomic.h, line 38
- arch/mips/include/asm/atomic.h, line 347
- arch/mn10300/include/asm/spinlock.h, 3 times
- arch/parisc/include/asm/atomic.h, 2 times
- arch/s390/include/asm/atomic.h, 2 times
- arch/s390/kernel/topology.c, line 319
- arch/sh/include/asm/atomic.h, line 41
- arch/sparc/include/asm/atomic_64.h, line 75
- arch/tile/include/asm/atomic.h, 2 times
- arch/x86/events/intel/uncore_nhmex.c, 2 times
- arch/x86/events/intel/uncore_snbep.c, 2 times
- arch/x86/kernel/cpu/mcheck/mce.c, line 948
- arch/xtensa/include/asm/atomic.h, line 217
- drivers/atm/idt77252.c, 3 times
- drivers/atm/nicstar.c, 2 times
- drivers/atm/suni.c, line 52
- drivers/atm/uPD98402.c, 3 times
- drivers/block/drbd/drbd_bitmap.c, line 1037
- drivers/block/drbd/drbd_receiver.c, 8 times
- drivers/block/drbd/drbd_req.c, line 459
- drivers/block/drbd/drbd_worker.c, 2 times
- drivers/block/rsxx/dma.c, line 495
- drivers/char/agp/i460-agp.c, line 387
- drivers/char/ipmi/ipmi_msghandler.c, line 4294
- drivers/char/ipmi/ipmi_watchdog.c, 2 times
- drivers/cpuidle/coupled.c, line 216
- drivers/crypto/marvell/cesa.h, line 741
- drivers/firewire/nosy.c, line 222
- drivers/gpu/drm/udl/udl_fb.c, 4 times
- drivers/infiniband/hw/hfi1/iowait.h, line 218
- drivers/infiniband/hw/hfi1/user_sdma.c, line 1223
- drivers/infiniband/hw/mlx5/mr.c, line 1179
- drivers/infiniband/ulp/srpt/ib_srpt.c, 4 times
- drivers/isdn/gigaset/bas-gigaset.c, 2 times
- drivers/md/bcache/closure.c, line 107
- drivers/md/bcache/closure.h, line 231
- drivers/md/bcache/stats.c, 2 times
- drivers/md/dm-service-time.c, line 306
- drivers/md/md.c, line 8097
- drivers/md/md.h, line 498
- drivers/md/raid1.c, 2 times
- drivers/md/raid10.c, 2 times
- drivers/md/raid5.c, line 2387
- drivers/message/fusion/mptlan.c, line 1274
- drivers/misc/cxl/api.c, line 488
- drivers/net/can/c_can/c_can.c, line 487
- drivers/net/ethernet/alteon/acenic.c, 3 times
- drivers/net/ethernet/aurora/nb8800.c, line 540
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c, 2 times
- drivers/net/ethernet/cavium/liquidio/octeon_droq.c, line 106
- drivers/net/ethernet/cavium/thunder/nicvf_queues.c, line 875
- drivers/net/ethernet/emulex/benet/be_main.c, 2 times
- drivers/net/ethernet/ibm/ehea/ehea_main.c, line 871
- drivers/net/ethernet/ibm/ibmveth.c, 2 times
- drivers/net/ethernet/ibm/ibmvnic.c, 2 times
- drivers/net/ethernet/jme.c, line 1521
- drivers/net/team/team.c, 2 times
- drivers/net/wireless/ath/ath10k/htt_rx.c, line 1586
- drivers/net/wireless/ath/carl9170/tx.c, 3 times
- drivers/net/wireless/marvell/mwifiex/11n_aggr.c, line 253
- drivers/net/wireless/marvell/mwifiex/txrx.c, line 213
- drivers/net/wireless/st/cw1200/bh.c, 3 times
- drivers/net/wireless/st/cw1200/wsm.c, line 1147
- drivers/nvme/target/rdma.c, 3 times
- drivers/s390/cio/qdio_main.c, line 1531
- drivers/s390/crypto/zcrypt_api.c, 2 times
- drivers/s390/net/qeth_core_main.c, line 3490
- drivers/s390/scsi/zfcp_qdio.c, line 78
- drivers/scsi/bnx2fc/bnx2fc_hwi.c, line 1083
- drivers/scsi/ibmvscsi/ibmvscsi.c, line 1836
- drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c, line 687
- drivers/staging/lustre/lustre/llite/rw.c, line 122
- drivers/staging/lustre/lustre/osc/lproc_osc.c, line 117
- drivers/staging/lustre/lustre/osc/osc_cache.c, 4 times
- drivers/staging/lustre/lustre/osc/osc_request.c, line 2644
- drivers/staging/lustre/lustre/ptlrpc/ptlrpcd.c, 2 times
- drivers/staging/media/omap4iss/iss_csi2.c, line 710
- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c, line 2544
- drivers/target/iscsi/iscsi_target_device.c, line 50
- drivers/tty/metag_da.c, line 494
- drivers/tty/mips_ejtag_fdc.c, line 822
- drivers/tty/serial/dz.c, 2 times
- drivers/tty/serial/sb1250-duart.c, line 713
- drivers/tty/serial/zs.c, line 768
- drivers/tty/tty_buffer.c, line 175
- drivers/usb/core/devices.c, line 160
- drivers/usb/core/devio.c, line 162
- drivers/video/fbdev/udlfb.c, 8 times
- fs/aio.c, line 908
- fs/btrfs/delayed-inode.c, 2 times
- fs/btrfs/inode.c, line 1195
- fs/btrfs/qgroup.c, line 2908
- fs/ext4/mballoc.c, 6 times
- fs/ext4/resize.c, line 1388
- fs/ext4/super.c, 2 times
- fs/gfs2/log.c, 3 times
- fs/gfs2/rgrp.c, line 2273
- fs/jfs/jfs_imap.c, 2 times
- fs/kernfs/dir.c, line 1199
- fs/nfs/pnfs_nfs.c, line 303
- fs/nilfs2/inode.c, line 922
- include/linux/atmdev.h, line 245
- include/linux/page_ref.h, line 92
- include/linux/skbuff.h, line 1384
- include/net/sctp/sctp.h, line 411
- include/net/sock.h, 2 times
- ipc/msg.c, line 726
- kernel/bpf/core.c, line 932
- kernel/cred.c, line 88
- kernel/events/core.c, line 2636
- kernel/locking/qspinlock.c, line 198
- kernel/profile.c, 4 times
- kernel/rcu/tree.c, line 332
- lib/genalloc.c, line 393
- lib/sbitmap.c, line 313
- mm/memcontrol.c, line 4066
- net/9p/trans_virtio.c, line 340
- net/atm/atm_misc.c, line 36
- net/atm/br2684.c, line 255
- net/atm/clip.c, line 384
- net/atm/common.c, line 78
- net/atm/lec.c, line 184
- net/atm/mpc.c, line 558
- net/atm/pppoatm.c, line 353
- net/batman-adv/translation-table.c, line 349
- net/bluetooth/rfcomm/sock.c, line 55
- net/core/datagram.c, line 598
- net/core/filter.c, line 953
- net/core/flow.c, line 106
- net/core/pktgen.c, 2 times
- net/core/skbuff.c, 2 times
- net/core/sock.c, 2 times
- net/ipv4/ip_output.c, 2 times
- net/ipv4/tcp_input.c, line 4340
- net/ipv4/tcp_offload.c, line 155
- net/ipv4/tcp_output.c, line 976
- net/ipv6/ip6_output.c, line 1573
- net/kcm/kcmsock.c, line 204
- net/netfilter/nf_conntrack_expect.c, line 364
- net/netlink/af_netlink.c, line 321
- net/nfc/nci/ntf.c, line 68
- net/packet/af_packet.c, line 2477
- net/phonet/pep.c, line 303
- net/rds/ib_frmr.c, line 93
- net/rds/ib_rdma.c, line 501
- net/rds/ib_ring.c, line 120
- net/rds/ib_send.c, 5 times
- net/sched/sch_atm.c, line 493
- net/sctp/socket.c, line 166
- net/sctp/ulpevent.c, line 103
- net/sunrpc/backchannel_rqst.c, line 45
- net/sunrpc/svc_xprt.c, line 833
- net/sunrpc/xprtrdma/svc_rdma_transport.c, line 1320
- net/tipc/socket.c, line 1769
- net/unix/af_unix.c, line 2029