函数逻辑报告 |
Source Code:fs\quota\quota_v2.c |
Create Date:2022-07-29 11:09:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Write information header to quota file
函数原型:static int v2_write_file_info(struct super_block *sb, int type)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct super_block * | sb | |
int | type |
173 | info等于 Information for each quota type [type] |
177 | lock for writing |
178 | 加自旋锁 |
179 | DFQ_ flags [dq_data_lock] 与等于Is info dirty? 的反 |
180 | Time before block soft limit becomes hard limit 等于cpu_to_le32( Space grace time [dq_data_lock] ) |
181 | Time before inode soft limit becomes hard limit 等于cpu_to_le32( Inode grace time [dq_data_lock] ) |
183 | Flags for quotafile (DQF_*) 等于cpu_to_le32(0) |
184 | 自旋锁解锁 |
188 | size等于quota_write(sb, type, (char * ) & dinfo, sizeof(structv2_disk_dqinfo), Offset of info header in file ) |
191 | 如果size不等于sizeof(structv2_disk_dqinfo)则 |
192 | quota_error(sb, "Can't write info structure") |
193 | 返回:负1 |
195 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |