Function report |
Source Code:fs\open.c |
Create Date:2022-07-28 20:00:51 |
Last Modify:2020-03-18 10:16:03 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_truncate
Proto:int do_truncate(struct dentry *dentry, loff_t length, unsigned int time_attrs, struct file *filp)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct dentry * | dentry | |
loff_t | length | |
unsigned int | time_attrs | |
struct file * | filp |
49 | ia_valid = ATTR_SIZE | time_attrs |
50 | If filp Then |
59 | If ret Then ia_valid |= ret | Not a change, but a change it |
64 | ret = notify_change(dentry, & newattrs, NULL) |
66 | Return ret |
Name | Describe |
---|---|
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. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |