Lines Matching defs:filep
461 static int uio_open(struct inode *inode, struct file *filep)
490 filep->private_data = listener;
520 static int uio_fasync(int fd, struct file *filep, int on)
522 struct uio_listener *listener = filep->private_data;
525 return fasync_helper(fd, filep, on, &idev->async_queue);
528 static int uio_release(struct inode *inode, struct file *filep)
531 struct uio_listener *listener = filep->private_data;
545 static __poll_t uio_poll(struct file *filep, poll_table *wait)
547 struct uio_listener *listener = filep->private_data;
559 poll_wait(filep, &idev->wait, wait);
565 static ssize_t uio_read(struct file *filep, char __user *buf,
568 struct uio_listener *listener = filep->private_data;
602 if (filep->f_flags & O_NONBLOCK) {
620 static ssize_t uio_write(struct file *filep, const char __user *buf,
623 struct uio_listener *listener = filep->private_data;
762 static int uio_mmap(struct file *filep, struct vm_area_struct *vma)
764 struct uio_listener *listener = filep->private_data;