Searched refs:upperpath (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/fs/overlayfs/ |
D | super.c | 1205 struct ovl_layer *upper_layer, struct path *upperpath) in ovl_get_upper() argument 1210 err = ovl_mount_dir(ofs->config.upperdir, upperpath); in ovl_get_upper() 1215 if (__mnt_is_readonly(upperpath->mnt)) { in ovl_get_upper() 1221 err = ovl_check_namelen(upperpath, ofs, ofs->config.upperdir); in ovl_get_upper() 1225 err = ovl_setup_trap(sb, upperpath->dentry, &upper_layer->trap, in ovl_get_upper() 1230 upper_mnt = clone_private_mount(upperpath); in ovl_get_upper() 1500 const struct path *upperpath) in ovl_get_workdir() argument 1510 if (upperpath->mnt != workpath.mnt) { in ovl_get_workdir() 1514 if (!ovl_workdir_ok(workpath.dentry, upperpath->dentry)) { in ovl_get_workdir() 1543 struct ovl_entry *oe, const struct path *upperpath) in ovl_get_indexdir() argument [all …]
|
D | copy_up.c | 575 struct path upperpath = { .mnt = ovl_upper_mnt(ofs), .dentry = temp }; in ovl_copy_up_metadata() local 587 err = ovl_copy_fileattr(inode, &c->lowerpath, &upperpath); in ovl_copy_up_metadata() 912 struct path upperpath; in ovl_copy_up_meta_inode_data() local 917 ovl_path_upper(c->dentry, &upperpath); in ovl_copy_up_meta_inode_data() 918 if (WARN_ON(upperpath.dentry == NULL)) in ovl_copy_up_meta_inode_data() 922 err = cap_size = ovl_getxattr_value(&upperpath, XATTR_NAME_CAPS, in ovl_copy_up_meta_inode_data() 928 err = ovl_copy_up_data(c, &upperpath); in ovl_copy_up_meta_inode_data() 937 err = ovl_do_setxattr(ofs, upperpath.dentry, XATTR_NAME_CAPS, in ovl_copy_up_meta_inode_data() 944 err = ovl_removexattr(ofs, upperpath.dentry, OVL_XATTR_METACOPY); in ovl_copy_up_meta_inode_data()
|
D | inode.c | 556 struct path upperpath = { in ovl_update_time() local 561 if (upperpath.dentry) { in ovl_update_time() 562 touch_atime(&upperpath); in ovl_update_time() 563 inode->i_atime = d_inode(upperpath.dentry)->i_atime; in ovl_update_time() 628 struct path upperpath; in ovl_fileattr_set() local 639 ovl_path_real(dentry, &upperpath); in ovl_fileattr_set() 649 err = ovl_set_protattr(inode, upperpath.dentry, fa); in ovl_fileattr_set() 651 err = ovl_real_fileattr_set(&upperpath, fa); in ovl_fileattr_set()
|
D | overlayfs.h | 232 struct path upperpath = { in ovl_getxattr_upper() local 237 return ovl_do_getxattr(&upperpath, ovl_xattr(ofs, ox), value, size); in ovl_getxattr_upper() 417 struct path upperpath = { in ovl_check_origin_xattr() local 421 return ovl_path_check_origin_xattr(ofs, &upperpath); in ovl_check_origin_xattr() 459 struct path upperpath = { in ovl_is_impuredir() local 464 return ovl_path_check_dir_xattr(ofs, &upperpath, OVL_XATTR_IMPURE); in ovl_is_impuredir()
|
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 | 1083 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()
|
D | readdir.c | 872 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()
|