Home
last modified time | relevance | path

Searched refs:atomic_inc_return (Results 1 – 25 of 421) sorted by relevance

12345678910>>...17

/linux-6.6.21/net/rxrpc/
Dskbuff.c24 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/
Dcrash.c98 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/
DRM-broken.litmus21 r2 = atomic_inc_return(y);
35 r2 = atomic_inc_return(y);
DRM-fixed.litmus21 r2 = atomic_inc_return(y);
35 r2 = atomic_inc_return(y);
/linux-6.6.21/arch/powerpc/perf/
D8xx-pmu.c94 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/
Dvpu_drv.c44 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/
Dcache.c39 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/
Ddpu_encoder_phys.h202 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/
Dcancel.c199 .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/
Drxe_mcast.c202 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/
Discsi_target_device.c54 max_cmd_sn = atomic_inc_return(&sess->max_cmd_sn); in iscsit_increment_maxcmdsn()
/linux-6.6.21/mm/
Dpage_table_check.c119 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/
Di2c-octeon-platdrv.c59 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/
Dradeon_irq_kms.c394 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/
Dtask_barrier.h80 if (atomic_inc_return(&tb->count) == tb->n) in task_barrier_enter()
/linux-6.6.21/drivers/cpuidle/
Dcpuidle-ux500.c29 if (atomic_inc_return(&master) == num_online_cpus()) { in ux500_enter_idle()
Dcoupled.c159 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/
Dspurious.c123 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/
Dhv_balloon.c1071 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/
Dlocking.txt236 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/
Drcuscale.c483 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/
Djump_label.c43 if (atomic_inc_return(&patch->cpu_count) == num_online_cpus()) { in patch_text_stop_machine()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_fence.c80 context, atomic_inc_return(&fence_seq)); in amdgpu_amdkfd_fence_create()
/linux-6.6.21/drivers/infiniband/sw/siw/
Dsiw_verbs.c87 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/
Dvexpress-poweroff.c96 if (atomic_inc_return(&vexpress_restart_nb_refcnt) == 1) { in _vexpress_register_restart_handler()

12345678910>>...17