Lines Matching defs:file
16 * of this source file (the "Software"), to deal in the Software without
200 static ssize_t evtchn_read(struct file *file, char __user *buf,
205 struct per_user_data *u = file->private_data;
230 if (file->f_flags & O_NONBLOCK)
272 static ssize_t evtchn_write(struct file *file, const char __user *buf,
277 struct per_user_data *u = file->private_data;
435 static long evtchn_ioctl(struct file *file,
439 struct per_user_data *u = file->private_data;
622 static __poll_t evtchn_poll(struct file *file, poll_table *wait)
625 struct per_user_data *u = file->private_data;
627 poll_wait(file, &u->evtchn_wait, wait);
635 static int evtchn_fasync(int fd, struct file *filp, int on)
641 static int evtchn_open(struct inode *inode, struct file *filp)
668 static int evtchn_release(struct inode *inode, struct file *filp)