Lines Matching defs:file
53 * userspace component has sent back corrupt data or because the file
199 /* The file offset from userspace is too large. */
255 /* This means the userspace file offset is invalid. */
282 static loff_t orangefs_dir_llseek(struct file *file, loff_t offset,
285 struct orangefs_dir *od = file->private_data;
301 return default_llseek(file, offset, whence);
304 static int orangefs_dir_iterate(struct file *file,
312 dentry = file->f_path.dentry;
314 od = file->private_data;
320 if (!dir_emit_dot(file, ctx))
325 if (!dir_emit_dotdot(file, ctx))
370 static int orangefs_dir_open(struct inode *inode, struct file *file)
373 file->private_data = kmalloc(sizeof(struct orangefs_dir),
375 if (!file->private_data)
377 od = file->private_data;
385 static int orangefs_dir_release(struct inode *inode, struct file *file)
387 struct orangefs_dir *od = file->private_data;