fs/coredump.c
965
if (do_truncate(idmap, file->f_path.dentry, 0, 0, file))
fs/namei.c
4285
error = do_truncate(idmap, path->dentry, 0,
fs/namei.c
4638
bool do_truncate;
fs/namei.c
4663
do_truncate = false;
fs/namei.c
4673
do_truncate = true;
fs/namei.c
4680
if (!error && do_truncate)
fs/namei.c
4686
if (do_truncate)
fs/open.c
118
error = do_truncate(idmap, path->dentry, length, 0, NULL);
fs/open.c
196
return do_truncate(file_mnt_idmap(file), dentry, length,
include/linux/fs.h
2454
int do_truncate(struct mnt_idmap *, struct dentry *, loff_t start,