Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\quota\dquot.c Create Date:2022-07-28 20:32:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:find_quota_format

Proto:static struct quota_format_type *find_quota_format(int id)

Type:struct quota_format_type

Parameter:

TypeParameterName
intid
192  spin_lock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats)
193  When actqf && Quota format id != id cycle If Not actqf || Not try_module_get( Module implementing quota format ) Then
199  spin_unlock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats)
201  When qm_fmt_id && qm_fmt_id != id cycle If Not qm_fmt_id || try to load a kernel module(qm_mod_name) Then
206  Return NULL
208  spin_lock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats)
209  When actqf && Quota format id != id cycle If actqf && Not try_module_get( Module implementing quota format ) Then
213  actqf = NULL
215  spin_unlock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats)
216  Return actqf
Caller
NameDescribe
dquot_load_quota_sb