Home
last modified time | relevance | path

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

1234

/linux-6.1.9/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-6.1.9/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.c593 KCSAN_EXPECT_READ_BARRIER(atomic_add_return(1, &dummy), true); in test_barrier_nothreads()
638 KCSAN_EXPECT_WRITE_BARRIER(atomic_add_return(1, &dummy), true); in test_barrier_nothreads()
683 KCSAN_EXPECT_RW_BARRIER(atomic_add_return(1, &dummy), true); in test_barrier_nothreads()
/linux-6.1.9/scripts/coccinelle/api/
Datomic_as_refcounter.cocci119 x = atomic_add_return@p1(-1, ...);
129 msg = "x = atomic_add_return(-1, ...)"
/linux-6.1.9/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-6.1.9/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()
671 map_guard = atomic_add_return(-1, &mux->map_guard); in dz_release_port()
694 map_guard = atomic_add_return(1, &mux->map_guard); in dz_request_port()
706 map_guard = atomic_add_return(-1, &mux->map_guard); in dz_request_port()
/linux-6.1.9/fs/quota/
Dnetlink.c56 msg_head = genlmsg_put(skb, 0, atomic_add_return(1, &seq), in quota_send_warning()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.h144 if (d && atomic_add_return(1, &e->refcnt) == 1) /* 0 -> 1 transition */ in l2t_hold()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dmpesw.c15 if (atomic_add_return(1, &ldev->lag_mpesw.mpesw_rule_count) != 1) in add_mpesw_rule()
/linux-6.1.9/drivers/crypto/virtio/
Dvirtio_crypto_mgr.c133 if (atomic_add_return(1, &vcrypto_dev->ref_count) == 1) in virtcrypto_dev_get()
/linux-6.1.9/drivers/net/usb/
Dhuawei_cdc_ncm.c42 if ((on && atomic_add_return(1, &drvstate->pmcount) == 1) || in huawei_cdc_ncm_manage_power()
Dcdc_mbim.c51 …if ((on && atomic_add_return(1, &info->pmcount) == 1) || (!on && atomic_dec_and_test(&info->pmcoun… in cdc_mbim_manage_power()
/linux-6.1.9/arch/arm64/include/asm/
Datomic.h52 ATOMIC_FETCH_OPS(atomic_add_return)
/linux-6.1.9/arch/x86/kernel/cpu/mce/
Dintel.c239 r = atomic_add_return(1, &cmci_storm_on_cpus); in cmci_storm_detect()
/linux-6.1.9/tools/memory-model/
Dlinux-kernel.def68 atomic_add_return(V,X) __atomic_op_return{mb}(X,+,V)
/linux-6.1.9/drivers/misc/vmw_vmci/
Dvmci_datagram.c220 if (atomic_add_return(1, &delayed_dg_host_queue_size) in dg_dispatch_as_host()
/linux-6.1.9/block/
Dblk-cgroup.h387 if (atomic_add_return(1, &blkg->use_delay) == 1) in blkcg_use_delay()
/linux-6.1.9/drivers/crypto/qat/qat_common/
Dadf_dev_mgr.c399 if (atomic_add_return(1, &accel_dev->ref_count) == 1) in adf_dev_get()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/gpu/host1x/
Dsyncpt.c128 return (u32)atomic_add_return(incrs, &sp->max_val); in host1x_syncpt_incr_max()
/linux-6.1.9/fs/kernfs/
Dinode.c357 if (atomic_add_return(size, sz) > KERNFS_USER_XATTR_SIZE_LIMIT) { in kernfs_vfs_user_xattr_add()

1234