Home
last modified time | relevance | path

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

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