Home
last modified time | relevance | path

Searched refs:atomic_dec_return (Results 1 – 25 of 149) sorted by relevance

123456

/linux-6.6.21/arch/powerpc/perf/
D8xx-pmu.c165 if (atomic_dec_return(&insn_ctr_ref) == 0) in mpc8xx_pmu_del()
169 if (atomic_dec_return(&itlb_miss_ref) == 0) in mpc8xx_pmu_del()
173 if (atomic_dec_return(&dtlb_miss_ref) == 0) in mpc8xx_pmu_del()
/linux-6.6.21/net/rxrpc/
Dskbuff.c64 int n = atomic_dec_return(select_skb_count(skb)); in rxrpc_free_skb()
78 int n = atomic_dec_return(select_skb_count(skb)); in rxrpc_purge_queue()
/linux-6.6.21/drivers/crypto/hisilicon/trng/
Dtrng.c280 atomic_dec_return(&trng_active_devs); in hisi_trng_probe()
298 atomic_dec_return(&trng_active_devs) == 0) in hisi_trng_probe()
315 atomic_dec_return(&trng_active_devs) == 0) in hisi_trng_remove()
/linux-6.6.21/mm/
Dpage_table_check.c82 BUG_ON(atomic_dec_return(&ptc->anon_map_count) < 0); in page_table_check_clear()
85 BUG_ON(atomic_dec_return(&ptc->file_map_count) < 0); in page_table_check_clear()
/linux-6.6.21/include/drm/
Dtask_barrier.h94 if (atomic_dec_return(&tb->count) == 0) in task_barrier_exit()
/linux-6.6.21/include/linux/
Dmbcache.h51 unsigned int cnt = atomic_dec_return(&entry->e_refcnt); in mb_cache_entry_put()
/linux-6.6.21/fs/fscache/
Dcache.c320 n_accesses = atomic_dec_return(&cache->n_accesses); in fscache_end_cache_access()
365 n_accesses = atomic_dec_return(&cache->n_accesses); in fscache_withdraw_cache()
Dvolume.c113 n_accesses = atomic_dec_return(&volume->n_accesses); in fscache_end_volume_access()
458 n_accesses = atomic_dec_return(&volume->n_accesses); in fscache_withdraw_volume()
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Dtxrx.c293 atomic_dec_return(&adapter->pending_bridged_pkts); in mwifiex_write_data_complete()
314 if (atomic_dec_return(&priv->wmm_tx_pending[index]) < LOW_TX_PENDING) { in mwifiex_write_data_complete()
/linux-6.6.21/drivers/misc/sgi-xp/
Dxpc_main.c737 if (atomic_dec_return(&ch->kthreads_assigned) == 0 && in xpc_kthread_start()
738 atomic_dec_return(&part->nchannels_engaged) == 0) { in xpc_kthread_start()
814 if (atomic_dec_return(&ch->kthreads_assigned) == 0 && in xpc_create_kthreads()
815 atomic_dec_return(&part->nchannels_engaged) == 0) { in xpc_create_kthreads()
Dxpc.h684 s32 refs = atomic_dec_return(&ch->references); in xpc_msgqueue_deref()
701 s32 refs = atomic_dec_return(&part->references); in xpc_part_deref()
Dxpnet.c353 if (atomic_dec_return(&queued_msg->use_count) == 0) { in xpnet_send_completed()
488 if (atomic_dec_return(&queued_msg->use_count) == 0) { in xpnet_dev_hard_start_xmit()
/linux-6.6.21/arch/arm/mach-omap2/
Domap-iommu.c47 else if (!enable && (atomic_dec_return(&emu_count) == 0)) in omap_iommu_dra7_emu_swsup_config()
/linux-6.6.21/kernel/rcu/
Drefscale.c593 if (!atomic_dec_return(&rtsp->rts_refctr)) { in typesafe_ref_release()
833 if (!atomic_dec_return(&n_started)) in ref_scale_reader()
843 if (!atomic_dec_return(&n_warmedup)) in ref_scale_reader()
859 if (!atomic_dec_return(&n_cooleddown)) in ref_scale_reader()
/linux-6.6.21/drivers/s390/char/
Draw3270.h114 if (atomic_dec_return(&view->ref_count) == 0) in raw3270_put_view()
/linux-6.6.21/drivers/md/bcache/
Dclosure.c54 closure_put_after_sub(cl, atomic_dec_return(&cl->remaining)); in closure_put()
/linux-6.6.21/net/rds/
Dib_frmr.c129 while (atomic_dec_return(&ibmr->ic->i_fastreg_wrs) <= 0) { in rds_ib_post_reg_frmr()
279 while (atomic_dec_return(&ibmr->ic->i_fastreg_wrs) <= 0) { in rds_ib_post_inv()
/linux-6.6.21/fs/smb/server/mgmt/
Dtree_connect.c106 if (!atomic_dec_return(&tcon->refcount) && in ksmbd_tree_connect_put()
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-tpiu.c99 if (atomic_dec_return(&csdev->refcnt)) in tpiu_disable()
Dcoresight-tpda.c94 if (atomic_dec_return(&in->dest_refcnt) == 0) in tpda_disable()
Dcoresight-trace-id.c293 if (!atomic_dec_return(&perf_cs_etm_session_active)) in coresight_trace_id_perf_stop()
/linux-6.6.21/drivers/reset/
Dcore.c239 WARN_ON(atomic_dec_return(&rstc->triggered_count) < 0); in reset_control_array_rearm()
416 WARN_ON(atomic_dec_return(&rstc->triggered_count) < 0); in reset_control_rearm()
460 if (atomic_dec_return(&rstc->deassert_count) != 0) in reset_control_assert()
/linux-6.6.21/drivers/soc/ti/
Dknav_dma.c505 if (atomic_dec_return(&chan->ref_count) <= 0) in knav_dma_close_channel()
508 if (atomic_dec_return(&chan->dma->ref_count) <= 0) in knav_dma_close_channel()
781 if (atomic_dec_return(&dma->ref_count) == 0) in knav_dma_remove()
/linux-6.6.21/drivers/block/drbd/
Ddrbd_int.h1938 int ap_pending_cnt = atomic_dec_return(&device->ap_pending_cnt); in __dec_ap_pending()
1960 return atomic_dec_return(&peer_device->device->rs_pending_cnt); in __dec_rs_pending()
1980 return atomic_dec_return(&device->unacked_cnt); in __dec_unacked()
2026 int i = atomic_dec_return(&device->local_cnt); in put_ldev()
2212 int ap_bio = atomic_dec_return(&device->ap_bio_cnt); in dec_ap_bio()
/linux-6.6.21/net/wireless/
Dcore.h205 int r = atomic_dec_return(&bss->hold); in cfg80211_unhold_bss()
210 r = atomic_dec_return(&bss->hold); in cfg80211_unhold_bss()

123456