函数逻辑报告 |
Source Code:fs\quota\quota_tree.c |
Create Date:2022-07-29 11:09:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:We don't have to be afraid of deadlocks as we never have quotas on quota* files...
函数原型:int qtree_write_dquot(struct qtree_mem_dqinfo *info, struct dquot *dquot)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct qtree_mem_dqinfo * | info | |
struct dquot * | dquot |
376 | sb等于 superblock this applies to |
386 | 如果ret小于0则 |
393 | 加自旋锁 |
394 | mem2disk_dqblk(ddquot, dquot) |
395 | 自旋锁解锁 |
396 | ret等于quota_write(sb, type, ddquot, Size of quota entry in quota file , Offset of dquot on disk [dq_lock, stable once set] ) |
398 | 如果ret不等于Size of quota entry in quota file 则 |
399 | quota_error(sb, "dquota write failed") |
402 | 否则 |
403 | ret等于0 |
405 | dqstats_inc(DQST_WRITES) |
406 | 释放内存 |
408 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |