Lines Matching full:file
5 #include <linux/file.h>
22 struct file *file;
31 struct file *file;
37 struct file *file;
120 struct file *file;
142 file = do_filp_open(open->dfd, open->filename, &op);
143 if (IS_ERR(file)) {
152 ret = PTR_ERR(file);
161 file->f_flags &= ~O_NONBLOCK;
164 fd_install(ret, file);
166 ret = io_fixed_fd_install(req, issue_flags, file,
230 struct file *file;
239 file = files_lookup_fd_locked(files, 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 = file_close_fd_locked(files, close->fd);
253 if (!file)
257 ret = filp_close(file, current->files);
274 /* must be a fixed file */
301 ret = receive_fd(req->file, NULL, ifi->o_flags);
309 struct file *file;
333 static int io_pipe_fixed(struct io_kiocb *req, struct file **files,
381 static int io_pipe_fd(struct io_kiocb *req, struct file **files)
413 struct file *files[2];