Home
last modified time | relevance | path

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

/fs/overlayfs/
Dsuper.c1231 struct ovl_layer *upper_layer, struct path *upperpath) in ovl_get_upper() argument
1236 err = ovl_mount_dir(ofs->config.upperdir, upperpath); in ovl_get_upper()
1241 if (__mnt_is_readonly(upperpath->mnt)) { in ovl_get_upper()
1247 err = ovl_check_namelen(upperpath, ofs, ofs->config.upperdir); in ovl_get_upper()
1251 err = ovl_setup_trap(sb, upperpath->dentry, &upper_layer->trap, in ovl_get_upper()
1256 upper_mnt = clone_private_mount(upperpath); in ovl_get_upper()
1526 const struct path *upperpath) in ovl_get_workdir() argument
1536 if (upperpath->mnt != workpath.mnt) { in ovl_get_workdir()
1540 if (!ovl_workdir_ok(workpath.dentry, upperpath->dentry)) { in ovl_get_workdir()
1569 struct ovl_entry *oe, const struct path *upperpath) in ovl_get_indexdir() argument
[all …]
Dcopy_up.c576 struct path upperpath = { .mnt = ovl_upper_mnt(ofs), .dentry = temp }; in ovl_copy_up_metadata() local
589 err = ovl_copy_fileattr(inode, &c->lowerpath, &upperpath); in ovl_copy_up_metadata()
915 struct path upperpath; in ovl_copy_up_meta_inode_data() local
920 ovl_path_upper(c->dentry, &upperpath); in ovl_copy_up_meta_inode_data()
921 if (WARN_ON(upperpath.dentry == NULL)) in ovl_copy_up_meta_inode_data()
925 err = cap_size = ovl_getxattr_value(&upperpath, XATTR_NAME_CAPS, in ovl_copy_up_meta_inode_data()
931 err = ovl_copy_up_data(c, &upperpath); in ovl_copy_up_meta_inode_data()
940 err = ovl_do_setxattr(ofs, upperpath.dentry, XATTR_NAME_CAPS, in ovl_copy_up_meta_inode_data()
947 err = ovl_removexattr(ofs, upperpath.dentry, OVL_XATTR_METACOPY); in ovl_copy_up_meta_inode_data()
Dinode.c555 struct path upperpath = { in ovl_update_time() local
560 if (upperpath.dentry) { in ovl_update_time()
561 touch_atime(&upperpath); in ovl_update_time()
562 inode->i_atime = d_inode(upperpath.dentry)->i_atime; in ovl_update_time()
627 struct path upperpath; in ovl_fileattr_set() local
638 ovl_path_real(dentry, &upperpath); in ovl_fileattr_set()
648 err = ovl_set_protattr(inode, upperpath.dentry, fa); in ovl_fileattr_set()
650 err = ovl_real_fileattr_set(&upperpath, fa); in ovl_fileattr_set()
Doverlayfs.h232 struct path upperpath = { in ovl_getxattr_upper() local
237 return ovl_do_getxattr(&upperpath, ovl_xattr(ofs, ox), value, size); in ovl_getxattr_upper()
420 struct path upperpath = { in ovl_check_origin_xattr() local
424 return ovl_path_check_origin_xattr(ofs, &upperpath); in ovl_check_origin_xattr()
462 struct path upperpath = { in ovl_is_impuredir() local
467 return ovl_path_check_dir_xattr(ofs, &upperpath, OVL_XATTR_IMPURE); in ovl_is_impuredir()
Ddir.c369 struct path upperpath; in ovl_clear_empty() local
382 ovl_path_upper(dentry, &upperpath); in ovl_clear_empty()
383 err = vfs_getattr(&upperpath, &stat, in ovl_clear_empty()
391 upper = upperpath.dentry; in ovl_clear_empty()
400 err = ovl_copy_xattr(dentry->d_sb, &upperpath, opaquedir); in ovl_clear_empty()
Dnamei.c1083 struct path upperpath = { in ovl_lookup() local
1088 upperredirect = ovl_get_redirect_xattr(ofs, &upperpath, 0); in ovl_lookup()
1094 err = ovl_check_metacopy_xattr(ofs, &upperpath); in ovl_lookup()
Dreaddir.c872 struct path upperpath; in ovl_dir_real_file() local
874 ovl_path_upper(dentry, &upperpath); in ovl_dir_real_file()
875 realfile = ovl_dir_open_realfile(file, &upperpath); in ovl_dir_real_file()