Lines Matching defs:file
100 static int misc_open(struct inode *inode, struct file *file)
132 * Place the miscdevice in the file's
134 * file operations, including f_op->open below
136 file->private_data = c;
139 replace_fops(file, new_fops);
140 if (file->f_op->open)
141 err = file->f_op->open(inode, file);
166 * syscall to the device sets file->private_data to point to the