Home
last modified time | relevance | path

Searched refs:do_truncate (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/fs/
H A Dopen.c39 int do_truncate(struct dentry *dentry, loff_t length, unsigned int time_attrs, in do_truncate() function
111 error = do_truncate(path->dentry, length, 0, NULL); in vfs_truncate()
196 error = do_truncate(dentry, length, ATTR_MTIME|ATTR_CTIME, f.file); in do_sys_ftruncate()
H A Dcoredump.c791 if (do_truncate(cprm.file->f_path.dentry, 0, 0, cprm.file)) in do_coredump()
937 do_truncate(file->f_path.dentry, offset, 0, file); in dump_truncate()
H A Dnamei.c3003 error = do_truncate(path->dentry, 0, in handle_truncate()
3303 bool do_truncate; in do_open() local
3327 do_truncate = false; in do_open()
3337 do_truncate = true; in do_open()
3344 if (!error && do_truncate) in do_open()
3350 if (do_truncate) in do_open()
/OK3568_Linux_fs/kernel/Documentation/trace/
H A Dftrace.rst2928 bash-1994 [000] .... 4342.324899: do_truncate <-do_last
2929 bash-1994 [000] .... 4342.324899: should_remove_suid <-do_truncate
2930 bash-1994 [000] .... 4342.324899: notify_change <-do_truncate
/OK3568_Linux_fs/kernel/include/linux/
H A Dfs.h2601 extern int do_truncate(struct dentry *, loff_t start, unsigned int time_attrs,