Lines Matching refs:filep
424 static long linehandle_ioctl(struct file *filep, unsigned int cmd, in linehandle_ioctl() argument
427 struct linehandle_state *lh = filep->private_data; in linehandle_ioctl()
477 static long linehandle_ioctl_compat(struct file *filep, unsigned int cmd, in linehandle_ioctl_compat() argument
480 return linehandle_ioctl(filep, cmd, (unsigned long)compat_ptr(arg)); in linehandle_ioctl_compat()
484 static int linehandle_release(struct inode *inode, struct file *filep) in linehandle_release() argument
486 struct linehandle_state *lh = filep->private_data; in linehandle_release()
689 static __poll_t lineevent_poll(struct file *filep, in lineevent_poll() argument
692 struct lineevent_state *le = filep->private_data; in lineevent_poll()
695 poll_wait(filep, &le->wait, wait); in lineevent_poll()
704 static ssize_t lineevent_read(struct file *filep, in lineevent_read() argument
709 struct lineevent_state *le = filep->private_data; in lineevent_read()
718 if (filep->f_flags & O_NONBLOCK) in lineevent_read()
741 if (copied == 0 && (filep->f_flags & O_NONBLOCK)) in lineevent_read()
749 static int lineevent_release(struct inode *inode, struct file *filep) in lineevent_release() argument
751 struct lineevent_state *le = filep->private_data; in lineevent_release()
762 static long lineevent_ioctl(struct file *filep, unsigned int cmd, in lineevent_ioctl() argument
765 struct lineevent_state *le = filep->private_data; in lineevent_ioctl()
792 static long lineevent_ioctl_compat(struct file *filep, unsigned int cmd, in lineevent_ioctl_compat() argument
795 return lineevent_ioctl(filep, cmd, (unsigned long)compat_ptr(arg)); in lineevent_ioctl_compat()