Home
last modified time | relevance | path

Searched refs:refcount_dec_and_test (Results 1 – 25 of 426) sorted by relevance

12345678910>>...18

/linux-6.12.1/lib/
Drefcount.c119 if (!refcount_dec_and_test(r)) { in refcount_dec_and_mutex_lock()
150 if (!refcount_dec_and_test(r)) { in refcount_dec_and_lock()
179 if (!refcount_dec_and_test(r)) { in refcount_dec_and_lock_irqsave()
/linux-6.12.1/io_uring/
Deventfd.c40 if (refcount_dec_and_test(&ev_fd->refs)) in io_eventfd_do_signal()
80 if (refcount_dec_and_test(&ev_fd->refs)) in io_eventfd_signal()
155 if (refcount_dec_and_test(&ev_fd->refs)) in io_eventfd_unregister()
Dio-wq.h35 if (refcount_dec_and_test(&hash->refs)) in io_wq_put_hash()
/linux-6.12.1/drivers/misc/lkdtm/
Drefcount.c164 if (refcount_dec_and_test(&neg)) in lkdtm_REFCOUNT_DEC_AND_TEST_NEGATIVE()
347 if (refcount_dec_and_test(&sat)) in lkdtm_REFCOUNT_DEC_AND_TEST_SATURATED()
400 if (refcount_dec_and_test(&count)) in lkdtm_REFCOUNT_TIMING()
/linux-6.12.1/rust/helpers/
Drefcount.c18 return refcount_dec_and_test(r); in rust_helper_refcount_dec_and_test()
/linux-6.12.1/include/net/
Dnetrom.h129 if (refcount_dec_and_test(&nr_node->refcount)) { in nr_node_put()
139 if (refcount_dec_and_test(&nr_neigh->refcount)) { in nr_neigh_put()
Dax25.h178 if (refcount_dec_and_test(&assoc->refcount)) { in ax25_uid_put()
280 if (refcount_dec_and_test(&ax25->refcount)) { in ax25_cb_put()
293 if (refcount_dec_and_test(&ax25_dev->refcount)) { in ax25_dev_put()
Dx25.h250 if (refcount_dec_and_test(&nb->refcnt)) in x25_neigh_put()
273 if (refcount_dec_and_test(&rt->refcnt)) in x25_route_put()
/linux-6.12.1/include/linux/netfilter/
Dnf_conntrack_common.h36 if (nfct && refcount_dec_and_test(&nfct->use)) in nf_conntrack_put()
/linux-6.12.1/net/ceph/
Dsnapshot.c58 if (refcount_dec_and_test(&sc->nref)) { in ceph_put_snap_context()
/linux-6.12.1/drivers/md/
Ddm-ps-io-affinity.c34 if (refcount_dec_and_test(&pi->refcount)) { in ioa_free_path()
96 if (refcount_dec_and_test(&pi->refcount)) { in ioa_add_path()
/linux-6.12.1/fs/nfsd/
Dfilecache.c148 if (refcount_dec_and_test(&nfm->nfm_ref)) { in nfsd_file_mark_put()
389 if (refcount_dec_and_test(&nf->nf_ref)) in nfsd_file_put()
529 if (!refcount_dec_and_test(&nf->nf_ref)) { in nfsd_file_lru_cb()
1053 WARN_ON_ONCE(refcount_dec_and_test(&nf->nf_ref)); in nfsd_file_do_acquire()
1133 if (refcount_dec_and_test(&nf->nf_ref)) in nfsd_file_do_acquire()
1155 if (refcount_dec_and_test(&nf->nf_ref)) in nfsd_file_do_acquire()
/linux-6.12.1/tools/perf/util/
Dmem-info.c17 if (mi && refcount_dec_and_test(mem_info__refcnt(mi))) { in mem_info__put()
/linux-6.12.1/include/linux/
Dkref.h64 if (refcount_dec_and_test(&kref->refcount)) { in kref_put()
Dutsname.h44 if (refcount_dec_and_test(&ns->ns.count)) in put_uts_ns()
Dshrinker.h146 if (refcount_dec_and_test(&shrinker->refcount)) in shrinker_put()
Dnsproxy.h117 if (refcount_dec_and_test(&ns->count)) in put_nsproxy()
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_mps.c17 if (!refcount_dec_and_test(&mps_entry->refcnt)) { in cxgb4_mps_ref_dec_by_mac()
39 if (!refcount_dec_and_test(&mps_entry->refcnt)) { in cxgb4_mps_ref_dec()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dcgrp.c39 if (refcount_dec_and_test(&ectx->refs)) { in nvkm_cgrp_ectx_put()
100 if (refcount_dec_and_test(&vctx->refs)) { in nvkm_cgrp_vctx_put()
/linux-6.12.1/tools/include/linux/
Drefcount.h146 bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test() function
/linux-6.12.1/fs/erofs/
Dfscache.c47 if (!refcount_dec_and_test(&io->ref)) in erofs_fscache_io_put()
77 if (!refcount_dec_and_test(&req->ref)) in erofs_fscache_req_put()
388 if (refcount_dec_and_test(&domain->ref)) { in erofs_fscache_domain_put()
620 if (refcount_dec_and_test(&ctx->ref)) { in erofs_fscache_unregister_cookie()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_adapter.c106 if (!refcount_dec_and_test(&adapter->refcount)) in ice_adapter_put()
/linux-6.12.1/Documentation/translations/zh_CN/core-api/
Drefcount-vs-atomic.rst123 * atomic_dec_and_test() --> refcount_dec_and_test()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Dsrq.c60 if (refcount_dec_and_test(&srq->refcount)) in mlx4_srq_event()
235 if (refcount_dec_and_test(&srq->refcount)) in mlx4_srq_free()
/linux-6.12.1/crypto/
Dcryptd.c284 } else if (refcnt && refcount_dec_and_test(&ctx->refcnt)) in cryptd_skcipher_complete()
527 } else if (refcnt && refcount_dec_and_test(&ctx->refcnt)) in cryptd_hash_complete()
780 } else if (refcnt && refcount_dec_and_test(&ctx->refcnt)) in cryptd_aead_crypt()
996 if (refcount_dec_and_test(&ctx->refcnt)) in cryptd_free_skcipher()
1053 if (refcount_dec_and_test(&ctx->refcnt)) in cryptd_free_ahash()
1103 if (refcount_dec_and_test(&ctx->refcnt)) in cryptd_free_aead()

12345678910>>...18