| /OK3568_Linux_fs/u-boot/arch/powerpc/include/asm/ |
| H A D | atomic.h | 70 static __inline__ int atomic_dec_return(atomic_t *v) in atomic_dec_return() function 90 #define atomic_dec(v) ((void) atomic_dec_return((v))) 91 #define atomic_dec_and_test(v) (atomic_dec_return((v)) == 0)
|
| /OK3568_Linux_fs/kernel/arch/powerpc/perf/ |
| H A D | 8xx-pmu.c | 163 if (atomic_dec_return(&insn_ctr_ref) == 0) in mpc8xx_pmu_del() 167 if (atomic_dec_return(&itlb_miss_ref) == 0) { in mpc8xx_pmu_del() 176 if (atomic_dec_return(&dtlb_miss_ref) == 0) { in mpc8xx_pmu_del()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | atomic-fallback.h | 490 #define arch_atomic_dec_return atomic_dec_return 496 #ifdef atomic_dec_return 497 #define atomic_dec_return_acquire atomic_dec_return 498 #define atomic_dec_return_release atomic_dec_return 499 #define atomic_dec_return_relaxed atomic_dec_return 502 #ifndef atomic_dec_return 504 atomic_dec_return(atomic_t *v) in atomic_dec_return() function 508 #define atomic_dec_return atomic_dec_return macro 561 #ifndef atomic_dec_return 563 atomic_dec_return(atomic_t *v) in atomic_dec_return() function [all …]
|
| /OK3568_Linux_fs/kernel/net/rxrpc/ |
| H A D | skbuff.c | 74 n = atomic_dec_return(select_skb_count(skb)); in rxrpc_free_skb() 89 int n = atomic_dec_return(select_skb_count(skb)); in rxrpc_purge_queue()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/ump/linux/ |
| H A D | ump_osk_atomics.c | 21 return atomic_dec_return((atomic_t *)&atom->u.val); in _ump_osk_atomic_dec_and_read()
|
| /OK3568_Linux_fs/kernel/kernel/rcu/ |
| H A D | refscale.c | 391 if (!atomic_dec_return(&n_started)) in ref_scale_reader() 401 if (!atomic_dec_return(&n_warmedup)) in ref_scale_reader() 417 if (!atomic_dec_return(&n_cooleddown)) in ref_scale_reader()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/ |
| H A D | mali_osk_atomics.c | 27 return atomic_dec_return((atomic_t *)&atom->u.val); in _mali_osk_atomic_dec_return()
|
| /OK3568_Linux_fs/kernel/include/drm/ |
| H A D | task_barrier.h | 94 if (atomic_dec_return(&tb->count) == 0) in task_barrier_exit()
|
| /OK3568_Linux_fs/kernel/drivers/misc/sgi-xp/ |
| H A D | xpc_main.c | 746 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()
|
| H A D | xpc.h | 683 s32 refs = atomic_dec_return(&ch->references); in xpc_msgqueue_deref() 700 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()
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | dst.c | 174 newrefcnt = atomic_dec_return(&dst->__refcnt); in dst_release() 189 newrefcnt = atomic_dec_return(&dst->__refcnt); in dst_release_immediate()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/ |
| H A D | txrx.c | 297 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()
|
| /OK3568_Linux_fs/kernel/fs/afs/ |
| H A D | vl_list.c | 43 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()
|
| H A D | cell.c | 560 u = atomic_dec_return(&cell->ref); in afs_put_cell() 609 a = atomic_dec_return(&cell->active); in afs_unuse_cell() 886 active = atomic_dec_return(&cell->active); in afs_manage_cells()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_hw_blk.c | 134 if (atomic_dec_return(&hw_blk->refcount)) in dpu_hw_blk_put()
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-omap2/ |
| H A D | omap-iommu.c | 46 else if (!enable && (atomic_dec_return(&emu_count) == 0)) in omap_iommu_dra7_emu_swsup_config()
|
| /OK3568_Linux_fs/kernel/fs/erofs/ |
| H A D | zdata.h | 174 v = atomic_dec_return(u.o); in z_erofs_onlinepage_endio()
|
| /OK3568_Linux_fs/kernel/arch/s390/kernel/ |
| H A D | perf_cpum_cf.c | 175 if (atomic_dec_return(&num_events) == 0) in hw_perf_event_destroy() 423 if (!atomic_dec_return(&cpuhw->ctr_set[hwc->config_base])) in cpumf_pmu_stop()
|
| /OK3568_Linux_fs/kernel/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() 279 while (atomic_dec_return(&ibmr->ic->i_fastreg_wrs) <= 0) { in rds_ib_post_inv()
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-cns3xxx/ |
| H A D | cns3420vb.c | 155 if (atomic_dec_return(&usb_pwr_ref) == 0) in csn3xxx_usb_power_off()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/ |
| H A D | mali_kbase_fence.c | 136 ret = atomic_dec_return(&katom->dma_fence.dep_count); in kbase_fence_free_callbacks()
|
| H A D | mali_kbase_ctx_sched.c | 157 if (atomic_dec_return(&kctx->refcount) == 0) in kbase_ctx_sched_release_ctx()
|
| /OK3568_Linux_fs/kernel/drivers/soc/ti/ |
| H A D | knav_dma.c | 515 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() 791 if (atomic_dec_return(&dma->ref_count) == 0) in knav_dma_remove()
|
| /OK3568_Linux_fs/kernel/drivers/md/bcache/ |
| H A D | closure.c | 54 closure_put_after_sub(cl, atomic_dec_return(&cl->remaining)); in closure_put()
|