Home
last modified time | relevance | path

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

1234567

/linux/arch/powerpc/perf/
A 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/net/rxrpc/
A 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()
A Dpeer_object.c443 n = atomic_dec_return(&peer->usage); in rxrpc_put_peer()
460 n = atomic_dec_return(&peer->usage); in rxrpc_put_peer_locked()
/linux/drivers/crypto/hisilicon/trng/
A 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/include/drm/
A Dtask_barrier.h94 if (atomic_dec_return(&tb->count) == 0) in task_barrier_exit()
/linux/drivers/misc/sgi-xp/
A 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()
A 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()
A 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/drivers/net/wireless/marvell/mwifiex/
A 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/net/core/
A Ddst.c172 newrefcnt = atomic_dec_return(&dst->__refcnt); in dst_release()
187 newrefcnt = atomic_dec_return(&dst->__refcnt); in dst_release_immediate()
/linux/fs/afs/
A 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()
A 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/kernel/rcu/
A 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/fs/erofs/
A Dzdata.h166 v = atomic_dec_return(u.o); in z_erofs_onlinepage_endio()
A Dutils.c117 int count = atomic_dec_return(&grp->refcount); in erofs_workgroup_put()
/linux/arch/arm/mach-omap2/
A Domap-iommu.c46 else if (!enable && (atomic_dec_return(&emu_count) == 0)) in omap_iommu_dra7_emu_swsup_config()
/linux/arch/arm/mach-cns3xxx/
A Dcns3420vb.c155 if (atomic_dec_return(&usb_pwr_ref) == 0) in csn3xxx_usb_power_off()
/linux/net/rds/
A 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/drivers/soc/ti/
A 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/drivers/reset/
A 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/drivers/md/bcache/
A Dclosure.c54 closure_put_after_sub(cl, atomic_dec_return(&cl->remaining)); in closure_put()
/linux/drivers/hwtracing/coresight/
A Dcoresight-tpiu.c98 if (atomic_dec_return(csdev->refcnt)) in tpiu_disable()
A 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/net/wireless/
A Dcore.h194 int r = atomic_dec_return(&bss->hold); in cfg80211_unhold_bss()
199 r = atomic_dec_return(&bss->hold); in cfg80211_unhold_bss()
/linux/arch/s390/kernel/
A Dperf_cpum_cf.c402 if (atomic_dec_return(&num_events) == 0) in hw_perf_event_destroy()
675 if (!atomic_dec_return(&cpuhw->ctr_set[i])) in cpumf_pmu_stop()
859 if (!atomic_dec_return(&cpuhw->ctr_set[rc])) { in cfset_ioctl_off()
942 if (!atomic_dec_return(&cfset_opencnt)) in cfset_release()

Completed in 52 milliseconds

1234567