Home
last modified time | relevance | path

Searched refs:atomic_dec_and_test (Results 1 – 25 of 385) sorted by relevance

12345678910>>...16

/OK3568_Linux_fs/kernel/Documentation/RCU/
H A Drcuref.rst37 if(atomic_dec_and_test(&el->rc)) ...
42 if (atomic_dec_and_test(&el->rc))
72 if (atomic_dec_and_test(&el->rc)) ...
76 if (atomic_dec_and_test(&el->rc))
88 atomic_dec_and_test() may be moved from delete() to el_free()
109 if (atomic_dec_and_test(&el->rc)) spin_unlock(&list_lock);
151 if (atomic_dec_and_test(&el->rc))
/OK3568_Linux_fs/kernel/scripts/coccinelle/api/
H A Datomic_as_refcounter.cocci26 atomic_dec_and_test@p1(&(a)->x)
58 msg = "atomic_dec_and_test variation before object free at line %s."
69 atomic_dec_and_test@p1(&(a)->x)
91 msg = "atomic_dec_and_test variation before object free at line %s."
/OK3568_Linux_fs/kernel/lib/
H A Ddec_and_lock.c29 if (atomic_dec_and_test(atomic)) in _atomic_dec_and_lock()
46 if (atomic_dec_and_test(atomic)) in _atomic_dec_and_lock_irqsave()
/OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/include/
H A Dxf86atomic.h49 # define atomic_dec_and_test(x) (__sync_add_and_fetch (&(x)->atomic, -1) == 0) macro
72 # define atomic_dec_and_test(x) (AO_fetch_and_sub1_full(&(x)->atomic) == 1) macro
94 # define atomic_dec_and_test(x) (atomic_dec_uint_nv(&(x)->atomic) == 0) macro
/OK3568_Linux_fs/kernel/arch/m68k/include/asm/
H A Datomic.h135 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
141 #define atomic_dec_and_test atomic_dec_and_test macro
/OK3568_Linux_fs/kernel/drivers/dma-buf/
H A Ddma-fence-array.c64 if (atomic_dec_and_test(&array->num_pending)) in dma_fence_array_cb_func()
93 if (atomic_dec_and_test(&array->num_pending)) { in dma_fence_array_enable_signaling()
/OK3568_Linux_fs/kernel/kernel/rcu/
H A Dtasks.h787 if (nq && atomic_dec_and_test(&trc_n_readers_need_end)) in rcu_read_unlock_trace_special()
818 if (WARN_ON_ONCE(atomic_dec_and_test(&trc_n_readers_need_end))) in trc_read_check_handler()
826 if (WARN_ON_ONCE(atomic_dec_and_test(&trc_n_readers_need_end))) in trc_read_check_handler()
835 if (WARN_ON_ONCE(atomic_dec_and_test(&trc_n_readers_need_end))) in trc_read_check_handler()
947 if (atomic_dec_and_test(&trc_n_readers_need_end)) { in trc_wait_for_one_reader()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/lima/
H A Dlima_pp.c54 if (atomic_dec_and_test(&pipe->task)) in lima_pp_irq_handler()
97 if (atomic_dec_and_test(&pipe->task)) in lima_pp_bcast_irq_handler()
415 if (atomic_dec_and_test(&pipe->task)) in lima_pp_task_mmu_error()
/OK3568_Linux_fs/kernel/include/linux/netfilter/
H A Dnf_conntrack_common.h33 if (nfct && atomic_dec_and_test(&nfct->use)) in nf_conntrack_put()
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Dsa.h47 if (atomic_dec_and_test(&client->users)) in ib_sa_client_put()
/OK3568_Linux_fs/kernel/tools/arch/x86/include/asm/
H A Datomic.h63 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
/OK3568_Linux_fs/kernel/tools/include/asm-generic/
H A Datomic-gcc.h59 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
/OK3568_Linux_fs/kernel/include/linux/
H A Dcred.h52 if (atomic_dec_and_test(&(group_info)->usage)) \
286 if (atomic_dec_and_test(&(cred)->usage)) in put_cred()
H A Dmbcache.h36 if (!atomic_dec_and_test(&entry->e_refcnt)) in mb_cache_entry_put()
H A Dnsproxy.h104 if (atomic_dec_and_test(&ns->count)) { in put_nsproxy()
H A Dfscache-cache.h433 if (atomic_dec_and_test(&cache->object_count)) in fscache_object_destroyed()
504 return atomic_dec_and_test(&cookie->n_active); in __fscache_unuse_cookie()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_sync_helper.c105 if (atomic_dec_and_test(&rcb->count)) in reservation_cb_fence_cb()
254 if (atomic_dec_and_test(&rcb->count)) { in drm_reservation_cb_done()
H A Ddrm_dp_aux_dev.c183 if (atomic_dec_and_test(&aux_dev->usecount)) in auxdev_read_iter()
226 if (atomic_dec_and_test(&aux_dev->usecount)) in auxdev_write_iter()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Diowait.h257 return atomic_dec_and_test(&wait->sdma_busy); in iowait_sdma_dec()
303 return atomic_dec_and_test(&wait->pio_busy); in iowait_pio_dec()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/cxgb4/
H A Dev.c216 if (atomic_dec_and_test(&chp->refcnt)) in c4iw_ev_dispatch()
237 if (atomic_dec_and_test(&chp->refcnt)) in c4iw_ev_handler()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_refcount_defs.h38 #define kbase_refcount_dec_and_test(x) atomic_dec_and_test(x)
/OK3568_Linux_fs/u-boot/arch/powerpc/include/asm/
H A Datomic.h91 #define atomic_dec_and_test(v) (atomic_dec_return((v)) == 0) macro
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/
H A Dprocessor.h118 if (atomic_dec_and_test(&(p)->thread.refcount)) \
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_pwork.c50 if (atomic_dec_and_test(&pctl->nr_work)) in xfs_pwork_work()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/
H A Di915_globals.c128 if (!atomic_dec_and_test(&active)) in i915_globals_park()

12345678910>>...16