Home
last modified time | relevance | path

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

123456

/Linux-v5.4/arch/powerpc/perf/
D8xx-pmu.c171 if (atomic_dec_return(&insn_ctr_ref) == 0) in mpc8xx_pmu_del()
175 if (atomic_dec_return(&itlb_miss_ref) == 0) { in mpc8xx_pmu_del()
183 if (atomic_dec_return(&dtlb_miss_ref) == 0) { in mpc8xx_pmu_del()
/Linux-v5.4/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()
Dlocal_object.c370 n = atomic_dec_return(&local->usage); in rxrpc_put_local()
407 au = atomic_dec_return(&local->active_users); in rxrpc_unuse_local()
Dpeer_object.c434 n = atomic_dec_return(&peer->usage); in rxrpc_put_peer()
451 n = atomic_dec_return(&peer->usage); in rxrpc_put_peer_locked()
/Linux-v5.4/include/linux/
Datomic-fallback.h445 #ifdef atomic_dec_return
446 #define atomic_dec_return_acquire atomic_dec_return
447 #define atomic_dec_return_release atomic_dec_return
448 #define atomic_dec_return_relaxed atomic_dec_return
451 #ifndef atomic_dec_return
453 atomic_dec_return(atomic_t *v) in atomic_dec_return() function
457 #define atomic_dec_return atomic_dec_return macro
510 #ifndef atomic_dec_return
512 atomic_dec_return(atomic_t *v) in atomic_dec_return() function
520 #define atomic_dec_return atomic_dec_return macro
[all …]
Dpage_ref.h148 int ret = atomic_dec_return(&page->_refcount); in page_ref_dec_return()
/Linux-v5.4/net/core/
Ddst.c174 newrefcnt = atomic_dec_return(&dst->__refcnt); in dst_release()
189 newrefcnt = atomic_dec_return(&dst->__refcnt); in dst_release_immediate()
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_blk.c134 if (atomic_dec_return(&hw_blk->refcount)) in dpu_hw_blk_put()
/Linux-v5.4/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.4/drivers/misc/sgi-xp/
Dxpc_main.c745 if (atomic_dec_return(&ch->kthreads_assigned) == 0 && in xpc_kthread_start()
746 atomic_dec_return(&part->nchannels_engaged) == 0) { in xpc_kthread_start()
822 if (atomic_dec_return(&ch->kthreads_assigned) == 0 && in xpc_create_kthreads()
823 atomic_dec_return(&part->nchannels_engaged) == 0) { in xpc_create_kthreads()
Dxpc.h683 s32 refs = atomic_dec_return(&ch->references); in xpc_msgqueue_deref()
700 s32 refs = atomic_dec_return(&part->references); in xpc_part_deref()
Dxpnet.c352 if (atomic_dec_return(&queued_msg->use_count) == 0) { in xpnet_send_completed()
487 if (atomic_dec_return(&queued_msg->use_count) == 0) { in xpnet_dev_hard_start_xmit()
/Linux-v5.4/fs/erofs/
Dzdata.h178 v = atomic_dec_return(u.o); in z_erofs_onlinepage_endio()
Dutils.c136 int count = atomic_dec_return(&grp->refcount); in erofs_workgroup_put()
/Linux-v5.4/fs/afs/
Dvl_list.c42 unsigned int u = atomic_dec_return(&vlserver->usage); in afs_put_vlserver()
66 unsigned int u = atomic_dec_return(&vllist->usage); in afs_put_vlserverlist()
/Linux-v5.4/arch/arm/mach-cns3xxx/
Dcns3420vb.c155 if (atomic_dec_return(&usb_pwr_ref) == 0) in csn3xxx_usb_power_off()
/Linux-v5.4/arch/s390/kernel/
Dperf_cpum_cf.c175 if (atomic_dec_return(&num_events) == 0) in hw_perf_event_destroy()
404 if (!atomic_dec_return(&cpuhw->ctr_set[hwc->config_base])) in cpumf_pmu_stop()
/Linux-v5.4/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.4/drivers/hwtracing/coresight/
Dcoresight-tpiu.c102 if (atomic_dec_return(csdev->refcnt)) in tpiu_disable()
/Linux-v5.4/drivers/md/bcache/
Dclosure.c55 closure_put_after_sub(cl, atomic_dec_return(&cl->remaining)); in closure_put()
/Linux-v5.4/drivers/soc/ti/
Dknav_dma.c525 if (atomic_dec_return(&chan->ref_count) <= 0) in knav_dma_close_channel()
528 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.4/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()
/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_device.c779 count = atomic_dec_return(&kfd_locked); in kgd2kfd_post_reset()
816 count = atomic_dec_return(&kfd_locked); in kgd2kfd_resume()
1160 int count = atomic_dec_return(&kfd->compute_profile); in kfd_dec_compute_active()
/Linux-v5.4/drivers/gpu/drm/nouveau/nvif/
Dnotify.c75 if (atomic_dec_return(&notify->putcnt) != 0) in nvif_notify_get_()
/Linux-v5.4/drivers/s390/char/
Draw3270.h187 if (atomic_dec_return(&view->ref_count) == 0) in raw3270_put_view()

123456