Lines Matching refs:filp
129 tapechar_read(struct file *filp, char __user *data, size_t count, loff_t *ppos) in tapechar_read() argument
137 device = (struct tape_device *) filp->private_data; in tapechar_read()
187 tapechar_write(struct file *filp, const char __user *data, size_t count, loff_t *ppos) in tapechar_write() argument
197 device = (struct tape_device *) filp->private_data; in tapechar_write()
271 tapechar_open (struct inode *inode, struct file *filp) in tapechar_open() argument
277 imajor(file_inode(filp)), in tapechar_open()
278 iminor(file_inode(filp))); in tapechar_open()
280 if (imajor(file_inode(filp)) != tapechar_major) in tapechar_open()
283 minor = iminor(file_inode(filp)); in tapechar_open()
292 filp->private_data = device; in tapechar_open()
293 stream_open(inode, filp); in tapechar_open()
305 tapechar_release(struct inode *inode, struct file *filp) in tapechar_release() argument
310 device = (struct tape_device *) filp->private_data; in tapechar_release()
333 filp->private_data = NULL; in tapechar_release()
434 tapechar_ioctl(struct file *filp, unsigned int no, unsigned long data) in tapechar_ioctl() argument
441 device = (struct tape_device *) filp->private_data; in tapechar_ioctl()
450 tapechar_compat_ioctl(struct file *filp, unsigned int no, unsigned long data) in tapechar_compat_ioctl() argument
452 struct tape_device *device = filp->private_data; in tapechar_compat_ioctl()