Defined in 3 files as a macro:
Defined in 3 files as a function:
Referenced in 138 files:
- arch/arc/include/asm/atomic.h, line 287
- arch/arm64/include/asm/atomic.h, line 28
- arch/m68k/amiga/chipram.c, line 109
- arch/s390/include/asm/atomic.h, line 58
- arch/s390/kernel/topology.c, line 363
- arch/x86/events/intel/uncore_nhmex.c, 2 times
- arch/x86/events/intel/uncore_snbep.c, 2 times
- arch/x86/kernel/cpu/mce/core.c, line 961
- block/blk-iolatency.c, line 343
- crypto/af_alg.c, line 1156
- drivers/atm/idt77252.c, 2 times
- drivers/atm/nicstar.c, 2 times
- drivers/atm/suni.c, line 53
- drivers/atm/uPD98402.c, 3 times
- drivers/block/drbd/drbd_bitmap.c, line 1026
- drivers/block/drbd/drbd_receiver.c, 8 times
- drivers/block/drbd/drbd_req.c, line 461
- drivers/block/drbd/drbd_worker.c, 2 times
- drivers/block/rsxx/dma.c, line 481
- drivers/char/agp/i460-agp.c, line 387
- drivers/char/ipmi/ipmi_msghandler.c, line 4855
- drivers/char/ipmi/ipmi_watchdog.c, 2 times
- drivers/cpuidle/coupled.c, line 207
- drivers/crypto/marvell/cesa.h, line 743
- drivers/firewire/nosy.c, line 209
- drivers/gpu/drm/i915/gt/intel_reset.c, line 70
- drivers/gpu/drm/i915/i915_gem_gtt.c, 2 times
- drivers/gpu/drm/i915/intel_runtime_pm.c, line 335
- drivers/gpu/drm/i915/intel_runtime_pm.h, line 151
- drivers/gpu/drm/udl/udl_fb.c, 4 times
- drivers/infiniband/hw/hfi1/iowait.h, line 246
- drivers/infiniband/hw/hfi1/user_sdma.c, line 982
- drivers/infiniband/ulp/srpt/ib_srpt.c, 4 times
- drivers/leds/trigger/ledtrig-cpu.c, line 78
- drivers/lightnvm/pblk-rl.c, 3 times
- drivers/md/bcache/closure.c, line 94
- drivers/md/bcache/stats.c, 2 times
- drivers/md/dm-cache-background-tracker.c, 3 times
- drivers/md/dm-clone-target.c, line 810
- drivers/md/dm-integrity.c, 2 times
- drivers/md/dm-service-time.c, line 306
- drivers/md/md.c, line 8620
- drivers/md/md.h, 2 times
- drivers/md/raid1.c, 2 times
- drivers/md/raid10.c, 2 times
- drivers/md/raid5.c, line 2508
- drivers/message/fusion/mptlan.c, line 1275
- drivers/misc/cxl/api.c, line 454
- drivers/misc/habanalabs/hw_queue.c, 2 times
- drivers/net/ethernet/alteon/acenic.c, 3 times
- drivers/net/ethernet/aurora/nb8800.c, line 530
- 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, 2 times
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h, 2 times
- drivers/net/ethernet/emulex/benet/be_main.c, 2 times
- drivers/net/ethernet/google/gve/gve_tx.c, line 131
- drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c, 4 times
- drivers/net/ethernet/ibm/ehea/ehea_main.c, line 855
- drivers/net/ethernet/ibm/ibmveth.c, 2 times
- drivers/net/ethernet/ibm/ibmvnic.c, 2 times
- drivers/net/ethernet/jme.c, line 1493
- drivers/net/team/team.c, 2 times
- drivers/net/wireless/ath/ath10k/htt_rx.c, line 2614
- drivers/net/wireless/ath/carl9170/tx.c, 3 times
- drivers/net/wireless/marvell/mwifiex/11n_aggr.c, line 244
- drivers/net/wireless/marvell/mwifiex/txrx.c, line 208
- drivers/net/wireless/st/cw1200/bh.c, 3 times
- drivers/net/wireless/st/cw1200/wsm.c, line 1144
- drivers/nvme/target/rdma.c, 3 times
- drivers/s390/cio/qdio_main.c, line 1513
- drivers/s390/crypto/zcrypt_api.c, 2 times
- drivers/s390/scsi/zfcp_qdio.c, line 79
- drivers/scsi/bnx2fc/bnx2fc_hwi.c, line 1077
- drivers/scsi/ibmvscsi/ibmvscsi.c, line 1821
- drivers/staging/isdn/gigaset/bas-gigaset.c, 2 times
- drivers/staging/media/omap4iss/iss_csi2.c, line 706
- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c, line 2810
- drivers/target/iscsi/iscsi_target_device.c, line 42
- drivers/tty/mips_ejtag_fdc.c, line 819
- drivers/tty/serial/dz.c, 2 times
- drivers/tty/serial/zs.c, line 769
- drivers/tty/tty_buffer.c, line 181
- drivers/usb/core/devices.c, line 147
- drivers/video/fbdev/udlfb.c, 8 times
- fs/aio.c, line 913
- fs/btrfs/inode.c, line 1264
- fs/cifs/smbdirect.c, 2 times
- fs/ext4/mballoc.c, 6 times
- fs/ext4/resize.c, line 1426
- fs/ext4/super.c, 2 times
- fs/gfs2/log.c, 4 times
- fs/gfs2/rgrp.c, line 2331
- fs/jfs/jfs_imap.c, 2 times
- fs/kernfs/dir.c, line 1299
- fs/nfs/pnfs_nfs.c, line 282
- fs/nilfs2/inode.c, line 913
- include/asm-generic/atomic-long.h, line 546
- include/linux/atmdev.h, line 262
- include/linux/atomic-fallback.h, line 268
- include/linux/page_ref.h, line 93
- include/linux/refcount.h, line 81
- include/net/sctp/sctp.h, line 405
- include/net/sock.h, 2 times
- include/net/udp.h, line 486
- ipc/msg.c, line 912
- kernel/bpf/core.c, line 1546
- kernel/cred.c, line 86
- kernel/events/core.c, line 2943
- kernel/locking/qrwlock.c, 2 times
- kernel/locking/qspinlock.c, line 206
- kernel/profile.c, 4 times
- kernel/rcu/tree.c, line 289
- net/9p/trans_virtio.c, line 334
- net/atm/atm_misc.c, line 37
- net/batman-adv/translation-table.c, line 338
- net/bluetooth/rfcomm/sock.c, line 56
- net/core/bpf_sk_storage.c, line 104
- net/core/filter.c, line 1200
- net/core/skbuff.c, line 4424
- net/core/sock.c, 2 times
- net/ipv4/tcp_input.c, line 4431
- net/kcm/kcmsock.c, line 203
- net/netlink/af_netlink.c, line 379
- net/nfc/nci/ntf.c, line 56
- net/phonet/pep.c, line 291
- net/rds/ib_frmr.c, line 114
- net/rds/ib_rdma.c, line 491
- net/rds/ib_recv.c, line 198
- net/rds/ib_ring.c, line 120
- net/rds/ib_send.c, 5 times
- net/sctp/ulpevent.c, line 88
- net/smc/smc_cdc.c, 4 times
- net/smc/smc_rx.c, line 179
- net/sunrpc/backchannel_rqst.c, line 175
- net/sunrpc/svc_xprt.c, line 807
- net/sunrpc/xprtrdma/svc_rdma_rw.c, 4 times
- net/tipc/socket.c, line 2219