| /linux-6.15/lib/ |
| H A D | refcount.c | 119 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.15/drivers/misc/lkdtm/ |
| H A D | refcount.c | 164 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.15/rust/helpers/ |
| H A D | refcount.c | 17 return refcount_dec_and_test(r); in rust_helper_refcount_dec_and_test()
|
| /linux-6.15/include/linux/netfilter/ |
| H A D | nf_conntrack_common.h | 36 if (nfct && refcount_dec_and_test(&nfct->use)) in nf_conntrack_put()
|
| /linux-6.15/include/net/ |
| H A D | netrom.h | 129 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 D | ax25.h | 178 if (refcount_dec_and_test(&assoc->refcount)) { in ax25_uid_put() 281 if (refcount_dec_and_test(&ax25->refcount)) { in ax25_cb_put() 294 if (refcount_dec_and_test(&ax25_dev->refcount)) in ax25_dev_put()
|
| H A D | x25.h | 250 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.15/net/ceph/ |
| H A D | snapshot.c | 58 if (refcount_dec_and_test(&sc->nref)) { in ceph_put_snap_context()
|
| /linux-6.15/drivers/md/ |
| H A D | dm-ps-io-affinity.c | 34 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.15/tools/perf/util/ |
| H A D | mem-info.c | 17 if (mi && refcount_dec_and_test(mem_info__refcnt(mi))) { in mem_info__put()
|
| /linux-6.15/include/linux/ |
| H A D | kref.h | 64 if (refcount_dec_and_test(&kref->refcount)) { in kref_put()
|
| H A D | utsname.h | 44 if (refcount_dec_and_test(&ns->ns.count)) in put_uts_ns()
|
| H A D | shrinker.h | 146 if (refcount_dec_and_test(&shrinker->refcount)) in shrinker_put()
|
| H A D | nsproxy.h | 117 if (refcount_dec_and_test(&ns->count)) in put_nsproxy()
|
| /linux-6.15/security/landlock/ |
| H A D | domain.h | 164 while (hierarchy && refcount_dec_and_test(&hierarchy->usage)) { in landlock_put_hierarchy()
|
| /linux-6.15/io_uring/ |
| H A D | io-wq.h | 35 if (refcount_dec_and_test(&hash->refs)) in io_wq_put_hash()
|
| /linux-6.15/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
| H A D | cgrp.c | 39 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.15/tools/include/linux/ |
| H A D | refcount.h | 151 bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test() function
|
| /linux-6.15/fs/erofs/ |
| H A D | fscache.c | 47 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.15/Documentation/translations/zh_CN/core-api/ |
| H A D | refcount-vs-atomic.rst | 123 * atomic_dec_and_test() --> refcount_dec_and_test()
|
| /linux-6.15/drivers/net/ethernet/intel/ice/ |
| H A D | ice_adapter.c | 111 if (!refcount_dec_and_test(&adapter->refcount)) in ice_adapter_put()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | srq.c | 60 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.15/net/core/ |
| H A D | devmem.h | 110 if (!refcount_dec_and_test(&binding->ref)) in net_devmem_dmabuf_binding_put()
|
| /linux-6.15/fs/notify/ |
| H A D | group.c | 109 if (refcount_dec_and_test(&group->refcnt)) in fsnotify_put_group()
|
| /linux-6.15/tools/lib/perf/ |
| H A D | threadmap.c | 89 if (map && refcount_dec_and_test(&map->refcnt)) in perf_thread_map__put()
|