Home
last modified time | relevance | path

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

12345678910>>...15

/linux/lib/
H A 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/drivers/misc/lkdtm/
H A 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/rust/helpers/
H A Drefcount.c17 return refcount_dec_and_test(r); in rust_helper_refcount_dec_and_test()
/linux/include/linux/netfilter/
H A Dnf_conntrack_common.h36 if (nfct && refcount_dec_and_test(&nfct->use)) in nf_conntrack_put()
/linux/include/net/
H A 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()
H A Dx25.h249 if (refcount_dec_and_test(&nb->refcnt)) in x25_neigh_put()
272 if (refcount_dec_and_test(&rt->refcnt)) in x25_route_put()
/linux/net/ceph/
H A Dsnapshot.c58 if (refcount_dec_and_test(&sc->nref)) { in ceph_put_snap_context()
/linux/drivers/md/
H A 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/include/linux/
H A Dkref.h64 if (refcount_dec_and_test(&kref->refcount)) { in kref_put()
H A Dutsname.h44 if (refcount_dec_and_test(&ns->ns.count)) in put_uts_ns()
H A Dshrinker.h146 if (refcount_dec_and_test(&shrinker->refcount)) in shrinker_put()
H A Dnsproxy.h117 if (refcount_dec_and_test(&ns->count)) in put_nsproxy()
/linux/tools/perf/util/
H A Dmem-info.c17 if (mi && refcount_dec_and_test(mem_info__refcnt(mi))) { in mem_info__put()
/linux/security/landlock/
H A Ddomain.h164 while (hierarchy && refcount_dec_and_test(&hierarchy->usage)) { in landlock_put_hierarchy()
/linux/io_uring/
H A Dio-wq.h32 if (refcount_dec_and_test(&hash->refs)) in io_wq_put_hash()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A 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/tools/include/linux/
H A Drefcount.h151 bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test() function
/linux/fs/erofs/
H A 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()
387 if (refcount_dec_and_test(&domain->ref)) { in erofs_fscache_domain_put()
619 if (refcount_dec_and_test(&ctx->ref)) { in erofs_fscache_unregister_cookie()
/linux/Documentation/translations/zh_CN/core-api/
H A Drefcount-vs-atomic.rst123 * atomic_dec_and_test() --> refcount_dec_and_test()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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/drivers/net/ethernet/intel/ice/
H A Dice_adapter.c112 if (!refcount_dec_and_test(&adapter->refcount)) in ice_adapter_put()
/linux/fs/notify/
H A Dgroup.c109 if (refcount_dec_and_test(&group->refcnt)) in fsnotify_put_group()
/linux/drivers/dpll/
H A Ddpll_core.c142 if (refcount_dec_and_test(&ref->refcount)) { in dpll_xa_ref_pin_del()
223 if (refcount_dec_and_test(&ref->refcount)) { in dpll_xa_ref_dpll_del()
316 if (refcount_dec_and_test(&dpll->refcount)) { in dpll_device_put()
596 if (refcount_dec_and_test(&pin->refcount)) { in dpll_pin_put()
/linux/crypto/
H A Dcryptd.c290 } else if (refcnt && refcount_dec_and_test(&ctx->refcnt)) in cryptd_skcipher_complete()
533 } else if (refcnt && refcount_dec_and_test(&ctx->refcnt)) in cryptd_hash_complete()
786 } else if (refcnt && refcount_dec_and_test(&ctx->refcnt)) in cryptd_aead_crypt()
1002 if (refcount_dec_and_test(&ctx->refcnt)) in cryptd_free_skcipher()
1059 if (refcount_dec_and_test(&ctx->refcnt)) in cryptd_free_ahash()
1109 if (refcount_dec_and_test(&ctx->refcnt)) in cryptd_free_aead()
/linux/net/sunrpc/xprtrdma/
H A Dib_client.c150 if (!refcount_dec_and_test(&rd->rd_kref.refcount)) { in rpcrdma_remove_one()

12345678910>>...15