函数逻辑报告 |
Source Code:fs\open.c |
Create Date:2022-07-29 10:30:54 |
Last Modify:2020-03-18 10:16:03 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_truncate
函数原型:int do_truncate(struct dentry *dentry, loff_t length, unsigned int time_attrs, struct file *filp)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct dentry * | dentry | |
loff_t | length | |
unsigned int | time_attrs | |
struct file * | filp |
49 | ia_valid等于ATTR_SIZE按位或time_attrs |
50 | 如果filp则 |
59 | 如果ret则ia_valid或等于ret按位或Not a change, but a change it |
64 | ret等于notify_change(dentry, & newattrs, NULL) |
66 | 返回:ret |
名称 | 描述 |
---|---|
vfs_truncate | |
do_sys_ftruncate | |
handle_truncate | |
do_coredump | |
dump_truncate | Ensures that file size is big enough to contain the current file* postion. This prevents gdb from complaining about a truncated file* if the last "write" to the file was dump_skip. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |