Lines Matching defs:file
122 static int misc_open(struct inode *inode, struct file *file)
156 * Place the miscdevice in the file's
158 * file operations, including f_op->open below
160 file->private_data = c;
163 replace_fops(file, new_fops);
164 if (file->f_op->open)
165 err = file->f_op->open(inode, file);
204 * syscall to the device sets file->private_data to point to the