Searched refs:indexdir (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/fs/overlayfs/ |
D | super.c | 219 dput(ofs->indexdir); in ovl_free_fs() 1217 ofs->indexdir = ovl_workdir_create(ofs, OVL_INDEXDIR_NAME, true); in ovl_get_indexdir() 1218 if (ofs->indexdir) { in ovl_get_indexdir() 1219 err = ovl_setup_trap(sb, ofs->indexdir, &ofs->indexdir_trap, in ovl_get_indexdir() 1232 if (ovl_check_origin_xattr(ofs->indexdir)) { in ovl_get_indexdir() 1233 err = ovl_verify_set_fh(ofs->indexdir, OVL_XATTR_ORIGIN, in ovl_get_indexdir() 1238 err = ovl_verify_upper(ofs->indexdir, upperpath->dentry, true); in ovl_get_indexdir() 1246 if (err || !ofs->indexdir) in ovl_get_indexdir() 1637 if (!ofs->indexdir) { in ovl_fill_super() 1650 if (!ofs->indexdir) { in ovl_fill_super()
|
D | util.c | 75 return ofs->indexdir; in ovl_indexdir() 688 struct dentry *indexdir = ovl_indexdir(dentry->d_sb); in ovl_cleanup_index() local 689 struct inode *dir = indexdir->d_inode; in ovl_cleanup_index() 720 index = lookup_one_len(name.name, indexdir, name.len); in ovl_cleanup_index() 726 err = ovl_cleanup_and_whiteout(indexdir, dir, index); in ovl_cleanup_index()
|
D | ovl_entry.h | 56 struct dentry *indexdir; member
|
D | readdir.c | 1081 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()
|
D | copy_up.c | 334 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()
|
D | export.c | 457 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()
|
D | namei.c | 654 index = lookup_one_len_unlocked(name.name, ofs->indexdir, name.len); in ovl_get_index_fh() 688 index = lookup_one_len_unlocked(name.name, ofs->indexdir, name.len); in ovl_lookup_index()
|