Home
last modified time | relevance | path

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

12345678910>>...14

/Linux-v5.10/Documentation/RCU/
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))
/Linux-v5.10/scripts/coccinelle/api/
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."
/Linux-v5.10/lib/
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()
/Linux-v5.10/arch/m68k/include/asm/
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
/Linux-v5.10/drivers/dma-buf/
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()
/Linux-v5.10/include/linux/netfilter/
Dnf_conntrack_common.h33 if (nfct && atomic_dec_and_test(&nfct->use)) in nf_conntrack_put()
/Linux-v5.10/drivers/infiniband/core/
Dsa.h47 if (atomic_dec_and_test(&client->users)) in ib_sa_client_put()
/Linux-v5.10/tools/arch/x86/include/asm/
Datomic.h63 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
/Linux-v5.10/tools/include/asm-generic/
Datomic-gcc.h59 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
/Linux-v5.10/kernel/rcu/
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()
949 if (atomic_dec_and_test(&trc_n_readers_need_end)) { in trc_wait_for_one_reader()
/Linux-v5.10/include/linux/
Dmbcache.h36 if (!atomic_dec_and_test(&entry->e_refcnt)) in mb_cache_entry_put()
Dnsproxy.h104 if (atomic_dec_and_test(&ns->count)) { in put_nsproxy()
Dcred.h52 if (atomic_dec_and_test(&(group_info)->usage)) \
286 if (atomic_dec_and_test(&(cred)->usage)) in put_cred()
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()
/Linux-v5.10/drivers/gpu/drm/lima/
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()
/Linux-v5.10/drivers/infiniband/hw/cxgb4/
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()
/Linux-v5.10/drivers/infiniband/hw/hfi1/
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()
/Linux-v5.10/fs/xfs/
Dxfs_pwork.c50 if (atomic_dec_and_test(&pctl->nr_work)) in xfs_pwork_work()
/Linux-v5.10/drivers/gpu/drm/
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()
/Linux-v5.10/drivers/gpu/drm/i915/
Di915_gem.h111 return atomic_dec_and_test(&t->count); in __tasklet_enable()
Di915_globals.c128 if (!atomic_dec_and_test(&active)) in i915_globals_park()
/Linux-v5.10/arch/powerpc/mm/
Dpgtable-frag.c117 if (atomic_dec_and_test(&page->pt_frag_refcount)) { in pte_fragment_free()
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.h136 if (atomic_dec_and_test(&e->refcnt) && d) in l2t_release()
/Linux-v5.10/arch/um/drivers/
Drandom.c82 if (atomic_dec_and_test(&host_sleep_count)) { in rng_dev_read()
/Linux-v5.10/drivers/gpu/drm/radeon/
Dradeon_irq_kms.c403 if (atomic_dec_and_test(&rdev->irq.ring_int[ring])) { in radeon_irq_kms_sw_irq_put()
455 if (atomic_dec_and_test(&rdev->irq.pflip[crtc])) { in radeon_irq_kms_pflip_irq_put()

12345678910>>...14