函数逻辑报告 |
Source Code:fs\quota\dquot.c |
Create Date:2022-07-29 11:09:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Generic routine for setting common part of quota file information
函数原型:int dquot_set_dqinfo(struct super_block *sb, int type, struct qc_info *ii)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct super_block * | sb | |
int | type | |
struct qc_info * | ii |
2799 | err等于0 |
2801 | 如果mask of fields to change in ->set_info() 按位与QC_WARNS_MASK或mask of fields to change in ->set_info() 按位与QC_RT_SPC_TIMER则返回:负EINVAL |
2804 | 如果非sb_has_quota_active(sb, type)则返回:负ESRCH |
2806 | mi等于 Information for each quota type 加type |
2807 | 如果mask of fields to change in ->set_info() 按位与QC_FLAGS则 |
2808 | 如果Flags QCI_* 按位与Root squash turned on 且 Quota format id 不等于Quota format type IDs 则返回:负EINVAL |
2812 | 加自旋锁 |
2813 | 如果mask of fields to change in ->set_info() 按位与QC_SPC_TIMER则 Space grace time [dq_data_lock] 等于Time after which space softlimit is* enforced |
2815 | 如果mask of fields to change in ->set_info() 按位与QC_INO_TIMER则 Inode grace time [dq_data_lock] 等于Ditto for inode softlimit |
2817 | 如果mask of fields to change in ->set_info() 按位与QC_FLAGS则 |
2823 | 自旋锁解锁 |
2824 | mark_info_dirty(sb, type) |
2826 | write_info(sb, type) |
2827 | 返回:err |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |