Lines Matching defs:file
80 static int occ_open(struct inode *inode, struct file *file)
83 struct miscdevice *mdev = file->private_data;
97 file->private_data = client;
107 static ssize_t occ_read(struct file *file, char __user *buf, size_t len,
110 struct occ_client *client = file->private_data;
140 static ssize_t occ_write(struct file *file, const char __user *buf,
143 struct occ_client *client = file->private_data;
198 static int occ_release(struct inode *inode, struct file *file)
200 struct occ_client *client = file->private_data;