do_truncate 1830 fs/exec.c if (!ispipe && do_truncate(file->f_path.dentry, 0, 0, file) != 0) do_truncate 1591 fs/namei.c error = do_truncate(dentry, 0, do_truncate 277 fs/open.c error = do_truncate(path.dentry, length, 0, NULL); do_truncate 332 fs/open.c error = do_truncate(dentry, length, ATTR_MTIME|ATTR_CTIME, file); do_truncate 1687 include/linux/fs.h extern int do_truncate(struct dentry *, loff_t start, unsigned int time_attrs,