Lines Matching defs:file
50 static int afu_open(struct inode *inode, struct file *file)
68 file->private_data = ctx;
201 static long afu_ioctl(struct file *file, unsigned int cmd,
204 struct ocxl_context *ctx = file->private_data;
289 static long afu_compat_ioctl(struct file *file, unsigned int cmd,
292 return afu_ioctl(file, cmd, args);
295 static int afu_mmap(struct file *file, struct vm_area_struct *vma)
297 struct ocxl_context *ctx = file->private_data;
326 static unsigned int afu_poll(struct file *file, struct poll_table_struct *wait)
328 struct ocxl_context *ctx = file->private_data;
334 poll_wait(file, &ctx->events_wq, wait);
397 static ssize_t afu_read(struct file *file, char __user *buf, size_t count,
400 struct ocxl_context *ctx = file->private_data;
426 if (file->f_flags & O_NONBLOCK) {
459 static int afu_release(struct inode *inode, struct file *file)
461 struct ocxl_context *ctx = file->private_data;