Searched refs:do_truncate (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/fs/ |
D | open.c | 38 int do_truncate(struct dentry *dentry, loff_t length, unsigned int time_attrs, in do_truncate() function 110 error = do_truncate(path->dentry, length, 0, NULL); in vfs_truncate() 195 error = do_truncate(dentry, length, ATTR_MTIME|ATTR_CTIME, f.file); in do_sys_ftruncate()
|
D | coredump.c | 790 if (do_truncate(cprm.file->f_path.dentry, 0, 0, cprm.file)) in do_coredump() 936 do_truncate(file->f_path.dentry, offset, 0, file); in dump_truncate()
|
D | namei.c | 2910 error = do_truncate(path->dentry, 0, in handle_truncate() 3214 bool do_truncate; in do_open() local 3238 do_truncate = false; in do_open() 3248 do_truncate = true; in do_open() 3255 if (!error && do_truncate) in do_open() 3261 if (do_truncate) in do_open()
|
/Linux-v5.10/include/linux/ |
D | fs.h | 2523 extern int do_truncate(struct dentry *, loff_t start, unsigned int time_attrs,
|
/Linux-v5.10/Documentation/trace/ |
D | ftrace.rst | 2925 bash-1994 [000] .... 4342.324899: do_truncate <-do_last 2926 bash-1994 [000] .... 4342.324899: should_remove_suid <-do_truncate 2927 bash-1994 [000] .... 4342.324899: notify_change <-do_truncate
|