/linux-6.1.9/drivers/scsi/elx/efct/ |
D | efct_io.c | 140 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()
|
D | efct_scsi.c | 44 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()
|
D | efct_unsol.c | 257 hdr.fh_seq_id = (u8)atomic_add_return(1, &hw->send_frame_seq_id); in efct_sframe_common_send()
|
D | efct_lio.c | 1224 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/ |
D | selftest.c | 163 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()
|
D | kcsan_test.c | 593 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/ |
D | atomic_as_refcounter.cocci | 119 x = atomic_add_return@p1(-1, ...); 129 msg = "x = atomic_add_return(-1, ...)"
|
/linux-6.1.9/drivers/md/bcache/ |
D | io.c | 74 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/ |
D | dz.c | 407 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/ |
D | netlink.c | 56 msg_head = genlmsg_put(skb, 0, atomic_add_return(1, &seq), in quota_send_warning()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/ |
D | l2t.h | 144 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/ |
D | mpesw.c | 15 if (atomic_add_return(1, &ldev->lag_mpesw.mpesw_rule_count) != 1) in add_mpesw_rule()
|
/linux-6.1.9/drivers/crypto/virtio/ |
D | virtio_crypto_mgr.c | 133 if (atomic_add_return(1, &vcrypto_dev->ref_count) == 1) in virtcrypto_dev_get()
|
/linux-6.1.9/drivers/net/usb/ |
D | huawei_cdc_ncm.c | 42 if ((on && atomic_add_return(1, &drvstate->pmcount) == 1) || in huawei_cdc_ncm_manage_power()
|
D | cdc_mbim.c | 51 …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/ |
D | atomic.h | 52 ATOMIC_FETCH_OPS(atomic_add_return)
|
/linux-6.1.9/arch/x86/kernel/cpu/mce/ |
D | intel.c | 239 r = atomic_add_return(1, &cmci_storm_on_cpus); in cmci_storm_detect()
|
/linux-6.1.9/tools/memory-model/ |
D | linux-kernel.def | 68 atomic_add_return(V,X) __atomic_op_return{mb}(X,+,V)
|
/linux-6.1.9/drivers/misc/vmw_vmci/ |
D | vmci_datagram.c | 220 if (atomic_add_return(1, &delayed_dg_host_queue_size) in dg_dispatch_as_host()
|
/linux-6.1.9/block/ |
D | blk-cgroup.h | 387 if (atomic_add_return(1, &blkg->use_delay) == 1) in blkcg_use_delay()
|
/linux-6.1.9/drivers/crypto/qat/qat_common/ |
D | adf_dev_mgr.c | 399 if (atomic_add_return(1, &accel_dev->ref_count) == 1) in adf_dev_get()
|
/linux-6.1.9/fs/jbd2/ |
D | transaction.c | 251 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/ |
D | mca.c | 1294 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/ |
D | syncpt.c | 128 return (u32)atomic_add_return(incrs, &sp->max_val); in host1x_syncpt_incr_max()
|
/linux-6.1.9/fs/kernfs/ |
D | inode.c | 357 if (atomic_add_return(size, sz) > KERNFS_USER_XATTR_SIZE_LIMIT) { in kernfs_vfs_user_xattr_add()
|