Lines Matching refs:realpath
158 struct path realpath; in ovl_getattr() local
168 type = ovl_path_real(dentry, &realpath); in ovl_getattr()
170 err = vfs_getattr(&realpath, stat, request_mask, flags); in ovl_getattr()
194 ovl_path_lower(dentry, &realpath); in ovl_getattr()
195 err = vfs_getattr(&realpath, &lowerstat, in ovl_getattr()
230 realpath.dentry == ovl_dentry_lowerdata(dentry)) { in ovl_getattr()
244 ovl_path_lowerdata(dentry, &realpath); in ovl_getattr()
245 err = vfs_getattr(&realpath, &lowerdatastat, in ovl_getattr()
508 static int ovl_security_fileattr(struct path *realpath, struct fileattr *fa, in ovl_security_fileattr() argument
515 file = dentry_open(realpath, O_RDONLY, current_cred()); in ovl_security_fileattr()
530 int ovl_real_fileattr_set(struct path *realpath, struct fileattr *fa) in ovl_real_fileattr_set() argument
534 err = ovl_security_fileattr(realpath, fa, true); in ovl_real_fileattr_set()
538 return vfs_fileattr_set(&init_user_ns, realpath->dentry, fa); in ovl_real_fileattr_set()
605 int ovl_real_fileattr_get(struct path *realpath, struct fileattr *fa) in ovl_real_fileattr_get() argument
609 err = ovl_security_fileattr(realpath, fa, false); in ovl_real_fileattr_get()
613 err = vfs_fileattr_get(realpath->dentry, fa); in ovl_real_fileattr_get()
622 struct path realpath; in ovl_fileattr_get() local
626 ovl_path_real(dentry, &realpath); in ovl_fileattr_get()
629 err = ovl_real_fileattr_get(&realpath, fa); in ovl_fileattr_get()