函数逻辑报告 |
Source Code:fs\quota\dquot.c |
Create Date:2022-07-29 11:08:38 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Write all dquot structures to quota files
函数原型:int dquot_writeback_dquots(struct super_block *sb, int type)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct super_block * | sb | |
| int | type |
| 629 | ret等于0 |
| 636 | 如果非sb_has_quota_active(sb, cnt)则继续下一循环 |
| 638 | 加自旋锁 |
| 645 | WARN_ON(!st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from) |
| 651 | 自旋锁解锁 |
| 652 | err等于write_dquot(dquot) |
| 653 | 如果err则 |
| 658 | clear_dquot_dirty(dquot) |
| 663 | 加自旋锁 |
| 665 | 自旋锁解锁 |
| 668 | 以cnt小于MAXQUOTAS循环如果cnt恒等于type或type恒等于负1的值且sb_has_quota_active(sb, cnt)且info_dirty( & Information for each quota type [cnt])则 |
| 671 | write_info(sb, cnt) |
| 672 | dqstats_inc(DQST_SYNCS) |
| 674 | 返回:ret |
| 名称 | 描述 |
|---|---|
| dquot_quota_sync | Write all dquot structures to disk and make them visible from userspace |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |