Function report |
Source Code:fs\quota\dquot.c |
Create Date:2022-07-28 20:32:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This routine is guarded by s_umount semaphore
Proto:static int add_dquot_ref(struct super_block *sb, int type)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct super_block * | sb | |
| int | type |
| 952 | err = 0 |
| 954 | spin_lock( & s_inode_list_lock) |
| 956 | spin_lock( & _blocks, i_bytes, maybe i_size ) |
| 961 | Continue |
| 965 | spin_unlock( & s_inode_list_lock) |
| 971 | put an inode |
| 972 | err = __dquot_initialize(inode, type) |
| 973 | If err Then |
| 974 | put an inode |
| 975 | Go to out |
| 987 | cond_resched() |
| 988 | spin_lock( & s_inode_list_lock) |
| 990 | spin_unlock( & s_inode_list_lock) |
| 991 | put an inode |
| 992 | out : |
| 1000 | Return err |
| 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 |