函数逻辑报告 |
Source Code:fs\quota\dquot.c |
Create Date:2022-07-29 11:08:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dquot_load_quota_sb
函数原型:int dquot_load_quota_sb(struct super_block *sb, int type, int format_id, unsigned int flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct super_block * | sb | |
int | type | |
int | format_id | |
unsigned int | flags |
2335 | fmt等于find_quota_format(format_id) |
2340 | BUG_ON(flags & DQUOT_SUSPENDED) |
2342 | 如果WARN_ON_ONCE(rylock for reading -- returns 1 if successful, 0 if contention)则lease a read lock |
2347 | 如果(!quota_write || !quota_read || (type == lement used for project quotas && get_projid == NULL))则 |
2358 | 如果非flags按位与DQUOT_USAGE_ENABLED的值则 |
2367 | 如果非 Flags for diskquotas on this device 按位与DQUOT_QUOTA_SYS_FILE的值则 |
2379 | 如果非check_quota_file(sb, type)则转到:out_fmt |
2383 | dqi_format等于fmt |
2385 | 初始化链表头 |
2386 | error等于read_file_info(sb, type) |
2394 | 加自旋锁 |
2396 | 自旋锁解锁 |
2402 | 返回:error |
2403 | out_fmt : |
2404 | put_quota_format(fmt) |
2406 | 返回:error |
名称 | 描述 |
---|---|
dquot_load_quota_inode | More powerful function for turning on quotas on given quota inode allowing* setting of individual quota flags |
dquot_resume | Reenable quotas on remount RW |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |