函数逻辑报告 |
Source Code:fs\quota\dquot.c |
Create Date:2022-07-29 11:09:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Generic routine for getting common part of quota file information
函数原型:int dquot_get_state(struct super_block *sb, struct qc_state *state)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct super_block * | sb | |
struct qc_state * | state |
2770 | 如果非sb_has_quota_active(sb, type)则继续下一循环 |
2772 | tstate等于 Per quota type information 加type |
2773 | mi等于 Information for each quota type 加type |
2775 | 加自旋锁 |
2776 | 如果 DFQ_ flags [dq_data_lock] 按位与Quota stored in a system file 则Flags QCI_* 或等于Quota file is hidden from userspace |
2778 | 如果 DFQ_ flags [dq_data_lock] 按位与Root squash enabled (for v1 quota format) 则Flags QCI_* 或等于Root squash turned on |
2784 | 如果 inodes of quotafiles [type]则 |
2788 | Number of extents in the file 等于1 |
2789 | 自旋锁解锁 |
2791 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |