| /linux/arch/powerpc/perf/ |
| H A D | 8xx-pmu.c | 165 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 D | skbuff.c | 64 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/lib/ |
| H A D | ratelimit.c | 62 atomic_read(&rs->rs_n_left) > 0 && atomic_dec_return(&rs->rs_n_left) >= 0) in ___ratelimit() 93 if (atomic_read(&rs->rs_n_left) > 0 && atomic_dec_return(&rs->rs_n_left) >= 0) in ___ratelimit()
|
| /linux/drivers/crypto/hisilicon/trng/ |
| H A D | trng.c | 280 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 D | page_table_check.c | 83 BUG_ON(atomic_dec_return(&ptc->anon_map_count) < 0); in page_table_check_clear() 86 BUG_ON(atomic_dec_return(&ptc->file_map_count) < 0); in page_table_check_clear()
|
| /linux/include/drm/ |
| H A D | task_barrier.h | 94 if (atomic_dec_return(&tb->count) == 0) in task_barrier_exit()
|
| /linux/include/linux/ |
| H A D | mbcache.h | 51 unsigned int cnt = atomic_dec_return(&entry->e_refcnt); in mb_cache_entry_put()
|
| H A D | page_ref.h | 219 int ret = atomic_dec_return(&page->_refcount); in page_ref_dec_return()
|
| /linux/fs/netfs/ |
| H A D | fscache_cache.c | 320 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 D | fscache_volume.c | 126 n_accesses = atomic_dec_return(&volume->n_accesses); in fscache_end_volume_access() 471 n_accesses = atomic_dec_return(&volume->n_accesses); in fscache_withdraw_volume()
|
| /linux/drivers/misc/sgi-xp/ |
| H A D | xpc_main.c | 736 if (atomic_dec_return(&ch->kthreads_assigned) == 0 && in xpc_kthread_start() 737 atomic_dec_return(&part->nchannels_engaged) == 0) { in xpc_kthread_start() 813 if (atomic_dec_return(&ch->kthreads_assigned) == 0 && in xpc_create_kthreads() 814 atomic_dec_return(&part->nchannels_engaged) == 0) { in xpc_create_kthreads()
|
| H A D | xpc.h | 684 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 D | xpnet.c | 353 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/ |
| H A D | txrx.c | 292 atomic_dec_return(&adapter->pending_bridged_pkts); in mwifiex_write_data_complete() 313 if (atomic_dec_return(&priv->wmm_tx_pending[index]) < LOW_TX_PENDING) { in mwifiex_write_data_complete()
|
| /linux/kernel/rcu/ |
| H A D | refscale.c | 662 if (!atomic_dec_return(&rtsp->rts_refctr)) { in typesafe_ref_release() 914 if (!atomic_dec_return(&n_started)) in ref_scale_reader() 924 if (!atomic_dec_return(&n_warmedup)) in ref_scale_reader() 940 if (!atomic_dec_return(&n_cooleddown)) in ref_scale_reader()
|
| /linux/arch/arm/mach-omap2/ |
| H A D | omap-iommu.c | 47 else if (!enable && (atomic_dec_return(&emu_count) == 0)) in omap_iommu_dra7_emu_swsup_config()
|
| /linux/drivers/s390/char/ |
| H A D | raw3270.h | 114 if (atomic_dec_return(&view->ref_count) == 0) in raw3270_put_view()
|
| /linux/net/rds/ |
| H A D | ib_frmr.c | 129 while (atomic_dec_return(&ibmr->ic->i_fastreg_wrs) <= 0) { in rds_ib_post_reg_frmr() 283 while (atomic_dec_return(&ibmr->ic->i_fastreg_wrs) <= 0) { in rds_ib_post_inv()
|
| /linux/fs/smb/server/mgmt/ |
| H A D | tree_connect.c | 108 if (!atomic_dec_return(&tcon->refcount) && in ksmbd_tree_connect_put()
|
| /linux/drivers/soc/ti/ |
| H A D | knav_dma.c | 505 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 D | drbd_int.h | 1901 int ap_pending_cnt = atomic_dec_return(&device->ap_pending_cnt); in __dec_ap_pending() 1923 return atomic_dec_return(&peer_device->device->rs_pending_cnt); in __dec_rs_pending() 1943 return atomic_dec_return(&device->unacked_cnt); in __dec_unacked() 1989 int i = atomic_dec_return(&device->local_cnt); in put_ldev() 2175 int ap_bio = atomic_dec_return(&device->ap_bio_cnt); in dec_ap_bio()
|
| /linux/net/wireless/ |
| H A D | core.h | 229 int r = atomic_dec_return(&bss->hold); in cfg80211_unhold_bss() 234 r = atomic_dec_return(&bss->hold); in cfg80211_unhold_bss()
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-trace-id.c | 296 if (!atomic_dec_return(&id_map->perf_cs_etm_session_active)) in coresight_trace_id_perf_stop()
|
| /linux/drivers/reset/ |
| H A D | core.c | 265 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 D | perf_event.c | 67 if (atomic_dec_return(&num_events) == 0) in hw_perf_event_destroy()
|