Home
last modified time | relevance | path

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

1234567

/Linux-v5.15/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-v5.15/net/rxrpc/
Dskbuff.c75 n = atomic_dec_return(select_skb_count(skb)); in rxrpc_free_skb()
90 int n = atomic_dec_return(select_skb_count(skb)); in rxrpc_purge_queue()
Dpeer_object.c438 n = atomic_dec_return(&peer->usage); in rxrpc_put_peer()
455 n = atomic_dec_return(&peer->usage); in rxrpc_put_peer_locked()
/Linux-v5.15/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-v5.15/include/drm/
Dtask_barrier.h94 if (atomic_dec_return(&tb->count) == 0) in task_barrier_exit()
/Linux-v5.15/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-v5.15/drivers/net/wireless/marvell/mwifiex/
Dtxrx.c297 atomic_dec_return(&adapter->pending_bridged_pkts); in mwifiex_write_data_complete()
318 if (atomic_dec_return(&priv->wmm_tx_pending[index]) < LOW_TX_PENDING) { in mwifiex_write_data_complete()
/Linux-v5.15/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-v5.15/arch/arm/mach-omap2/
Domap-iommu.c46 else if (!enable && (atomic_dec_return(&emu_count) == 0)) in omap_iommu_dra7_emu_swsup_config()
/Linux-v5.15/fs/erofs/
Dzdata.h173 v = atomic_dec_return(u.o); in z_erofs_onlinepage_endio()
Dutils.c108 int count = atomic_dec_return(&grp->refcount); in erofs_workgroup_put()
/Linux-v5.15/fs/afs/
Dvl_list.c43 unsigned int u = atomic_dec_return(&vlserver->usage); in afs_put_vlserver()
67 unsigned int u = atomic_dec_return(&vllist->usage); in afs_put_vlserverlist()
Dcell.c562 u = atomic_dec_return(&cell->ref); in afs_put_cell()
611 a = atomic_dec_return(&cell->active); in afs_unuse_cell()
888 active = atomic_dec_return(&cell->active); in afs_manage_cells()
/Linux-v5.15/kernel/rcu/
Drefscale.c543 if (!atomic_dec_return(&n_started)) in ref_scale_reader()
553 if (!atomic_dec_return(&n_warmedup)) in ref_scale_reader()
569 if (!atomic_dec_return(&n_cooleddown)) in ref_scale_reader()
/Linux-v5.15/arch/arm/mach-cns3xxx/
Dcns3420vb.c155 if (atomic_dec_return(&usb_pwr_ref) == 0) in csn3xxx_usb_power_off()
/Linux-v5.15/drivers/md/bcache/
Dclosure.c54 closure_put_after_sub(cl, atomic_dec_return(&cl->remaining)); in closure_put()
/Linux-v5.15/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-v5.15/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-v5.15/include/linux/
Dpage_ref.h157 int ret = atomic_dec_return(&page->_refcount); in page_ref_dec_return()
/Linux-v5.15/drivers/soc/ti/
Dknav_dma.c515 if (atomic_dec_return(&chan->ref_count) <= 0) in knav_dma_close_channel()
518 if (atomic_dec_return(&chan->dma->ref_count) <= 0) in knav_dma_close_channel()
792 if (atomic_dec_return(&dma->ref_count) == 0) in knav_dma_remove()
/Linux-v5.15/drivers/reset/
Dcore.c238 WARN_ON(atomic_dec_return(&rstc->triggered_count) < 0); in reset_control_array_rearm()
415 WARN_ON(atomic_dec_return(&rstc->triggered_count) < 0); in reset_control_rearm()
459 if (atomic_dec_return(&rstc->deassert_count) != 0) in reset_control_assert()
/Linux-v5.15/net/wireless/
Dcore.h194 int r = atomic_dec_return(&bss->hold); in cfg80211_unhold_bss()
199 r = atomic_dec_return(&bss->hold); in cfg80211_unhold_bss()

1234567