Lines Matching refs:file
4 #include <linux/file.h>
22 struct file *file;
23 struct file *src_file;
78 struct io_ring_ctx *ctx = req->file->private_data;
96 struct io_ring_ctx *target_ctx = req->file->private_data;
128 struct io_ring_ctx *target_ctx = req->file->private_data;
158 static struct file *io_msg_grab_file(struct io_kiocb *req, unsigned int issue_flags)
162 struct file *file = NULL;
168 file = io_file_from_index(&ctx->file_table, idx);
169 if (file)
170 get_file(file);
173 return file;
178 struct io_ring_ctx *target_ctx = req->file->private_data;
180 struct file *src_file = msg->src_file;
196 * If this fails, the target still received the file descriptor but
223 struct io_ring_ctx *target_ctx = req->file->private_data;
226 struct file *src_file = msg->src_file;
273 if (!io_is_uring_fops(req->file))