Home
last modified time | relevance | path

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

1234

/linux/drivers/scsi/elx/efct/
H A 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()
H A 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()
H A Defct_unsol.c257 hdr.fh_seq_id = (u8)atomic_add_return(1, &hw->send_frame_seq_id); in efct_sframe_common_send()
/linux/kernel/kcsan/
H A Dselftest.c156 KCSAN_CHECK_READ_BARRIER(atomic_add_return(1, &dummy)); in test_barrier()
185 KCSAN_CHECK_WRITE_BARRIER(atomic_add_return(1, &dummy)); in test_barrier()
217 KCSAN_CHECK_RW_BARRIER(atomic_add_return(1, &dummy)); in test_barrier()
H A Dkcsan_test.c596 KCSAN_EXPECT_READ_BARRIER(atomic_add_return(1, &dummy), true); in test_barrier_nothreads()
641 KCSAN_EXPECT_WRITE_BARRIER(atomic_add_return(1, &dummy), true); in test_barrier_nothreads()
686 KCSAN_EXPECT_RW_BARRIER(atomic_add_return(1, &dummy), true); in test_barrier_nothreads()
/linux/scripts/coccinelle/api/
H A Datomic_as_refcounter.cocci119 x = atomic_add_return@p1(-1, ...);
129 msg = "WARNING: x = atomic_add_return(-1, ...)"
/linux/drivers/md/bcache/
H A 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/drivers/tty/serial/
H A Ddz.c405 irq_guard = atomic_add_return(1, &mux->irq_guard); in dz_startup()
449 irq_guard = atomic_add_return(-1, &mux->irq_guard); in dz_shutdown()
669 map_guard = atomic_add_return(-1, &mux->map_guard); in dz_release_port()
692 map_guard = atomic_add_return(1, &mux->map_guard); in dz_request_port()
704 map_guard = atomic_add_return(-1, &mux->map_guard); in dz_request_port()
/linux/fs/quota/
H A Dnetlink.c56 msg_head = genlmsg_put(skb, 0, atomic_add_return(1, &seq), in quota_send_warning()
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.h143 if (d && atomic_add_return(1, &e->refcnt) == 1) /* 0 -> 1 transition */ in l2t_hold()
/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_mgr.c97 if (atomic_add_return(1, &vcrypto_dev->ref_count) == 1) in virtcrypto_dev_get()
/linux/arch/arm64/include/asm/
H A Datomic.h52 ATOMIC_FETCH_OPS(atomic_add_return)
/linux/drivers/net/usb/
H A Dhuawei_cdc_ncm.c42 if ((on && atomic_add_return(1, &drvstate->pmcount) == 1) || in huawei_cdc_ncm_manage_power()
/linux/tools/memory-model/Documentation/
H A Dherd-representation.txt74 | atomic_add_return | R*[MB] ->rmw W*[MB] |
/linux/block/
H A Dblk-cgroup.h382 if (atomic_add_return(1, &blkg->use_delay) == 1) in blkcg_use_delay()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_dev_mgr.c391 if (atomic_add_return(1, &accel_dev->ref_count) == 1) in adf_dev_get()
/linux/fs/jbd2/
H A Dtransaction.c232 needed = atomic_add_return(total, &t->t_outstanding_credits); in add_transaction_credits()
289 needed = atomic_add_return(rsv_blocks, &journal->j_reserved_credits); in add_transaction_credits()
669 wanted = atomic_add_return(nblocks, in jbd2_journal_extend()
719 t_revokes = atomic_add_return(revokes, in stop_this_handle()
/linux/drivers/md/dm-vdo/indexer/
H A Dio-factory.c87 if (atomic_add_return(-1, &factory->ref_count) <= 0) in uds_put_io_factory()
/linux/drivers/misc/vmw_vmci/
H A Dvmci_datagram.c220 if (atomic_add_return(1, &delayed_dg_host_queue_size) in dg_dispatch_as_host()
/linux/drivers/gpu/host1x/
H A Dsyncpt.c129 return (u32)atomic_add_return(incrs, &sp->max_val); in host1x_syncpt_incr_max()
/linux/drivers/md/dm-vdo/
H A Dphysical-zone.c119 u32 claim_number = (u32) atomic_add_return(1, &lock->increments_claimed); in vdo_claim_pbn_lock_increment()
/linux/drivers/media/platform/mediatek/jpeg/
H A Dmtk_jpeg_enc_hw.c385 i = atomic_add_return(1, &master_dev->hw_index) - 1; in mtk_jpegenc_hw_probe()
/linux/tools/memory-model/
H A Dlinux-kernel.def75 atomic_add_return(V,X) __atomic_op_return{MB}(X,+,V)
/linux/fs/kernfs/
H A Dinode.c363 if (atomic_add_return(size, sz) > KERNFS_USER_XATTR_SIZE_LIMIT) { in kernfs_vfs_user_xattr_add()
/linux/kernel/bpf/
H A Dstream.c204 if (atomic_add_return(len, &stream->capacity) >= BPF_STREAM_MAX_CAPACITY) { in bpf_stream_consume_capacity()

1234