atomic_add_return 288 arch/arc/include/asm/atomic.h #define atomic_sub_return(i, v) atomic_add_return(-(i), (v)) atomic_add_return 52 arch/arm64/include/asm/atomic.h ATOMIC_FETCH_OPS(atomic_add_return) atomic_add_return 183 arch/csky/include/asm/atomic.h #define atomic_add_return atomic_add_return atomic_add_return 218 arch/ia64/include/asm/atomic.h #define atomic_add(i,v) (void)atomic_add_return((i), (v)) atomic_add_return 375 arch/ia64/kernel/kprobes.c i = atomic_add_return(1, &kcb->prev_kprobe_index); atomic_add_return 1292 arch/ia64/kernel/mca.c if (atomic_add_return(1, &mca_count) == 1) { atomic_add_return 1684 arch/ia64/kernel/mca.c if (!sos->monarch && atomic_add_return(1, &slaves) == num_online_cpus()) { atomic_add_return 1696 arch/ia64/kernel/mca.c if (sos->monarch && atomic_add_return(1, &monarchs) > 1) { atomic_add_return 86 arch/openrisc/include/asm/atomic.h #define atomic_add_return atomic_add_return atomic_add_return 145 arch/riscv/include/asm/atomic.h #define atomic_add_return atomic_add_return atomic_add_return 59 arch/s390/include/asm/atomic.h #define atomic_sub_return(_i, _v) atomic_add_return(-(int)(_i), _v) atomic_add_return 23 arch/sparc/include/asm/atomic_32.h int atomic_add_return(int, atomic_t *); atomic_add_return 39 arch/sparc/include/asm/atomic_32.h #define atomic_add(i, v) ((void)atomic_add_return( (int)(i), (v))) atomic_add_return 40 arch/sparc/include/asm/atomic_32.h #define atomic_sub(i, v) ((void)atomic_add_return(-(int)(i), (v))) atomic_add_return 46 arch/sparc/include/asm/atomic_32.h #define atomic_sub_return(i, v) (atomic_add_return(-(int)(i), (v))) atomic_add_return 1172 arch/sparc/kernel/smp_64.c int result = atomic_add_return(1, &smp_capture_depth); atomic_add_return 236 arch/x86/kernel/cpu/mce/intel.c r = atomic_add_return(1, &cmci_storm_on_cpus); atomic_add_return 621 drivers/acpi/apei/ghes.c alloced = atomic_add_return(1, &ghes_estatus_cache_alloced); atomic_add_return 679 drivers/base/power/wakeup.c cec = atomic_add_return(MAX_IN_PROGRESS, &combined_event_count); atomic_add_return 442 drivers/crypto/qat/qat_common/adf_dev_mgr.c if (atomic_add_return(1, &accel_dev->ref_count) == 1) atomic_add_return 119 drivers/crypto/qat/qat_common/adf_transport.c if (atomic_add_return(1, ring->inflights) > atomic_add_return 133 drivers/crypto/virtio/virtio_crypto_mgr.c if (atomic_add_return(1, &vcrypto_dev->ref_count) == 1) atomic_add_return 1007 drivers/gpu/drm/drm_vblank.c if (atomic_add_return(1, &vblank->refcount) == 1) { atomic_add_return 555 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c *seqno = atomic_add_return(1, &dev_priv->marker_seq); atomic_add_return 112 drivers/gpu/host1x/syncpt.c return (u32)atomic_add_return(incrs, &sp->max_val); atomic_add_return 2429 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_add_return(1, &cm_node->passive_state); atomic_add_return 3023 drivers/infiniband/hw/i40iw/i40iw_cm.c passive_state = atomic_add_return(1, &cm_node->passive_state); atomic_add_return 3681 drivers/infiniband/hw/i40iw/i40iw_cm.c passive_state = atomic_add_return(1, &cm_node->passive_state); atomic_add_return 1727 drivers/infiniband/hw/mlx5/devx.c if (atomic_add_return(cmd_out_len, &ev_file->ev_queue.bytes_in_use) > atomic_add_return 1964 drivers/infiniband/hw/mlx5/main.c atomic_add_return( atomic_add_return 3366 drivers/infiniband/hw/mlx5/qp.c tx_port_affinity = (unsigned int)atomic_add_return( atomic_add_return 3374 drivers/infiniband/hw/mlx5/qp.c (unsigned int)atomic_add_return( atomic_add_return 629 drivers/infiniband/sw/rxe/rxe_verbs.c wqe->ssn = atomic_add_return(1, &qp->ssn); atomic_add_return 165 drivers/lightnvm/pblk-rl.c free_blocks = atomic_add_return(blk_in_line, &rl->free_user_blocks); atomic_add_return 292 drivers/lightnvm/pblk-write.c sync = atomic_add_return(rqd->nr_ppas, &emeta->sync); atomic_add_return 73 drivers/md/bcache/io.c errors = atomic_add_return(1, &dc->io_errors); atomic_add_return 121 drivers/md/bcache/io.c unsigned int errors = atomic_add_return(1 << IO_ERROR_SHIFT, atomic_add_return 543 drivers/md/bcache/writeback.c sectors_dirty = atomic_add_return(s, atomic_add_return 2904 drivers/md/dm.c return atomic_add_return(1, &md->uevent_seq); atomic_add_return 246 drivers/misc/mic/cosm/cosm_main.c if (atomic_add_return(1, &g_num_dev) == 1) { atomic_add_return 1727 drivers/misc/mic/scif/scif_dma.c atomic_add_return(local_window->nr_pages, atomic_add_return 147 drivers/misc/mic/scif/scif_main.c if (1 == atomic_add_return(1, &g_loopb_cnt)) { atomic_add_return 220 drivers/misc/vmw_vmci/vmci_datagram.c if (atomic_add_return(1, &delayed_dg_host_queue_size) atomic_add_return 581 drivers/net/can/usb/gs_usb.c if (atomic_add_return(1, &parent->active_channels) == 1) { atomic_add_return 759 drivers/net/ethernet/altera/altera_tse_main.c atomic_add_return(1, &instance_count)); atomic_add_return 144 drivers/net/ethernet/chelsio/cxgb3/l2t.h if (d && atomic_add_return(1, &e->refcnt) == 1) /* 0 -> 1 transition */ atomic_add_return 72 drivers/net/ethernet/chelsio/cxgb4/l2t.c if (atomic_add_return(1, &e->refcnt) == 1) /* 0 -> 1 transition */ atomic_add_return 757 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c end_prod_idx = atomic_add_return(num_wqebbs, &wq->prod_idx); atomic_add_return 1600 drivers/net/ethernet/ibm/ibmvnic.c if (atomic_add_return(num_entries, &tx_scrq->used) atomic_add_return 50 drivers/net/usb/cdc_mbim.c if ((on && atomic_add_return(1, &info->pmcount) == 1) || (!on && atomic_dec_and_test(&info->pmcount))) { atomic_add_return 42 drivers/net/usb/huawei_cdc_ncm.c if ((on && atomic_add_return(1, &drvstate->pmcount) == 1) || atomic_add_return 639 drivers/net/usb/qmi_wwan.c if ((on && atomic_add_return(1, &info->pmcount) == 1) || atomic_add_return 728 drivers/net/wimax/i2400m/driver.c if (atomic_add_return(1, &i2400m->error_recovery) == 1) atomic_add_return 219 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c seqno = atomic_add_return(0x10, &intf->seqno); atomic_add_return 110 drivers/net/wireless/st/cw1200/bh.c if (atomic_add_return(1, &priv->bh_rx) == 1) atomic_add_return 123 drivers/net/wireless/st/cw1200/bh.c if (atomic_add_return(1, &priv->bh_tx) == 1) atomic_add_return 1165 drivers/net/wireless/st/cw1200/wsm.c if (atomic_add_return(1, &priv->tx_lock) == 1) { atomic_add_return 1174 drivers/net/wireless/st/cw1200/wsm.c if (atomic_add_return(1, &priv->tx_lock) == 1) atomic_add_return 1686 drivers/net/wireless/st/cw1200/wsm.c if (atomic_add_return(0, &priv->tx_lock)) atomic_add_return 447 drivers/platform/x86/sony-laptop.c if (atomic_add_return(1, &sony_laptop_input.users) > 1) atomic_add_return 580 drivers/platform/x86/sony-laptop.c if (atomic_add_return(1, &sony_pf_users) > 1) atomic_add_return 1538 drivers/s390/cio/qdio_main.c used = atomic_add_return(count, &q->nr_buf_used); atomic_add_return 593 drivers/scsi/ipr.c trace_index = atomic_add_return(1, &ioa_cfg->trace_index) & IPR_TRACE_INDEX_MASK; atomic_add_return 1089 drivers/scsi/ipr.c hrrq = atomic_add_return(1, &ioa_cfg->hrrq_index); atomic_add_return 3386 drivers/scsi/pmcraid.c ioarcb->hrrq_id = atomic_add_return(1, &(pinstance->last_message_id)) % atomic_add_return 3689 drivers/scsi/pmcraid.c ioarcb->hrrq_id = atomic_add_return(1, &(pinstance->last_message_id)) % atomic_add_return 509 drivers/scsi/scsi_transport_fc.c return atomic_add_return(1, &fc_event_seq); atomic_add_return 2076 drivers/scsi/scsi_transport_iscsi.c session->sid = atomic_add_return(1, &iscsi_session_nr); atomic_add_return 2298 drivers/staging/isdn/gigaset/capi.c if (atomic_add_return(1, &iif->sendqlen) > 1) { atomic_add_return 789 drivers/staging/uwb/uwb.h if (atomic_add_return(1, &stats->samples) > 255) { atomic_add_return 303 drivers/staging/wusbcore/wa-xfer.c xfer->id = atomic_add_return(1, &xfer->wa->xfer_id_count); atomic_add_return 497 drivers/target/target_core_user.c if (atomic_add_return(1, &global_db_count) > atomic_add_return 411 drivers/tty/serial/dz.c irq_guard = atomic_add_return(1, &mux->irq_guard); atomic_add_return 455 drivers/tty/serial/dz.c irq_guard = atomic_add_return(-1, &mux->irq_guard); atomic_add_return 672 drivers/tty/serial/dz.c map_guard = atomic_add_return(-1, &mux->map_guard); atomic_add_return 695 drivers/tty/serial/dz.c map_guard = atomic_add_return(1, &mux->map_guard); atomic_add_return 707 drivers/tty/serial/dz.c map_guard = atomic_add_return(-1, &mux->map_guard); atomic_add_return 764 drivers/tty/serial/zs.c irq_guard = atomic_add_return(1, &scc->irq_guard); atomic_add_return 824 drivers/tty/serial/zs.c irq_guard = atomic_add_return(-1, &scc->irq_guard); atomic_add_return 1707 drivers/usb/gadget/function/f_fs.c if (atomic_add_return(1, &ffs->opened) == 1 && atomic_add_return 77 drivers/xen/gntdev.c return atomic_add_return(count, &pages_mapped) > limit; atomic_add_return 2019 fs/ceph/mds_client.c val = atomic_add_return(nr, &mdsc->cap_reclaim_pending); atomic_add_return 711 fs/erofs/zdata.c if (!atomic_add_return(bios, &io->pending_bios)) atomic_add_return 717 fs/erofs/zdata.c if (!atomic_add_return(bios, &io->pending_bios)) atomic_add_return 899 fs/inode.c int next = atomic_add_return(LAST_INO_BATCH, &shared_last_ino); atomic_add_return 223 fs/jbd2/transaction.c needed = atomic_add_return(total, &t->t_outstanding_credits); atomic_add_return 276 fs/jbd2/transaction.c needed = atomic_add_return(rsv_blocks, &journal->j_reserved_credits); atomic_add_return 622 fs/jbd2/transaction.c wanted = atomic_add_return(nblocks, atomic_add_return 183 fs/proc/inode.c if (atomic_add_return(BIAS, &de->in_use) != BIAS) atomic_add_return 56 fs/quota/netlink.c msg_head = genlmsg_put(skb, 0, atomic_add_return(1, &seq), atomic_add_return 74 include/asm-generic/atomic-instrumented.h #define atomic_add_return atomic_add_return atomic_add_return 552 include/asm-generic/atomic-long.h return atomic_add_return(i, v); atomic_add_return 113 include/asm-generic/atomic.h #ifndef atomic_add_return atomic_add_return 187 include/asm-generic/atomic.h atomic_add_return(i, v); atomic_add_return 97 include/linux/atomic-fallback.h #define atomic_add_return_acquire atomic_add_return atomic_add_return 98 include/linux/atomic-fallback.h #define atomic_add_return_release atomic_add_return atomic_add_return 99 include/linux/atomic-fallback.h #define atomic_add_return_relaxed atomic_add_return atomic_add_return 123 include/linux/atomic-fallback.h #ifndef atomic_add_return atomic_add_return 133 include/linux/atomic-fallback.h #define atomic_add_return atomic_add_return atomic_add_return 284 include/linux/atomic-fallback.h return atomic_add_return(1, v); atomic_add_return 1068 include/linux/atomic-fallback.h return atomic_add_return(i, v) < 0; atomic_add_return 767 include/linux/blk-cgroup.h if (atomic_add_return(1, &blkg->use_delay) == 1) atomic_add_return 1722 kernel/audit.c return atomic_add_return(1, &serial); atomic_add_return 1463 kernel/bpf/syscall.c if (atomic_add_return(i, &prog->aux->refcnt) > BPF_MAX_REFCNT) { atomic_add_return 239 kernel/rcu/tree.c seq = atomic_add_return(RCU_DYNTICK_CTRL_CTR, &rdp->dynticks); atomic_add_return 262 kernel/rcu/tree.c seq = atomic_add_return(RCU_DYNTICK_CTRL_CTR, &rdp->dynticks); atomic_add_return 310 kernel/rcu/tree.c int snap = atomic_add_return(0, &rdp->dynticks); atomic_add_return 372 kernel/rcu/tree.c special = atomic_add_return(2 * RCU_DYNTICK_CTRL_CTR, atomic_add_return 383 net/batman-adv/translation-table.c if (atomic_add_return(v, &vlan->tt.num_entries) == 0) { atomic_add_return 1760 net/core/dev.c wanted = atomic_add_return(deferred, &netstamp_wanted); atomic_add_return 502 net/ipv4/route.c return atomic_add_return(segs + delta, p_id) - segs; atomic_add_return 1478 net/ipv4/udp.c rmem = atomic_add_return(size, &sk->sk_rmem_alloc); atomic_add_return 2145 net/netfilter/ipvs/ip_vs_core.c pkts = atomic_add_return(1, &cp->in_pkts); atomic_add_return 621 net/netfilter/ipvs/ip_vs_sync.c pkts = atomic_add_return(1, &cp->in_pkts); atomic_add_return 782 net/netfilter/ipvs/ip_vs_sync.c pkts = atomic_add_return(1, &cp->in_pkts);