Home
last modified time | relevance | path

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

12345678910>>...15

/Linux-v4.19/Documentation/RCU/
Drcuref.txt35 if (atomic_dec_and_test(&el->rc))
63 if (atomic_dec_and_test(&el->rc)) ...
67 if (atomic_dec_and_test(&el->rc))
79 atomic_dec_and_test() may be moved from delete() to el_free()
98 if (atomic_dec_and_test(&el->rc)) spin_unlock(&list_lock);
129 if (atomic_dec_and_test(&el->rc))
/Linux-v4.19/scripts/coccinelle/api/
Datomic_as_refcounter.cocci25 atomic_dec_and_test@p1(&(a)->x)
57 msg = "atomic_dec_and_test variation before object free at line %s."
68 atomic_dec_and_test@p1(&(a)->x)
90 msg = "atomic_dec_and_test variation before object free at line %s."
/Linux-v4.19/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-v4.19/arch/m68k/include/asm/
Datomic.h137 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
143 #define atomic_dec_and_test atomic_dec_and_test macro
/Linux-v4.19/fs/btrfs/
Dlocking.c70 if (atomic_dec_and_test(&eb->blocking_writers)) in btrfs_clear_lock_blocking_rw()
77 if (atomic_dec_and_test(&eb->blocking_readers)) in btrfs_clear_lock_blocking_rw()
219 if (atomic_dec_and_test(&eb->blocking_readers)) in btrfs_tree_read_unlock_blocking()
/Linux-v4.19/drivers/dma-buf/
Ddma-fence-array.c49 if (atomic_dec_and_test(&array->num_pending)) in dma_fence_array_cb_func()
75 if (atomic_dec_and_test(&array->num_pending)) in dma_fence_array_enable_signaling()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Diowait.h231 return atomic_dec_and_test(&wait->sdma_busy); in iowait_sdma_dec()
275 return atomic_dec_and_test(&wait->pio_busy); in iowait_pio_dec()
/Linux-v4.19/tools/arch/x86/include/asm/
Datomic.h63 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
/Linux-v4.19/drivers/infiniband/core/
Dsa.h47 if (atomic_dec_and_test(&client->users)) in ib_sa_client_put()
/Linux-v4.19/tools/include/asm-generic/
Datomic-gcc.h59 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
/Linux-v4.19/include/linux/
Dnsproxy.h78 if (atomic_dec_and_test(&ns->count)) { in put_nsproxy()
Dmbcache.h36 if (!atomic_dec_and_test(&entry->e_refcnt)) in mb_cache_entry_put()
Dcred.h57 if (atomic_dec_and_test(&(group_info)->usage)) \
270 if (atomic_dec_and_test(&(cred)->usage)) in put_cred()
Drefcount.h101 return atomic_dec_and_test(&r->refs); in refcount_dec_and_test()
Dfscache-cache.h438 if (atomic_dec_and_test(&cache->object_count)) in fscache_object_destroyed()
509 return atomic_dec_and_test(&cookie->n_active); in __fscache_unuse_cookie()
/Linux-v4.19/drivers/infiniband/hw/cxgb3/
Diwch_ev.c103 if (atomic_dec_and_test(&qhp->refcnt)) in post_qp_event()
227 if (atomic_dec_and_test(&chp->refcnt)) in iwch_ev_dispatch()
/Linux-v4.19/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-v4.19/crypto/
Dcryptd.c271 if (err != -EINPROGRESS && refcnt && atomic_dec_and_test(&ctx->refcnt)) in cryptd_blkcipher_crypt()
475 if (err != -EINPROGRESS && refcnt && atomic_dec_and_test(&ctx->refcnt)) in cryptd_skcipher_complete()
725 if (err != -EINPROGRESS && refcnt && atomic_dec_and_test(&ctx->refcnt)) in cryptd_hash_complete()
979 if (err != -EINPROGRESS && refcnt && atomic_dec_and_test(&ctx->refcnt)) in cryptd_aead_crypt()
1210 if (atomic_dec_and_test(&ctx->refcnt)) in cryptd_free_ablkcipher()
1262 if (atomic_dec_and_test(&ctx->refcnt)) in cryptd_free_skcipher()
1319 if (atomic_dec_and_test(&ctx->refcnt)) in cryptd_free_ahash()
1369 if (atomic_dec_and_test(&ctx->refcnt)) in cryptd_free_aead()
/Linux-v4.19/include/asm-generic/
Datomic-instrumented.h256 #define atomic_dec_and_test atomic_dec_and_test macro
257 static __always_inline bool atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
/Linux-v4.19/drivers/misc/mic/cosm/
Dcosm_main.c290 if (atomic_dec_and_test(&g_num_dev)) in cosm_driver_probe()
302 if (atomic_dec_and_test(&g_num_dev)) in cosm_driver_remove()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_dp_aux_dev.c180 if (atomic_dec_and_test(&aux_dev->usecount)) in auxdev_read_iter()
222 if (atomic_dec_and_test(&aux_dev->usecount)) in auxdev_write_iter()
/Linux-v4.19/include/linux/sched/
Dtask.h95 if (atomic_dec_and_test(&t->usage)) in put_task_struct()
/Linux-v4.19/drivers/misc/mic/scif/
Dscif_main.c197 if (atomic_dec_and_test(&g_loopb_cnt)) in scif_probe()
237 if (atomic_dec_and_test(&g_loopb_cnt)) in scif_remove()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.h136 if (atomic_dec_and_test(&e->refcnt) && d) in l2t_release()
/Linux-v4.19/arch/um/drivers/
Drandom.c85 if (atomic_dec_and_test(&host_sleep_count)) { in rng_dev_read()

12345678910>>...15