/openbmc/linux/fs/overlayfs/ |
H A D | super.c | 541 const struct path *upperpath) in ovl_get_upper() argument 547 if (__mnt_is_readonly(upperpath->mnt)) { in ovl_get_upper() 553 err = ovl_check_namelen(upperpath, ofs, ofs->config.upperdir); in ovl_get_upper() 562 upper_mnt = clone_private_mount(upperpath); in ovl_get_upper() 844 const struct path *upperpath, in ovl_get_workdir() argument 850 if (upperpath->mnt != workpath->mnt) { in ovl_get_workdir() 854 if (!ovl_workdir_ok(workpath->dentry, upperpath->dentry)) { in ovl_get_workdir() 878 struct ovl_entry *oe, const struct path *upperpath) in ovl_get_indexdir() argument 889 err = ovl_verify_origin(ofs, upperpath->dentry, in ovl_get_indexdir() 924 upperpath->dentry, true, false); in ovl_get_indexdir() [all …]
|
H A D | copy_up.c | 614 struct path upperpath = { .mnt = ovl_upper_mnt(ofs), .dentry = temp }; in ovl_copy_up_metadata() local 627 err = ovl_copy_fileattr(inode, &c->lowerpath, &upperpath); in ovl_copy_up_metadata() 990 struct path upperpath; in ovl_copy_up_meta_inode_data() local 995 ovl_path_upper(c->dentry, &upperpath); in ovl_copy_up_meta_inode_data() 996 if (WARN_ON(upperpath.dentry == NULL)) in ovl_copy_up_meta_inode_data() 1000 err = cap_size = ovl_getxattr_value(&upperpath, XATTR_NAME_CAPS, in ovl_copy_up_meta_inode_data() 1006 err = ovl_copy_up_data(c, &upperpath); in ovl_copy_up_meta_inode_data() 1015 err = ovl_do_setxattr(ofs, upperpath.dentry, XATTR_NAME_CAPS, in ovl_copy_up_meta_inode_data() 1022 err = ovl_removexattr(ofs, upperpath.dentry, OVL_XATTR_METACOPY); in ovl_copy_up_meta_inode_data()
|
H A D | inode.c | 700 struct path upperpath = { in ovl_update_time() local 705 if (upperpath.dentry) { in ovl_update_time() 706 touch_atime(&upperpath); in ovl_update_time() 707 inode->i_atime = d_inode(upperpath.dentry)->i_atime; in ovl_update_time() 775 struct path upperpath; in ovl_fileattr_set() local 786 ovl_path_real(dentry, &upperpath); in ovl_fileattr_set() 796 err = ovl_set_protattr(inode, upperpath.dentry, fa); in ovl_fileattr_set() 798 err = ovl_real_fileattr_set(&upperpath, fa); in ovl_fileattr_set()
|
H A D | overlayfs.h | 279 struct path upperpath = { in ovl_getxattr_upper() local 284 return ovl_do_getxattr(&upperpath, ovl_xattr(ofs, ox), value, size); in ovl_getxattr_upper() 479 const struct path *upperpath); 484 struct path upperpath = { in ovl_check_origin_xattr() local 488 return ovl_path_check_origin_xattr(ofs, &upperpath); in ovl_check_origin_xattr() 537 struct path upperpath = { in ovl_is_impuredir() local 542 return ovl_path_check_dir_xattr(ofs, &upperpath, OVL_XATTR_IMPURE); in ovl_is_impuredir()
|
H A D | util.c | 684 const struct path *upperpath) in ovl_init_uuid_xattr() argument 690 res = ovl_path_getxattr(ofs, upperpath, OVL_XATTR_UUID, sb->s_uuid.b, in ovl_init_uuid_xattr() 705 res = ovl_path_getxattr(ofs, upperpath, OVL_XATTR_IMPURE, NULL, in ovl_init_uuid_xattr() 725 res = ovl_setxattr(ofs, upperpath->dentry, OVL_XATTR_UUID, sb->s_uuid.b, in ovl_init_uuid_xattr() 734 set ? "set" : "get", upperpath->dentry, res); in ovl_init_uuid_xattr()
|
H A D | dir.c | 366 struct path upperpath; in ovl_clear_empty() local 379 ovl_path_upper(dentry, &upperpath); in ovl_clear_empty() 380 err = vfs_getattr(&upperpath, &stat, in ovl_clear_empty() 388 upper = upperpath.dentry; in ovl_clear_empty() 397 err = ovl_copy_xattr(dentry->d_sb, &upperpath, opaquedir); in ovl_clear_empty()
|
H A D | namei.c | 1265 struct path upperpath = { in ovl_lookup() local 1275 upperredirect = ovl_get_redirect_xattr(ofs, &upperpath, 0); in ovl_lookup() 1281 err = ovl_check_metacopy_xattr(ofs, &upperpath, NULL); in ovl_lookup()
|
H A D | readdir.c | 877 struct path upperpath; in ovl_dir_real_file() local 879 ovl_path_upper(dentry, &upperpath); in ovl_dir_real_file() 880 realfile = ovl_dir_open_realfile(file, &upperpath); in ovl_dir_real_file()
|