Lines Matching defs:file
222 * @file: file structure
225 * @ppos: position in file
234 static ssize_t wdrtas_write(struct file *file, const char __user *buf,
263 * @file: file structure
272 static long wdrtas_ioctl(struct file *file, unsigned int cmd,
348 * @file: file structure
350 * returns 0 on success, -EBUSY if the file has been opened already, <0 on
355 static int wdrtas_open(struct inode *inode, struct file *file)
366 return stream_open(inode, file);
372 * @file: file structure
378 static int wdrtas_close(struct inode *inode, struct file *file)
395 * @file: file structure
398 * @ppos: position in file
406 static ssize_t wdrtas_temp_read(struct file *file, char __user *buf,
424 * @file: file structure
430 static int wdrtas_temp_open(struct inode *inode, struct file *file)
432 return stream_open(inode, file);
438 * @file: file structure
444 static int wdrtas_temp_close(struct inode *inode, struct file *file)
588 * registers the file handlers and the reboot notifier
615 * unregisters the file handlers and the reboot notifier