Lines Matching refs:file
5 #include <linux/file.h>
20 struct file *file;
29 struct file *file;
113 struct file *file;
135 file = do_filp_open(open->dfd, open->filename, &op);
136 if (IS_ERR(file)) {
145 ret = PTR_ERR(file);
154 file->f_flags &= ~O_NONBLOCK;
157 fd_install(ret, file);
159 ret = io_fixed_fd_install(req, issue_flags, file,
224 struct file *file;
238 file = rcu_dereference_protected(fdt->fd[close->fd],
240 if (!file || io_is_uring_fops(file)) {
245 /* if the file has a flush method, be safe and punt to async */
246 if (file->f_op->flush && (issue_flags & IO_URING_F_NONBLOCK)) {
251 file = __close_fd_get_file(close->fd);
253 if (!file)
257 ret = filp_close(file, current->files);