Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\refcount.h Create Date:2022-07-28 05:38:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_dec - decrement a refcount*@r: the refcount* Similar to atomic_dec(), it will WARN on underflow and fail to decrement* when saturated at REFCOUNT_SATURATED.* Provides release memory ordering, such that prior loads and stores are done* before.

Proto:static inline void refcount_dec(refcount_t *r)

Type:void

Parameter:

TypeParameterName
refcount_t *r
296  If Value for the false possibility is greater at compile time(atomic_fetch_sub_release(1, & refs) <= 1) Then refcount_warn_saturate(r, REFCOUNT_DEC_LEAK)
Caller
NameDescribe
io_wq_managerManager thread. Tasked with creating new workers, if we need them.