Lines Matching refs:filp
31 static int qrtr_tun_open(struct inode *inode, struct file *filp) in qrtr_tun_open() argument
45 filp->private_data = tun; in qrtr_tun_open()
54 filp->private_data = NULL; in qrtr_tun_open()
61 struct file *filp = iocb->ki_filp; in qrtr_tun_read_iter() local
62 struct qrtr_tun *tun = filp->private_data; in qrtr_tun_read_iter()
67 if (filp->f_flags & O_NONBLOCK) in qrtr_tun_read_iter()
87 struct file *filp = iocb->ki_filp; in qrtr_tun_write_iter() local
88 struct qrtr_tun *tun = filp->private_data; in qrtr_tun_write_iter()
114 static __poll_t qrtr_tun_poll(struct file *filp, poll_table *wait) in qrtr_tun_poll() argument
116 struct qrtr_tun *tun = filp->private_data; in qrtr_tun_poll()
119 poll_wait(filp, &tun->readq, wait); in qrtr_tun_poll()
127 static int qrtr_tun_release(struct inode *inode, struct file *filp) in qrtr_tun_release() argument
129 struct qrtr_tun *tun = filp->private_data; in qrtr_tun_release()