Defined in 5 files as a macro:
Defined in 3 files as a function:
Documented in 2 files:
Referenced in 109 files:
- arch/alpha/include/asm/atomic.h, line 308
- arch/arc/include/asm/atomic.h, 2 times
- arch/arm/include/asm/atomic.h, line 258
- arch/arm64/include/asm/atomic.h, line 123
- arch/avr32/include/asm/atomic.h, line 230
- arch/hexagon/include/asm/atomic.h, line 201
- arch/ia64/include/asm/atomic.h, line 319
- arch/ia64/kernel/kprobes.c, line 401
- arch/m68k/amiga/chipram.c, line 88
- arch/metag/include/asm/atomic.h, line 39
- arch/mips/include/asm/atomic.h, line 355
- arch/mips/kernel/smp-cps.c, line 398
- arch/s390/include/asm/atomic.h, line 65
- arch/sh/include/asm/atomic.h, line 42
- arch/sparc/include/asm/atomic_64.h, line 78
- arch/tile/include/asm/atomic.h, line 100
- arch/x86/events/intel/uncore_nhmex.c, 2 times
- arch/x86/events/intel/uncore_snbep.c, 3 times
- arch/xtensa/include/asm/atomic.h, line 233
- drivers/block/drbd/drbd_int.h, line 2107
- drivers/block/drbd/drbd_req.c, line 504
- drivers/block/drbd/drbd_worker.c, line 1039
- drivers/block/rsxx/dma.c, line 1079
- drivers/char/agp/i460-agp.c, line 397
- drivers/char/ipmi/ipmi_msghandler.c, line 4308
- drivers/char/ipmi/ipmi_watchdog.c, 2 times
- drivers/char/ppdev.c, line 616
- drivers/cpuidle/coupled.c, line 419
- drivers/crypto/marvell/cipher.c, line 208
- drivers/crypto/marvell/hash.c, line 370
- drivers/firewire/nosy.c, line 188
- drivers/infiniband/hw/hfi1/user_sdma.c, 2 times
- drivers/infiniband/hw/hfi1/verbs.c, line 272
- drivers/infiniband/hw/mlx5/mr.c, 3 times
- drivers/md/bcache/alloc.c, line 91
- drivers/md/bcache/closure.h, 2 times
- drivers/md/bcache/io.c, line 126
- drivers/md/dm-service-time.c, line 316
- drivers/md/md.c, line 7739
- drivers/message/fusion/mptlan.c, 2 times
- drivers/misc/mic/scif/scif_dma.c, line 653
- drivers/misc/mic/scif/scif_rma.c, 2 times
- drivers/net/can/c_can/c_can.c, line 722
- drivers/net/ethernet/alteon/acenic.c, 2 times
- drivers/net/ethernet/cavium/liquidio/octeon_droq.c, 2 times
- drivers/net/ethernet/cavium/liquidio/request_manager.c, line 486
- drivers/net/ethernet/cavium/thunder/nicvf_queues.c, line 865
- drivers/net/ethernet/emulex/benet/be_main.c, 3 times
- drivers/net/ethernet/jme.c, line 1986
- drivers/net/ethernet/mediatek/mtk_eth_soc.c, line 713
- drivers/net/ethernet/sun/cassini.c, 3 times
- drivers/net/wireless/marvell/mwifiex/txrx.c, line 248
- drivers/net/wireless/marvell/mwifiex/wmm.c, line 764
- drivers/s390/block/dasd_devmap.c, line 615
- drivers/s390/cio/qdio_main.c, 3 times
- drivers/s390/crypto/zcrypt_api.c, 2 times
- drivers/s390/net/qeth_core_main.c, line 3740
- drivers/s390/scsi/zfcp_qdio.c, line 273
- drivers/scsi/megaraid.c, 2 times
- drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c, 2 times
- drivers/staging/lustre/lustre/llite/rw.c, 2 times
- drivers/tty/metag_da.c, 2 times
- drivers/tty/mips_ejtag_fdc.c, 2 times
- drivers/usb/core/devio.c, 2 times
- drivers/xen/gntdev.c, line 217
- fs/afs/fsclient.c, line 570
- fs/btrfs/qgroup.c, line 2937
- fs/btrfs/volumes.c, line 7027
- fs/jbd2/transaction.c, 8 times
- fs/jfs/jfs_imap.c, 2 times
- fs/kernfs/dir.c, line 1172
- include/asm-generic/qrwlock.h, line 87
- include/linux/atmdev.h, line 251
- include/linux/fscache-cache.h, line 186
- include/linux/page_ref.h, line 99
- ipc/msg.c, 2 times
- kernel/bpf/syscall.c, line 760
- kernel/locking/qrwlock.c, line 84
- lib/fault-inject.c, line 121
- lib/genalloc.c, line 327
- mm/vmalloc.c, line 654
- net/9p/trans_virtio.c, 2 times
- net/atm/atm_misc.c, line 97
- net/atm/lec.c, line 348
- net/atm/mpc.c, line 914
- net/atm/raw.c, line 38
- net/atm/resources.c, line 171
- net/atm/signaling.c, line 70
- net/bluetooth/rfcomm/sock.c, line 638
- net/bluetooth/rfcomm/tty.c, line 289
- net/core/filter.c, line 938
- net/core/pktgen.c, 2 times
- net/core/skbuff.c, line 3690
- net/core/sock.c, 5 times
- net/ipv4/igmp.c, 5 times
- net/ipv4/tcp_ipv4.c, 2 times
- net/ipv4/udp.c, 2 times
- net/ipv6/af_inet6.c, line 458
- net/ipv6/calipso.c, 3 times
- net/ipv6/ipv6_sockglue.c, 3 times
- net/ipv6/mcast.c, 2 times
- net/iucv/af_iucv.c, 2 times
- net/kcm/kcmsock.c, line 176
- net/rds/ib_cm.c, line 206
- net/rds/ib_rdma.c, 4 times
- net/sctp/socket.c, 2 times
- net/sctp/ulpevent.c, line 114
- net/sunrpc/backchannel_rqst.c, line 51
- net/sunrpc/svc_xprt.c, line 517