Lines Matching refs:path
47 /* Container for backing file with optional real path */
50 struct path real_path;
58 struct path *backing_file_real_path(struct file *f)
284 * @path: the (dentry, vfsmount) pair for the new file
288 static struct file *alloc_file(const struct path *path, int flags,
297 file->f_path = *path;
298 file->f_inode = path->dentry->d_inode;
299 file->f_mapping = path->dentry->d_inode->i_mapping;
314 i_readcount_inc(path->dentry->d_inode);
326 struct path path;
329 path.dentry = d_alloc_pseudo(mnt->mnt_sb, &this);
330 if (!path.dentry)
333 d_set_d_op(path.dentry, &anon_ops);
334 path.mnt = mntget(mnt);
335 d_instantiate(path.dentry, inode);
336 file = alloc_file(&path, flags, fops);
339 path_put(&path);