Home
last modified time | relevance | path

Searched refs:refcount_dec_not_one (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/lib/
Drefcount.c74 bool refcount_dec_not_one(refcount_t *r) in refcount_dec_not_one() function
95 EXPORT_SYMBOL(refcount_dec_not_one);
115 if (refcount_dec_not_one(r)) in refcount_dec_and_mutex_lock()
146 if (refcount_dec_not_one(r)) in refcount_dec_and_lock()
175 if (refcount_dec_not_one(r)) in refcount_dec_and_lock_irqsave()
/linux-5.19.10/Documentation/translations/zh_CN/core-api/
Drefcount-vs-atomic.rst137 * ``atomic_add_unless(&var, -1, 1)`` --> ``refcount_dec_not_one(&var)``
/linux-5.19.10/include/linux/
Drefcount.h363 extern __must_check bool refcount_dec_not_one(refcount_t *r);
/linux-5.19.10/kernel/cgroup/
Dcgroup-internal.h207 if (refcount_dec_not_one(&cset->refcount)) in put_css_set()
/linux-5.19.10/include/linux/sunrpc/
Dsvc.h136 return refcount_dec_not_one(&serv->sv_refcnt.refcount); in svc_put_not_last()
/linux-5.19.10/Documentation/core-api/
Drefcount-vs-atomic.rst148 * ``atomic_add_unless(&var, -1, 1)`` --> ``refcount_dec_not_one(&var)``
/linux-5.19.10/drivers/net/ipa/
Dgsi_trans.c386 if (refcount_dec_not_one(refcount)) in gsi_trans_free()
/linux-5.19.10/fs/nfsd/
Dfilecache.c279 if (refcount_dec_not_one(&nf->nf_ref)) in nfsd_file_unhash_and_release_locked()
/linux-5.19.10/drivers/gpu/drm/vc4/
Dvc4_bo.c665 if (refcount_dec_not_one(&bo->usecnt)) in vc4_bo_dec_usecnt()
/linux-5.19.10/drivers/acpi/
Dthermal.c1009 if (!refcount_dec_not_one(&tz->thermal_check_count)) in acpi_thermal_check_fn()
/linux-5.19.10/drivers/base/power/
Druntime.c324 while (refcount_dec_not_one(&link->rpm_active) && in pm_runtime_release_supplier()
/linux-5.19.10/net/sunrpc/
Dclnt.c952 if (refcount_dec_not_one(&clnt->cl_count)) in rpc_release_client()