Lines Matching refs:filp
809 * @filp: the file
813 static int relay_file_open(struct inode *inode, struct file *filp)
817 filp->private_data = buf;
819 return nonseekable_open(inode, filp);
824 * @filp: the file
829 static int relay_file_mmap(struct file *filp, struct vm_area_struct *vma)
831 struct rchan_buf *buf = filp->private_data;
837 * @filp: the file
842 static __poll_t relay_file_poll(struct file *filp, poll_table *wait)
845 struct rchan_buf *buf = filp->private_data;
850 if (filp->f_mode & FMODE_READ) {
851 poll_wait(filp, &buf->read_wait, wait);
862 * @filp: the file
867 static int relay_file_release(struct inode *inode, struct file *filp)
869 struct rchan_buf *buf = filp->private_data;
1033 static ssize_t relay_file_read(struct file *filp,
1038 struct rchan_buf *buf = filp->private_data;
1046 inode_lock(file_inode(filp));
1071 inode_unlock(file_inode(filp));