Searched refs:realinode (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/fs/overlayfs/ |
D | inode.c | 283 struct inode *realinode; in ovl_permission() local 303 realinode = d_inode(realpath.dentry); in ovl_permission() 306 !special_file(realinode->i_mode) && mask & MAY_WRITE) { in ovl_permission() 311 err = inode_permission(mnt_user_ns(realpath.mnt), realinode, mask); in ovl_permission() 463 static void ovl_idmap_posix_acl(struct inode *realinode, in ovl_idmap_posix_acl() argument 467 struct user_namespace *fs_userns = i_user_ns(realinode); in ovl_idmap_posix_acl() 500 struct inode *realinode = ovl_inode_real(inode); in ovl_get_acl() local 504 if (!IS_POSIXACL(realinode)) in ovl_get_acl() 515 acl = get_cached_acl_rcu(realinode, type); in ovl_get_acl() 520 acl = get_acl(realinode, type); in ovl_get_acl() [all …]
|
D | util.c | 1105 struct inode *realinode; in ovl_copyattr() local 1109 realinode = d_inode(realpath.dentry); in ovl_copyattr() 1112 inode->i_uid = i_uid_into_mnt(real_mnt_userns, realinode); in ovl_copyattr() 1113 inode->i_gid = i_gid_into_mnt(real_mnt_userns, realinode); in ovl_copyattr() 1114 inode->i_mode = realinode->i_mode; in ovl_copyattr() 1115 inode->i_atime = realinode->i_atime; in ovl_copyattr() 1116 inode->i_mtime = realinode->i_mtime; in ovl_copyattr() 1117 inode->i_ctime = realinode->i_ctime; in ovl_copyattr() 1118 i_size_write(inode, i_size_read(realinode)); in ovl_copyattr()
|
D | file.c | 27 static char ovl_whatisit(struct inode *inode, struct inode *realinode) in ovl_whatisit() argument 29 if (realinode != ovl_inode_upper(inode)) in ovl_whatisit() 43 struct inode *realinode = d_inode(realpath->dentry); in ovl_open_realfile() local 57 err = inode_permission(real_mnt_userns, realinode, MAY_OPEN | acc_mode); in ovl_open_realfile() 61 if (!inode_owner_or_capable(real_mnt_userns, realinode)) in ovl_open_realfile() 64 realfile = open_with_fake_path(&file->f_path, flags, realinode, in ovl_open_realfile() 70 file, file, ovl_whatisit(inode, realinode), file->f_flags, in ovl_open_realfile()
|
D | super.c | 1025 struct inode *realinode = ovl_inode_real(inode); in ovl_posix_acl_xattr_set() local 1051 if (!realinode->i_op->set_acl) in ovl_posix_acl_xattr_set()
|