| Function report | 
| Source Code: fs\quota\dquot.c | Create Date:2022-07-28 20:32:54 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Convert allocated space back to in-memory reserved quotas
Proto:void dquot_reclaim_space_nodirty(struct inode *inode, qsize_t number)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct inode * | inode | |
| qsize_t | number | 
| 1811 | If Not dquot_active(inode) Then | 
| 1812 | spin_lock( & _blocks, i_bytes, maybe i_size ) | 
| 1813 | de_reserved_space is managed internally by quota, and protected by* i_lock similar to i_blocks+i_bytes. += number | 
| 1814 | __inode_sub_bytes(inode, number) | 
| 1815 | spin_unlock( & _blocks, i_bytes, maybe i_size ) | 
| 1816 | Return | 
| 1821 | spin_lock( & _blocks, i_bytes, maybe i_size ) | 
| 1827 | spin_lock( & Lock protecting dq_dqb changes ) | 
| 1828 | If WARN_ON_ONCE(current used space < number) Then number = current used space | 
| 1831 | current used space -= number | 
| 1832 | spin_unlock( & Lock protecting dq_dqb changes ) | 
| 1836 | de_reserved_space is managed internally by quota, and protected by* i_lock similar to i_blocks+i_bytes. += number | 
| 1837 | __inode_sub_bytes(inode, number) | 
| 1838 | spin_unlock( & _blocks, i_bytes, maybe i_size ) | 
| 1841 | Return | 
| Name | Describe | 
|---|---|
| dquot_reclaim_block | 
| 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 |