函数逻辑报告 |
Source Code:fs\quota\dquot.c |
Create Date:2022-07-29 11:08:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Convert in-memory reserved quotas to real consumed quotas
函数原型:int dquot_claim_space_nodirty(struct inode *inode, qsize_t number)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode | |
qsize_t | number |
1769 | 如果非dquot_active(inode)则 |
1770 | 加自旋锁 |
1771 | de_reserved_space is managed internally by quota, and protected by* i_lock similar to i_blocks+i_bytes.减等于number |
1773 | 自旋锁解锁 |
1774 | 返回:0 |
1779 | 加自旋锁 |
1785 | 加自旋锁 |
1786 | 如果WARN_ON_ONCE(current reserved space for delalloc < number)则number等于current reserved space for delalloc |
1788 | current used space 加等于number |
1790 | 自旋锁解锁 |
1794 | de_reserved_space is managed internally by quota, and protected by* i_lock similar to i_blocks+i_bytes.减等于number |
1796 | 自旋锁解锁 |
1798 | 注销过期读锁 |
1799 | 返回:0 |
名称 | 描述 |
---|---|
dquot_claim_block |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |