Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/Documentation/translations/zh_CN/core-api/
Drefcount-vs-atomic.rst137 * ``atomic_add_unless(&var, -1, 1)`` --> ``refcount_dec_not_one(&var)``
/Linux-v6.1/include/linux/
Drefcount.h363 extern __must_check bool refcount_dec_not_one(refcount_t *r);
/Linux-v6.1/kernel/cgroup/
Dcgroup-internal.h205 if (refcount_dec_not_one(&cset->refcount)) in put_css_set()
/Linux-v6.1/include/linux/sunrpc/
Dsvc.h136 return refcount_dec_not_one(&serv->sv_refcnt.refcount); in svc_put_not_last()
/Linux-v6.1/Documentation/core-api/
Drefcount-vs-atomic.rst148 * ``atomic_add_unless(&var, -1, 1)`` --> ``refcount_dec_not_one(&var)``
/Linux-v6.1/drivers/gpu/drm/vc4/
Dvc4_bo.c672 if (refcount_dec_not_one(&bo->usecnt)) in vc4_bo_dec_usecnt()
/Linux-v6.1/drivers/acpi/
Dthermal.c1008 if (!refcount_dec_not_one(&tz->thermal_check_count)) in acpi_thermal_check_fn()
/Linux-v6.1/drivers/base/power/
Druntime.c324 while (refcount_dec_not_one(&link->rpm_active) && in pm_runtime_release_supplier()
/Linux-v6.1/net/sunrpc/
Dclnt.c1017 if (refcount_dec_not_one(&clnt->cl_count)) in rpc_release_client()