Lines Matching defs:file
186 static ssize_t fop_write(struct file *file, const char __user *buf,
215 static int fop_open(struct inode *inode, struct file *file)
223 return stream_open(inode, file);
226 static int fop_close(struct inode *inode, struct file *file)
232 pr_crit("device file closed unexpectedly. Will not stop the WDT!\n");
239 static long fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg)