Lines Matching refs:filp
128 tapechar_read(struct file *filp, char __user *data, size_t count, loff_t *ppos) in tapechar_read() argument
136 device = (struct tape_device *) filp->private_data; in tapechar_read()
186 tapechar_write(struct file *filp, const char __user *data, size_t count, loff_t *ppos) in tapechar_write() argument
196 device = (struct tape_device *) filp->private_data; in tapechar_write()
270 tapechar_open (struct inode *inode, struct file *filp) in tapechar_open() argument
276 imajor(file_inode(filp)), in tapechar_open()
277 iminor(file_inode(filp))); in tapechar_open()
279 if (imajor(file_inode(filp)) != tapechar_major) in tapechar_open()
282 minor = iminor(file_inode(filp)); in tapechar_open()
291 filp->private_data = device; in tapechar_open()
292 nonseekable_open(inode, filp); in tapechar_open()
304 tapechar_release(struct inode *inode, struct file *filp) in tapechar_release() argument
309 device = (struct tape_device *) filp->private_data; in tapechar_release()
332 filp->private_data = NULL; in tapechar_release()
438 tapechar_ioctl(struct file *filp, unsigned int no, unsigned long data) in tapechar_ioctl() argument
445 device = (struct tape_device *) filp->private_data; in tapechar_ioctl()
454 tapechar_compat_ioctl(struct file *filp, unsigned int no, unsigned long data) in tapechar_compat_ioctl() argument
456 struct tape_device *device = filp->private_data; in tapechar_compat_ioctl()