Lines Matching refs:filep
462 static int uio_open(struct inode *inode, struct file *filep)
491 filep->private_data = listener;
521 static int uio_fasync(int fd, struct file *filep, int on)
523 struct uio_listener *listener = filep->private_data;
526 return fasync_helper(fd, filep, on, &idev->async_queue);
529 static int uio_release(struct inode *inode, struct file *filep)
532 struct uio_listener *listener = filep->private_data;
546 static __poll_t uio_poll(struct file *filep, poll_table *wait)
548 struct uio_listener *listener = filep->private_data;
560 poll_wait(filep, &idev->wait, wait);
566 static ssize_t uio_read(struct file *filep, char __user *buf,
569 struct uio_listener *listener = filep->private_data;
603 if (filep->f_flags & O_NONBLOCK) {
621 static ssize_t uio_write(struct file *filep, const char __user *buf,
624 struct uio_listener *listener = filep->private_data;
806 static int uio_mmap(struct file *filep, struct vm_area_struct *vma)
808 struct uio_listener *listener = filep->private_data;