Lines Matching refs:filp
25 static inline struct cec_devnode *cec_devnode_data(struct file *filp)
27 struct cec_fh *fh = filp->private_data;
34 static __poll_t cec_poll(struct file *filp,
37 struct cec_fh *fh = filp->private_data;
41 poll_wait(filp, &fh->wait, poll);
504 static long cec_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
506 struct cec_fh *fh = filp->private_data;
508 bool block = !(filp->f_flags & O_NONBLOCK);
553 static int cec_open(struct inode *inode, struct file *filp)
589 filp->private_data = fh;
628 static int cec_release(struct inode *inode, struct file *filp)
630 struct cec_devnode *devnode = cec_devnode_data(filp);
632 struct cec_fh *fh = filp->private_data;
690 filp->private_data = NULL;