Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/overlayfs/
Dsuper.c229 dput(ofs->indexdir); in ovl_free_fs()
1446 struct dentry *indexdir; in ovl_get_indexdir() local
1466 indexdir = ovl_workdir_create(ofs, OVL_INDEXDIR_NAME, true); in ovl_get_indexdir()
1467 if (IS_ERR(indexdir)) { in ovl_get_indexdir()
1468 err = PTR_ERR(indexdir); in ovl_get_indexdir()
1469 } else if (indexdir) { in ovl_get_indexdir()
1470 ofs->indexdir = indexdir; in ovl_get_indexdir()
1471 ofs->workdir = dget(indexdir); in ovl_get_indexdir()
1473 err = ovl_setup_trap(sb, ofs->indexdir, &ofs->indexdir_trap, in ovl_get_indexdir()
1486 if (ovl_check_origin_xattr(ofs, ofs->indexdir)) { in ovl_get_indexdir()
[all …]
Dutil.c63 return ofs->indexdir; in ovl_indexdir()
706 struct dentry *indexdir = ovl_indexdir(dentry->d_sb); in ovl_cleanup_index() local
707 struct inode *dir = indexdir->d_inode; in ovl_cleanup_index()
738 index = lookup_one_len(name.name, indexdir, name.len); in ovl_cleanup_index()
Dovl_entry.h60 struct dentry *indexdir; member
Dcopy_up.c384 struct dentry *indexdir = ovl_indexdir(dentry->d_sb); in ovl_create_index() local
385 struct inode *dir = d_inode(indexdir); in ovl_create_index()
410 temp = ovl_create_temp(indexdir, OVL_CATTR(S_IFDIR | 0)); in ovl_create_index()
419 index = lookup_one_len(name.name, indexdir, name.len); in ovl_create_index()
Dreaddir.c1154 struct dentry *indexdir = ofs->indexdir; in ovl_indexdir_cleanup() local
1156 struct inode *dir = indexdir->d_inode; in ovl_indexdir_cleanup()
1157 struct path path = { .mnt = ovl_upper_mnt(ofs), .dentry = indexdir }; in ovl_indexdir_cleanup()
1181 index = lookup_one_len(p->name, indexdir, p->len); in ovl_indexdir_cleanup()
Dexport.c451 if (!this && layer->idx && ofs->indexdir && !WARN_ON(!d_is_dir(real))) { in ovl_lookup_real_inode()
724 if (ofs->indexdir) { in ovl_lower_fh_to_d()
Dnamei.c669 index = lookup_positive_unlocked(name.name, ofs->indexdir, name.len); in ovl_get_index_fh()
701 index = lookup_positive_unlocked(name.name, ofs->indexdir, name.len); in ovl_lookup_index()