Lines Matching defs:file
13 #include <linux/file.h>
235 static int timerfd_release(struct inode *inode, struct file *file)
237 struct timerfd_ctx *ctx = file->private_data;
249 static __poll_t timerfd_poll(struct file *file, poll_table *wait)
251 struct timerfd_ctx *ctx = file->private_data;
255 poll_wait(file, &ctx->wqh, wait);
265 static ssize_t timerfd_read(struct file *file, char __user *buf, size_t count,
268 struct timerfd_ctx *ctx = file->private_data;
275 if (file->f_flags & O_NONBLOCK)
321 static void timerfd_show(struct seq_file *m, struct file *file)
323 struct timerfd_ctx *ctx = file->private_data;
350 static long timerfd_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
352 struct timerfd_ctx *ctx = file->private_data;
396 if (!f.file)
398 if (f.file->f_op != &timerfd_fops) {
469 ctx = f.file->private_data;
533 ctx = f.file->private_data;