/linux-6.12.1/fs/overlayfs/ |
D | super.c | 475 const struct path *upperpath) in ovl_get_upper() argument 481 if (__mnt_is_readonly(upperpath->mnt)) { in ovl_get_upper() 487 err = ovl_check_namelen(upperpath, ofs, ofs->config.upperdir); in ovl_get_upper() 491 err = ovl_setup_trap(sb, upperpath->dentry, &upper_layer->trap, in ovl_get_upper() 496 upper_mnt = clone_private_mount(upperpath); in ovl_get_upper() 778 const struct path *upperpath, in ovl_get_workdir() argument 784 if (upperpath->mnt != workpath->mnt) { in ovl_get_workdir() 788 if (!ovl_workdir_ok(workpath->dentry, upperpath->dentry)) { in ovl_get_workdir() 812 struct ovl_entry *oe, const struct path *upperpath) in ovl_get_indexdir() argument 829 err = ovl_verify_origin_fh(ofs, upperpath->dentry, fh, true); in ovl_get_indexdir() [all …]
|
D | overlayfs.h | 294 struct path upperpath = { in ovl_getxattr_upper() local 299 return ovl_do_getxattr(&upperpath, ovl_xattr(ofs, ox), value, size); in ovl_getxattr_upper() 510 const struct path *upperpath); 515 struct path upperpath = { in ovl_upper_is_whiteout() local 519 return ovl_path_is_whiteout(ofs, &upperpath); in ovl_upper_is_whiteout() 525 struct path upperpath = { in ovl_check_origin_xattr() local 529 return ovl_path_check_origin_xattr(ofs, &upperpath); in ovl_check_origin_xattr() 578 struct path upperpath = { in ovl_is_impuredir() local 583 return ovl_get_dir_xattr_val(ofs, &upperpath, OVL_XATTR_IMPURE) == 'y'; in ovl_is_impuredir()
|
D | copy_up.c | 666 struct path upperpath = { .mnt = ovl_upper_mnt(ofs), .dentry = temp }; in ovl_copy_up_metadata() local 679 err = ovl_copy_fileattr(inode, &c->lowerpath, &upperpath); in ovl_copy_up_metadata() 725 err = ovl_sync_file(&upperpath); in ovl_copy_up_metadata() 1091 struct path upperpath; in ovl_copy_up_meta_inode_data() local 1096 ovl_path_upper(c->dentry, &upperpath); in ovl_copy_up_meta_inode_data() 1097 if (WARN_ON(upperpath.dentry == NULL)) in ovl_copy_up_meta_inode_data() 1101 err = cap_size = ovl_getxattr_value(&upperpath, XATTR_NAME_CAPS, in ovl_copy_up_meta_inode_data() 1107 err = ovl_copy_up_data(c, &upperpath); in ovl_copy_up_meta_inode_data() 1117 err = ovl_do_setxattr(ofs, upperpath.dentry, XATTR_NAME_CAPS, in ovl_copy_up_meta_inode_data() 1121 err = ovl_removexattr(ofs, upperpath.dentry, in ovl_copy_up_meta_inode_data()
|
D | inode.c | 574 struct path upperpath = { in ovl_update_time() local 579 if (upperpath.dentry) { in ovl_update_time() 580 touch_atime(&upperpath); in ovl_update_time() 582 inode_get_atime(d_inode(upperpath.dentry))); in ovl_update_time() 650 struct path upperpath; in ovl_fileattr_set() local 657 ovl_path_real(dentry, &upperpath); in ovl_fileattr_set() 671 err = ovl_set_protattr(inode, upperpath.dentry, fa); in ovl_fileattr_set() 673 err = ovl_real_fileattr_set(&upperpath, fa); in ovl_fileattr_set()
|
D | util.c | 774 const struct path *upperpath) in ovl_init_uuid_xattr() argument 781 res = ovl_path_getxattr(ofs, upperpath, OVL_XATTR_UUID, uuid.b, in ovl_init_uuid_xattr() 796 res = ovl_path_getxattr(ofs, upperpath, OVL_XATTR_IMPURE, NULL, in ovl_init_uuid_xattr() 816 res = ovl_setxattr(ofs, upperpath->dentry, OVL_XATTR_UUID, uuid.b, in ovl_init_uuid_xattr() 828 set ? "set" : "get", upperpath->dentry, res); in ovl_init_uuid_xattr()
|
D | dir.c | 370 struct path upperpath; in ovl_clear_empty() local 383 ovl_path_upper(dentry, &upperpath); in ovl_clear_empty() 384 err = vfs_getattr(&upperpath, &stat, in ovl_clear_empty() 392 upper = upperpath.dentry; in ovl_clear_empty() 401 err = ovl_copy_xattr(dentry->d_sb, &upperpath, opaquedir); in ovl_clear_empty()
|
D | namei.c | 1296 struct path upperpath = { in ovl_lookup() local 1306 upperredirect = ovl_get_redirect_xattr(ofs, &upperpath, 0); in ovl_lookup() 1312 err = ovl_check_metacopy_xattr(ofs, &upperpath, NULL); in ovl_lookup()
|
D | readdir.c | 891 struct path upperpath; in ovl_dir_real_file() local 893 ovl_path_upper(dentry, &upperpath); in ovl_dir_real_file() 894 realfile = ovl_dir_open_realfile(file, &upperpath); in ovl_dir_real_file()
|