Lines Matching refs:file
34 #include <linux/fs.h> /* For file operations */
686 * @file: File from VFS
689 * @ppos: Pointer to the file offset
697 static ssize_t watchdog_write(struct file *file, const char __user *data,
700 struct watchdog_core_data *wd_data = file->private_data;
740 * @file: File handle to the device
750 static long watchdog_ioctl(struct file *file, unsigned int cmd,
753 struct watchdog_core_data *wd_data = file->private_data;
856 * @file: File handle to device
864 static int watchdog_open(struct inode *inode, struct file *file)
898 file->private_data = wd_data;
913 return stream_open(inode, file);
934 * @file: File handle to device
942 static int watchdog_release(struct inode *inode, struct file *file)
944 struct watchdog_core_data *wd_data = file->private_data;