Home
last modified time | relevance | path

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

123456

/linux/arch/powerpc/perf/
H 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/
H A 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/drivers/crypto/hisilicon/trng/
H 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/mm/
H A Dpage_table_check.c87 BUG_ON(atomic_dec_return(&ptc->anon_map_count) < 0); in page_table_check_clear()
90 BUG_ON(atomic_dec_return(&ptc->file_map_count) < 0); in page_table_check_clear()
/linux/include/drm/
H A Dtask_barrier.h94 if (atomic_dec_return(&tb->count) == 0) in task_barrier_exit()
/linux/include/linux/
H A Dmbcache.h51 unsigned int cnt = atomic_dec_return(&entry->e_refcnt); in mb_cache_entry_put()
H A Dpage_ref.h219 int ret = atomic_dec_return(&page->_refcount); in page_ref_dec_return()
/linux/fs/netfs/
H A Dfscache_cache.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()
H A Dfscache_volume.c126 n_accesses = atomic_dec_return(&volume->n_accesses); in fscache_end_volume_access()
472 n_accesses = atomic_dec_return(&volume->n_accesses); in fscache_withdraw_volume()
/linux/drivers/net/wireless/marvell/mwifiex/
H A 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/drivers/misc/sgi-xp/
H A Dxpc_main.c735 if (atomic_dec_return(&ch->kthreads_assigned) == 0 && in xpc_kthread_start()
736 atomic_dec_return(&part->nchannels_engaged) == 0) { in xpc_kthread_start()
812 if (atomic_dec_return(&ch->kthreads_assigned) == 0 && in xpc_create_kthreads()
813 atomic_dec_return(&part->nchannels_engaged) == 0) { in xpc_create_kthreads()
H 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()
H 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/arch/arm/mach-omap2/
H A Domap-iommu.c47 else if (!enable && (atomic_dec_return(&emu_count) == 0)) in omap_iommu_dra7_emu_swsup_config()
/linux/kernel/rcu/
H A Drefscale.c595 if (!atomic_dec_return(&rtsp->rts_refctr)) { in typesafe_ref_release()
835 if (!atomic_dec_return(&n_started)) in ref_scale_reader()
845 if (!atomic_dec_return(&n_warmedup)) in ref_scale_reader()
861 if (!atomic_dec_return(&n_cooleddown)) in ref_scale_reader()
/linux/drivers/s390/char/
H A Draw3270.h114 if (atomic_dec_return(&view->ref_count) == 0) in raw3270_put_view()
/linux/net/rds/
H 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/fs/smb/server/mgmt/
H A Dtree_connect.c107 if (!atomic_dec_return(&tcon->refcount) && in ksmbd_tree_connect_put()
/linux/drivers/soc/ti/
H A 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()
769 if (atomic_dec_return(&dma->ref_count) == 0) in knav_dma_remove()
/linux/drivers/block/drbd/
H A Ddrbd_int.h1929 int ap_pending_cnt = atomic_dec_return(&device->ap_pending_cnt); in __dec_ap_pending()
1951 return atomic_dec_return(&peer_device->device->rs_pending_cnt); in __dec_rs_pending()
1971 return atomic_dec_return(&device->unacked_cnt); in __dec_unacked()
2017 int i = atomic_dec_return(&device->local_cnt); in put_ldev()
2203 int ap_bio = atomic_dec_return(&device->ap_bio_cnt); in dec_ap_bio()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-trace-id.c277 if (!atomic_dec_return(&id_map->perf_cs_etm_session_active)) in coresight_trace_id_perf_stop()
/linux/net/wireless/
H A Dcore.h223 int r = atomic_dec_return(&bss->hold); in cfg80211_unhold_bss()
228 r = atomic_dec_return(&bss->hold); in cfg80211_unhold_bss()
/linux/drivers/reset/
H A Dcore.c265 WARN_ON(atomic_dec_return(&rstc->triggered_count) < 0); in reset_control_array_rearm()
442 WARN_ON(atomic_dec_return(&rstc->triggered_count) < 0); in reset_control_rearm()
486 if (atomic_dec_return(&rstc->deassert_count) != 0) in reset_control_assert()
/linux/arch/sh/kernel/
H A Dperf_event.c67 if (atomic_dec_return(&num_events) == 0) in hw_perf_event_destroy()
/linux/drivers/mmc/host/
H A Dcavium-octeon.c120 if (!atomic_dec_return(&host->shared_power_users)) in octeon_mmc_set_shared_power()

123456