Lines Matching defs:file
33 #include <linux/fs.h> /* For file operations */
651 * @file: file from VFS
654 * @ppos: pointer to the file offset
661 static ssize_t watchdog_write(struct file *file, const char __user *data,
664 struct watchdog_core_data *wd_data = file->private_data;
704 * @file: file handle to the device
712 static long watchdog_ioctl(struct file *file, unsigned int cmd,
715 struct watchdog_core_data *wd_data = file->private_data;
818 * @file: file handle to device
825 static int watchdog_open(struct inode *inode, struct file *file)
859 file->private_data = wd_data;
874 return stream_open(inode, file);
895 * @file: file handle to device
902 static int watchdog_release(struct inode *inode, struct file *file)
904 struct watchdog_core_data *wd_data = file->private_data;