Searched refs:do_truncate (Results 1 – 3 of 3) sorted by relevance
/fs/ |
D | open.c | 39 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()
|
D | coredump.c | 791 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()
|
D | namei.c | 3054 error = do_truncate(path->dentry, 0, in handle_truncate() 3353 bool do_truncate; in do_open() local 3377 do_truncate = false; in do_open() 3387 do_truncate = true; in do_open() 3394 if (!error && do_truncate) in do_open() 3400 if (do_truncate) in do_open()
|