/linux-6.6.21/net/rxrpc/ |
D | skbuff.c | 24 int n = atomic_inc_return(select_skb_count(skb)); in rxrpc_new_skb() 44 int n = atomic_inc_return(select_skb_count(skb)); in rxrpc_get_skb() 54 int n = atomic_inc_return(&rxrpc_n_rx_skbs); in rxrpc_eaten_skb()
|
/linux-6.6.21/arch/ia64/kernel/ |
D | crash.c | 98 if (atomic_inc_return(&kdump_in_progress) != 1) in machine_crash_shutdown() 198 if (atomic_inc_return(&kdump_in_progress) != 1) in kdump_init_notifier() 210 if (atomic_inc_return(&kdump_in_progress) == 1) in kdump_init_notifier()
|
/linux-6.6.21/Documentation/litmus-tests/locking/ |
D | RM-broken.litmus | 21 r2 = atomic_inc_return(y); 35 r2 = atomic_inc_return(y);
|
D | RM-fixed.litmus | 21 r2 = atomic_inc_return(y); 35 r2 = atomic_inc_return(y);
|
/linux-6.6.21/arch/powerpc/perf/ |
D | 8xx-pmu.c | 94 if (atomic_inc_return(&insn_ctr_ref) == 1) in mpc8xx_pmu_add() 99 if (atomic_inc_return(&itlb_miss_ref) == 1) { in mpc8xx_pmu_add() 107 if (atomic_inc_return(&dtlb_miss_ref) == 1) { in mpc8xx_pmu_add()
|
/linux-6.6.21/drivers/media/platform/amphion/ |
D | vpu_drv.c | 44 if (atomic_inc_return(&vpu->ref_vpu) == 1 && vpu->res->setup) in vpu_dev_get() 55 if (atomic_inc_return(&vpu->ref_enc) == 1 && vpu->res->setup_encoder) in vpu_enc_get() 66 if (atomic_inc_return(&vpu->ref_dec) == 1 && vpu->res->setup_decoder) in vpu_dec_get()
|
/linux-6.6.21/fs/fscache/ |
D | cache.c | 39 cache->debug_id = atomic_inc_return(&fscache_cache_debug_id); in fscache_alloc_cache() 248 n_accesses = atomic_inc_return(&cache->n_accesses); in fscache_add_cache() 296 n_accesses = atomic_inc_return(&cache->n_accesses); in fscache_begin_cache_access()
|
/linux-6.6.21/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_encoder_phys.h | 202 atomic_inc_return(&phys->pending_ctlstart_cnt); in dpu_encoder_phys_inc_pending() 203 return atomic_inc_return(&phys->pending_kickoff_cnt); in dpu_encoder_phys_inc_pending()
|
/linux-6.6.21/io_uring/ |
D | cancel.c | 199 .seq = atomic_inc_return(&req->ctx->cancel_seq), in io_async_cancel() 262 .seq = atomic_inc_return(&ctx->cancel_seq), in io_sync_cancel() 314 cd.seq = atomic_inc_return(&ctx->cancel_seq); in io_sync_cancel()
|
/linux-6.6.21/drivers/infiniband/sw/rxe/ |
D | rxe_mcast.c | 202 if (atomic_inc_return(&rxe->mcg_num) > rxe->attr.max_mcast_grp) { in rxe_get_mcg() 300 n = atomic_inc_return(&rxe->mcg_attach); in __rxe_init_mca() 306 n = atomic_inc_return(&mcg->qp_num); in __rxe_init_mca()
|
/linux-6.6.21/drivers/target/iscsi/ |
D | iscsi_target_device.c | 54 max_cmd_sn = atomic_inc_return(&sess->max_cmd_sn); in iscsit_increment_maxcmdsn()
|
/linux-6.6.21/mm/ |
D | page_table_check.c | 119 BUG_ON(atomic_inc_return(&ptc->anon_map_count) > 1 && rw); in page_table_check_set() 122 BUG_ON(atomic_inc_return(&ptc->file_map_count) < 0); in page_table_check_set()
|
/linux-6.6.21/drivers/i2c/busses/ |
D | i2c-octeon-platdrv.c | 59 atomic_inc_return(&i2c->int_enable_cnt); in octeon_i2c_int_enable78() 92 atomic_inc_return(&i2c->hlc_int_enable_cnt); in octeon_i2c_hlc_int_enable78()
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | radeon_irq_kms.c | 394 if (atomic_inc_return(&rdev->irq.ring_int[ring]) == 1) { in radeon_irq_kms_sw_irq_get() 413 return atomic_inc_return(&rdev->irq.ring_int[ring]) == 1; in radeon_irq_kms_sw_irq_get_delayed() 459 if (atomic_inc_return(&rdev->irq.pflip[crtc]) == 1) { in radeon_irq_kms_pflip_irq_get()
|
/linux-6.6.21/include/drm/ |
D | task_barrier.h | 80 if (atomic_inc_return(&tb->count) == tb->n) in task_barrier_enter()
|
/linux-6.6.21/drivers/cpuidle/ |
D | cpuidle-ux500.c | 29 if (atomic_inc_return(&master) == num_online_cpus()) { in ux500_enter_idle()
|
D | coupled.c | 159 if (atomic_inc_return(a) == n * 2) { in cpuidle_coupled_parallel_barrier() 375 return atomic_inc_return(&coupled->ready_waiting_counts) & WAITING_MASK; in cpuidle_coupled_set_waiting()
|
/linux-6.6.21/kernel/irq/ |
D | spurious.c | 123 if (atomic_inc_return(&irq_poll_active) != 1) in misrouted_irq() 149 if (atomic_inc_return(&irq_poll_active) != 1) in poll_spurious_irqs()
|
/linux-6.6.21/drivers/hv/ |
D | hv_balloon.c | 1071 resp.hdr.trans_id = atomic_inc_return(&trans_id); in hot_add_req() 1171 status.hdr.trans_id = atomic_inc_return(&trans_id); in post_status() 1349 bl_resp->hdr.trans_id = atomic_inc_return(&trans_id); in balloon_up() 1399 resp.hdr.trans_id = atomic_inc_return(&trans_id); in balloon_down() 1471 version_req.hdr.trans_id = atomic_inc_return(&trans_id); in version_resp() 1787 version_req.hdr.trans_id = atomic_inc_return(&trans_id); in balloon_connect_vsp() 1823 cap_msg.hdr.trans_id = atomic_inc_return(&trans_id); in balloon_connect_vsp()
|
/linux-6.6.21/tools/memory-model/Documentation/ |
D | locking.txt | 236 r2 = atomic_inc_return(&y); 246 r2 = atomic_inc_return(&y); 275 r2 = atomic_inc_return(&y); 285 r2 = atomic_inc_return(&y);
|
/linux-6.6.21/kernel/rcu/ |
D | rcuscale.c | 483 if (atomic_inc_return(&n_rcu_scale_writer_started) >= nrealwriters) { in rcu_scale_writer() 531 if (atomic_inc_return(&n_rcu_scale_writer_finished) >= in rcu_scale_writer() 641 if (atomic_inc_return(&n_kfree_scale_thread_started) >= kfree_nrealthreads) { in kfree_scale_thread() 679 if (atomic_inc_return(&n_kfree_scale_thread_ended) >= kfree_nrealthreads) { in kfree_scale_thread()
|
/linux-6.6.21/arch/xtensa/kernel/ |
D | jump_label.c | 43 if (atomic_inc_return(&patch->cpu_count) == num_online_cpus()) { in patch_text_stop_machine()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_fence.c | 80 context, atomic_inc_return(&fence_seq)); in amdgpu_amdkfd_fence_create()
|
/linux-6.6.21/drivers/infiniband/sw/siw/ |
D | siw_verbs.c | 87 if (atomic_inc_return(&sdev->num_ctx) > SIW_MAX_CONTEXT) { in siw_alloc_ucontext() 230 if (atomic_inc_return(&sdev->num_pd) > SIW_MAX_PD) { in siw_alloc_pd() 314 if (atomic_inc_return(&sdev->num_qp) > SIW_MAX_QP) { in siw_create_qp() 1141 if (atomic_inc_return(&sdev->num_cq) > SIW_MAX_CQ) { in siw_create_cq() 1332 if (atomic_inc_return(&sdev->num_mr) > SIW_MAX_MR) { in siw_reg_user_mr() 1420 if (atomic_inc_return(&sdev->num_mr) > SIW_MAX_MR) { in siw_alloc_mr() 1552 if (atomic_inc_return(&sdev->num_mr) > SIW_MAX_MR) { in siw_get_dma_mr() 1605 if (atomic_inc_return(&sdev->num_srq) > SIW_MAX_SRQ) { in siw_create_srq()
|
/linux-6.6.21/drivers/power/reset/ |
D | vexpress-poweroff.c | 96 if (atomic_inc_return(&vexpress_restart_nb_refcnt) == 1) { in _vexpress_register_restart_handler()
|