Home
last modified time | relevance | path

Searched refs:atomic_add_return (Results 1 – 25 of 75) sorted by relevance

123

/linux-5.19.10/drivers/scsi/elx/efct/
Defct_io.c140 atomic_add_return(1, &efct->xport->io_active_count); in efct_io_pool_io_alloc()
141 atomic_add_return(1, &efct->xport->io_total_alloc); in efct_io_pool_io_alloc()
167 atomic_add_return(1, &efct->xport->io_total_free); in efct_io_pool_io_free()
Defct_scsi.c44 atomic_add_return(1, &xport->io_alloc_failed_count); in efct_scsi_io_alloc()
467 if (atomic_add_return(1, &xport->io_pending_recursing)) { in efct_scsi_check_pending()
554 atomic_add_return(1, &xport->io_pending_count); in efct_scsi_io_dispatch()
555 atomic_add_return(1, &xport->io_total_pending); in efct_scsi_io_dispatch()
575 atomic_add_return(1, &xport->io_total_pending); in efct_scsi_io_dispatch()
576 atomic_add_return(1, &xport->io_pending_count); in efct_scsi_io_dispatch()
604 atomic_add_return(1, &xport->io_pending_count); in efct_scsi_io_dispatch_abort()
605 atomic_add_return(1, &xport->io_total_pending); in efct_scsi_io_dispatch_abort()
1121 atomic_add_return(1, &xport->io_alloc_failed_count); in efct_scsi_tgt_abort_io()
Defct_unsol.c257 hdr.fh_seq_id = (u8)atomic_add_return(1, &hw->send_frame_seq_id); in efct_sframe_common_send()
Defct_lio.c1224 ini_count = atomic_add_return(1, &efct->tgt_efct.initiator_count); in efct_lio_setup_session()
1347 atomic_add_return(1, &efct->tgt_efct.ios_in_use); in efct_scsi_recv_cmd()
1423 atomic_add_return(1, &efct->tgt_efct.ios_in_use); in efct_scsi_recv_tmf()
/linux-5.19.10/kernel/kcsan/
Dselftest.c163 KCSAN_CHECK_READ_BARRIER(atomic_add_return(1, &dummy)); in test_barrier()
192 KCSAN_CHECK_WRITE_BARRIER(atomic_add_return(1, &dummy)); in test_barrier()
224 KCSAN_CHECK_RW_BARRIER(atomic_add_return(1, &dummy)); in test_barrier()
Dkcsan_test.c588 KCSAN_EXPECT_READ_BARRIER(atomic_add_return(1, &dummy), true); in test_barrier_nothreads()
633 KCSAN_EXPECT_WRITE_BARRIER(atomic_add_return(1, &dummy), true); in test_barrier_nothreads()
678 KCSAN_EXPECT_RW_BARRIER(atomic_add_return(1, &dummy), true); in test_barrier_nothreads()
/linux-5.19.10/scripts/coccinelle/api/
Datomic_as_refcounter.cocci119 x = atomic_add_return@p1(-1, ...);
129 msg = "x = atomic_add_return(-1, ...)"
/linux-5.19.10/drivers/md/bcache/
Dio.c74 errors = atomic_add_return(1, &dc->io_errors); in bch_count_backing_io_errors()
122 unsigned int errors = atomic_add_return(1 << IO_ERROR_SHIFT, in bch_count_io_errors()
/linux-5.19.10/drivers/tty/serial/
Ddz.c407 irq_guard = atomic_add_return(1, &mux->irq_guard); in dz_startup()
451 irq_guard = atomic_add_return(-1, &mux->irq_guard); in dz_shutdown()
668 map_guard = atomic_add_return(-1, &mux->map_guard); in dz_release_port()
691 map_guard = atomic_add_return(1, &mux->map_guard); in dz_request_port()
703 map_guard = atomic_add_return(-1, &mux->map_guard); in dz_request_port()
/linux-5.19.10/fs/quota/
Dnetlink.c56 msg_head = genlmsg_put(skb, 0, atomic_add_return(1, &seq), in quota_send_warning()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dmpesw.c50 if (atomic_add_return(1, &ldev->lag_mpesw.mpesw_rule_count) != 1) in mlx5_lag_add_mpesw_rule()
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.h144 if (d && atomic_add_return(1, &e->refcnt) == 1) /* 0 -> 1 transition */ in l2t_hold()
/linux-5.19.10/drivers/crypto/virtio/
Dvirtio_crypto_mgr.c133 if (atomic_add_return(1, &vcrypto_dev->ref_count) == 1) in virtcrypto_dev_get()
/linux-5.19.10/drivers/net/usb/
Dhuawei_cdc_ncm.c42 if ((on && atomic_add_return(1, &drvstate->pmcount) == 1) || in huawei_cdc_ncm_manage_power()
/linux-5.19.10/arch/arm64/include/asm/
Datomic.h52 ATOMIC_FETCH_OPS(atomic_add_return)
/linux-5.19.10/arch/x86/kernel/cpu/mce/
Dintel.c239 r = atomic_add_return(1, &cmci_storm_on_cpus); in cmci_storm_detect()
/linux-5.19.10/tools/memory-model/
Dlinux-kernel.def68 atomic_add_return(V,X) __atomic_op_return{mb}(X,+,V)
/linux-5.19.10/drivers/crypto/qat/qat_common/
Dadf_dev_mgr.c399 if (atomic_add_return(1, &accel_dev->ref_count) == 1) in adf_dev_get()
/linux-5.19.10/drivers/misc/vmw_vmci/
Dvmci_datagram.c220 if (atomic_add_return(1, &delayed_dg_host_queue_size) in dg_dispatch_as_host()
/linux-5.19.10/fs/jbd2/
Dtransaction.c251 needed = atomic_add_return(total, &t->t_outstanding_credits); in add_transaction_credits()
308 needed = atomic_add_return(rsv_blocks, &journal->j_reserved_credits); in add_transaction_credits()
688 wanted = atomic_add_return(nblocks, in jbd2_journal_extend()
738 t_revokes = atomic_add_return(revokes, in stop_this_handle()
/linux-5.19.10/block/
Dblk-cgroup.h413 if (atomic_add_return(1, &blkg->use_delay) == 1) in blkcg_use_delay()
/linux-5.19.10/arch/ia64/kernel/
Dmca.c1294 if (atomic_add_return(1, &mca_count) == 1) { in ia64_mca_handler()
1686 if (!sos->monarch && atomic_add_return(1, &slaves) == num_online_cpus()) { in ia64_init_handler()
1698 if (sos->monarch && atomic_add_return(1, &monarchs) > 1) { in ia64_init_handler()
/linux-5.19.10/drivers/gpu/host1x/
Dsyncpt.c128 return (u32)atomic_add_return(incrs, &sp->max_val); in host1x_syncpt_incr_max()
/linux-5.19.10/fs/kernfs/
Dinode.c357 if (atomic_add_return(size, sz) > KERNFS_USER_XATTR_SIZE_LIMIT) { in kernfs_vfs_user_xattr_add()
/linux-5.19.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmd.c528 *seqno = atomic_add_return(1, &dev_priv->marker_seq); in vmw_cmd_send_fence()

123