函数逻辑报告 |
Source Code:fs\quota\quota_v2.c |
Create Date:2022-07-29 11:09:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Read information header from quota file
函数原型:static int v2_read_file_info(struct super_block *sb, int type)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct super_block * | sb | |
int | type |
103 | lock for reading |
104 | ret等于v2_read_header(sb, type, & dqhead) |
107 | version等于le32_to_cpu(File version ) |
114 | size等于quota_read(sb, type, (char * ) & dinfo, sizeof(structv2_disk_dqinfo), Offset of info header in file ) |
116 | 如果size不等于sizeof(structv2_disk_dqinfo)则 |
125 | 如果非dqi_priv则 |
130 | 如果version恒等于0则 |
132 | Maximum space limit [static] 等于0xffffffffLL左移QUOTABLOCK_BITS位 |
133 | Maximum inode limit [static] 等于0xffffffff |
134 | 否则 |
140 | Maximum space limit [static] 等于0x7fffffffffffffffLL |
141 | Maximum inode limit [static] 等于0x7fffffffffffffffLL |
146 | DFQ_ flags [dq_data_lock] 等于0 |
147 | Sb quota is on 等于sb |
148 | Quota type 等于type |
155 | 如果version恒等于0则 |
156 | Size of quota entry in quota file 等于sizeof(structv2r0_disk_dqblk) |
158 | 否则 |
159 | Size of quota entry in quota file 等于sizeof(structv2r1_disk_dqblk) |
162 | ret等于0 |
163 | out : |
165 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |