Lines Matching defs:file
184 static ssize_t fop_write(struct file *file, const char __user *buf,
211 static int fop_open(struct inode *inode, struct file *file)
218 return stream_open(inode, file);
221 static int fop_close(struct inode *inode, struct file *file)
227 pr_crit("device file closed unexpectedly. Will not stop the WDT!\n");
234 static long fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg)