Home
last modified time | relevance | path

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

1234567

/linux-6.1.9/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.1.9/net/rxrpc/
Dskbuff.c74 n = atomic_dec_return(select_skb_count(skb)); in rxrpc_free_skb()
89 int n = atomic_dec_return(select_skb_count(skb)); in rxrpc_purge_queue()
/linux-6.1.9/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.1.9/mm/
Dpage_table_check.c79 BUG_ON(atomic_dec_return(&ptc->anon_map_count) < 0); in page_table_check_clear()
82 BUG_ON(atomic_dec_return(&ptc->file_map_count) < 0); in page_table_check_clear()
/linux-6.1.9/include/drm/
Dtask_barrier.h94 if (atomic_dec_return(&tb->count) == 0) in task_barrier_exit()
/linux-6.1.9/include/linux/
Dmbcache.h51 unsigned int cnt = atomic_dec_return(&entry->e_refcnt); in mb_cache_entry_put()
/linux-6.1.9/fs/fscache/
Dcache.c319 n_accesses = atomic_dec_return(&cache->n_accesses); in fscache_end_cache_access()
364 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.1.9/fs/erofs/
Dzdata.h166 v = atomic_dec_return((atomic_t *)&page->private); in z_erofs_onlinepage_endio()
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dtxrx.c285 atomic_dec_return(&adapter->pending_bridged_pkts); in mwifiex_write_data_complete()
306 if (atomic_dec_return(&priv->wmm_tx_pending[index]) < LOW_TX_PENDING) { in mwifiex_write_data_complete()
/linux-6.1.9/net/core/
Ddst.c172 newrefcnt = atomic_dec_return(&dst->__refcnt); in dst_release()
187 newrefcnt = atomic_dec_return(&dst->__refcnt); in dst_release_immediate()
/linux-6.1.9/drivers/misc/sgi-xp/
Dxpc_main.c746 if (atomic_dec_return(&ch->kthreads_assigned) == 0 && in xpc_kthread_start()
747 atomic_dec_return(&part->nchannels_engaged) == 0) { in xpc_kthread_start()
823 if (atomic_dec_return(&ch->kthreads_assigned) == 0 && in xpc_create_kthreads()
824 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.1.9/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dmpesw.c38 if (!atomic_dec_return(&ldev->lag_mpesw.mpesw_rule_count) && in del_mpesw_rule()
/linux-6.1.9/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.1.9/kernel/rcu/
Drefscale.c565 if (!atomic_dec_return(&n_started)) in ref_scale_reader()
575 if (!atomic_dec_return(&n_warmedup)) in ref_scale_reader()
591 if (!atomic_dec_return(&n_cooleddown)) in ref_scale_reader()
/linux-6.1.9/arch/arm/mach-cns3xxx/
Dcns3420vb.c155 if (atomic_dec_return(&usb_pwr_ref) == 0) in csn3xxx_usb_power_off()
/linux-6.1.9/drivers/md/bcache/
Dclosure.c54 closure_put_after_sub(cl, atomic_dec_return(&cl->remaining)); in closure_put()
/linux-6.1.9/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.1.9/drivers/hwtracing/coresight/
Dcoresight-tpiu.c98 if (atomic_dec_return(csdev->refcnt)) in tpiu_disable()
Dcoresight-tmc-etf.c319 if (atomic_dec_return(csdev->refcnt)) { in tmc_disable_etf_sink()
380 if (atomic_dec_return(&csdev->refcnt[0]) == 0) { in tmc_disable_etf_link()
/linux-6.1.9/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.1.9/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.1.9/net/wireless/
Dcore.h199 int r = atomic_dec_return(&bss->hold); in cfg80211_unhold_bss()
204 r = atomic_dec_return(&bss->hold); in cfg80211_unhold_bss()

1234567