| Function report | 
| 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 activity | Download SCCT | Chinese | 
Name:find_quota_format
Proto:static struct quota_format_type *find_quota_format(int id)
Type:struct quota_format_type
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | id | 
| 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 | 
| Name | Describe | 
|---|---|
| dquot_load_quota_sb | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |