Lines Matching defs:filep
455 static int uio_open(struct inode *inode, struct file *filep)
482 filep->private_data = listener;
501 static int uio_fasync(int fd, struct file *filep, int on)
503 struct uio_listener *listener = filep->private_data;
506 return fasync_helper(fd, filep, on, &idev->async_queue);
509 static int uio_release(struct inode *inode, struct file *filep)
512 struct uio_listener *listener = filep->private_data;
523 static unsigned int uio_poll(struct file *filep, poll_table *wait)
525 struct uio_listener *listener = filep->private_data;
531 poll_wait(filep, &idev->wait, wait);
537 static ssize_t uio_read(struct file *filep, char __user *buf,
540 struct uio_listener *listener = filep->private_data;
568 if (filep->f_flags & O_NONBLOCK) {
586 static ssize_t uio_write(struct file *filep, const char __user *buf,
589 struct uio_listener *listener = filep->private_data;
695 static int uio_mmap(struct file *filep, struct vm_area_struct *vma)
697 struct uio_listener *listener = filep->private_data;