Home
last modified time | relevance | path

Searched refs:new_file (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/fs/overlayfs/
Dcopy_up.c126 struct file *new_file; in ovl_copy_up_data() local
138 new_file = ovl_path_open(new, O_LARGEFILE | O_WRONLY); in ovl_copy_up_data()
139 if (IS_ERR(new_file)) { in ovl_copy_up_data()
140 error = PTR_ERR(new_file); in ovl_copy_up_data()
145 error = do_clone_file_range(old_file, 0, new_file, 0, len); in ovl_copy_up_data()
165 new_file, &new_pos, in ovl_copy_up_data()
177 error = vfs_fsync(new_file, 0); in ovl_copy_up_data()
178 fput(new_file); in ovl_copy_up_data()
/linux-4.19.296/fs/notify/fanotify/
Dfanotify_user.c80 struct file *new_file; in create_fd() local
95 new_file = dentry_open(&event->path, in create_fd()
99 new_file = ERR_PTR(-EOVERFLOW); in create_fd()
100 if (IS_ERR(new_file)) { in create_fd()
109 client_fd = PTR_ERR(new_file); in create_fd()
111 *file = new_file; in create_fd()