Lines Matching refs:path
33 static int ovl_check_redirect(const struct path *path, struct ovl_lookup_data *d,
41 buf = ovl_get_redirect_xattr(ofs, path, prelen + strlen(post));
48 * One of the ancestor path elements in an absolute path
51 * But we have found an absolute redirect in descendant path
204 static bool ovl_is_opaquedir(struct ovl_fs *ofs, const struct path *path)
206 return ovl_path_check_dir_xattr(ofs, path, OVL_XATTR_OPAQUE);
236 struct path path;
267 path.dentry = this;
268 path.mnt = d->mnt;
274 err = ovl_check_metacopy_xattr(OVL_FS(d->sb), &path, NULL);
294 if (ovl_is_opaquedir(OVL_FS(d->sb), &path)) {
301 err = ovl_check_redirect(&path, d, prelen, post);
361 struct path *datapath)
397 struct path datapath;
583 * OVL_XATTR_ORIGIN and that origin file handle can be decoded to lower path.
853 int ovl_path_next(int idx, struct dentry *dentry, struct path *path)
860 ovl_path_upper(dentry, path);
861 if (path->dentry)
866 path->dentry = lowerstack[idx - 1].dentry;
867 path->mnt = lowerstack[idx - 1].layer->mnt;
897 struct path datapath, metapath;
1127 * matches the dentry found using path based lookup,
1196 * path based lookup, hence ctr will be zero. If a dentry is found
1199 * For metacopy dentry, path based lookup will find lower dentries.
1230 * xattr. There is no verification though as there is no path
1265 struct path upperpath = {