Lines Matching refs:path
258 static inline ssize_t ovl_do_getxattr(const struct path *path, const char *name,
263 WARN_ON(path->dentry->d_sb != path->mnt->mnt_sb);
265 err = vfs_getxattr(mnt_idmap(path->mnt), path->dentry,
270 path->dentry, name, min(len, 48), value, size, err);
279 struct path upperpath = {
288 const struct path *path,
292 return ovl_do_getxattr(path, ovl_xattr(ofs, ox), value, size);
375 struct path path = { .mnt = ovl_upper_mnt(ofs), .dentry = dentry };
376 struct file *file = kernel_tmpfile_open(ovl_upper_mnt_idmap(ofs), &path,
400 static inline int ovl_do_getattr(const struct path *path, struct kstat *stat,
404 return vfs_getattr_nosec(path, stat, request_mask, flags);
405 return vfs_getattr(path, stat, request_mask, flags);
431 void ovl_path_upper(struct dentry *dentry, struct path *path);
432 void ovl_path_lower(struct dentry *dentry, struct path *path);
433 void ovl_path_lowerdata(struct dentry *dentry, struct path *path);
434 struct inode *ovl_i_path_real(struct inode *inode, struct path *path);
435 enum ovl_path_type ovl_path_real(struct dentry *dentry, struct path *path);
436 enum ovl_path_type ovl_path_realdata(struct dentry *dentry, struct path *path);
471 struct file *ovl_path_open(const struct path *path, int flags);
475 bool ovl_path_check_dir_xattr(struct ovl_fs *ofs, const struct path *path,
477 bool ovl_path_check_origin_xattr(struct ovl_fs *ofs, const struct path *path);
479 const struct path *upperpath);
484 struct path upperpath = {
502 int ovl_check_metacopy_xattr(struct ovl_fs *ofs, const struct path *path,
507 char *ovl_get_redirect_xattr(struct ovl_fs *ofs, const struct path *path, int padding);
508 int ovl_ensure_verity_loaded(struct path *path);
509 int ovl_get_verity_xattr(struct ovl_fs *ofs, const struct path *path,
512 struct path *metapath,
513 struct path *datapath);
514 int ovl_get_verity_digest(struct ovl_fs *ofs, struct path *src,
537 struct path upperpath = {
645 int ovl_path_next(int idx, struct dentry *dentry, struct path *path);
672 int ovl_check_d_type_supported(const struct path *realpath);
697 int ovl_getattr(struct mnt_idmap *idmap, const struct path *path,
723 struct posix_acl *ovl_get_acl_path(const struct path *path,
729 static inline struct posix_acl *ovl_get_acl_path(const struct path *path,
812 int ovl_real_fileattr_get(const struct path *realpath, struct fileattr *fa);
813 int ovl_real_fileattr_set(const struct path *realpath, struct fileattr *fa);
822 int ovl_copy_xattr(struct super_block *sb, const struct path *path, struct dentry *new);