Home
last modified time | relevance | path

Searched refs:indexdir (Results 1 – 7 of 7) sorted by relevance

/fs/overlayfs/
Dsuper.c224 dput(ofs->indexdir); in ovl_free_fs()
1240 ofs->indexdir = ovl_workdir_create(ofs, OVL_INDEXDIR_NAME, true); in ovl_get_indexdir()
1241 if (ofs->indexdir) { in ovl_get_indexdir()
1242 err = ovl_setup_trap(sb, ofs->indexdir, &ofs->indexdir_trap, in ovl_get_indexdir()
1255 if (ovl_check_origin_xattr(ofs->indexdir)) { in ovl_get_indexdir()
1256 err = ovl_verify_set_fh(ofs->indexdir, OVL_XATTR_ORIGIN, in ovl_get_indexdir()
1261 err = ovl_verify_upper(ofs->indexdir, upperpath->dentry, true); in ovl_get_indexdir()
1269 if (err || !ofs->indexdir) in ovl_get_indexdir()
1670 if (!ofs->indexdir) { in ovl_fill_super()
1683 if (!ofs->indexdir) { in ovl_fill_super()
Dutil.c83 return ofs->indexdir; in ovl_indexdir()
696 struct dentry *indexdir = ovl_indexdir(dentry->d_sb); in ovl_cleanup_index() local
697 struct inode *dir = indexdir->d_inode; in ovl_cleanup_index()
728 index = lookup_one_len(name.name, indexdir, name.len); in ovl_cleanup_index()
734 err = ovl_cleanup_and_whiteout(indexdir, dir, index); in ovl_cleanup_index()
Dreaddir.c1081 struct dentry *indexdir = ofs->indexdir; in ovl_indexdir_cleanup() local
1083 struct inode *dir = indexdir->d_inode; in ovl_indexdir_cleanup()
1084 struct path path = { .mnt = ofs->upper_mnt, .dentry = indexdir }; in ovl_indexdir_cleanup()
1108 index = lookup_one_len(p->name, indexdir, p->len); in ovl_indexdir_cleanup()
1132 err = ovl_cleanup_and_whiteout(indexdir, dir, index); in ovl_indexdir_cleanup()
Dcopy_up.c334 struct dentry *indexdir = ovl_indexdir(dentry->d_sb); in ovl_create_index() local
335 struct inode *dir = d_inode(indexdir); in ovl_create_index()
360 temp = ovl_create_temp(indexdir, OVL_CATTR(S_IFDIR | 0)); in ovl_create_index()
369 index = lookup_one_len(name.name, indexdir, name.len); in ovl_create_index()
Dovl_entry.h59 struct dentry *indexdir; member
Dexport.c457 if (!this && layer->idx && ofs->indexdir && !WARN_ON(!d_is_dir(real))) { in ovl_lookup_real_inode()
731 if (ofs->indexdir) { in ovl_lower_fh_to_d()
Dnamei.c664 index = lookup_one_len_unlocked(name.name, ofs->indexdir, name.len); in ovl_get_index_fh()
698 index = lookup_one_len_unlocked(name.name, ofs->indexdir, name.len); in ovl_lookup_index()