Lines Matching defs:file
13 #include <linux/file.h>
219 static int timerfd_release(struct inode *inode, struct file *file)
221 struct timerfd_ctx *ctx = file->private_data;
233 static __poll_t timerfd_poll(struct file *file, poll_table *wait)
235 struct timerfd_ctx *ctx = file->private_data;
239 poll_wait(file, &ctx->wqh, wait);
249 static ssize_t timerfd_read(struct file *file, char __user *buf, size_t count,
252 struct timerfd_ctx *ctx = file->private_data;
259 if (file->f_flags & O_NONBLOCK)
305 static void timerfd_show(struct seq_file *m, struct file *file)
307 struct timerfd_ctx *ctx = file->private_data;
334 static long timerfd_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
336 struct timerfd_ctx *ctx = file->private_data;
380 if (!f.file)
382 if (f.file->f_op != &timerfd_fops) {
453 ctx = f.file->private_data;
517 ctx = f.file->private_data;