Lines Matching refs:ovl_fs
182 static inline const char *ovl_xattr(struct ovl_fs *ofs, enum ovl_xattr ox) in ovl_xattr()
199 static inline int ovl_do_notify_change(struct ovl_fs *ofs, in ovl_do_notify_change()
206 static inline int ovl_do_rmdir(struct ovl_fs *ofs, in ovl_do_rmdir()
215 static inline int ovl_do_unlink(struct ovl_fs *ofs, struct inode *dir, in ovl_do_unlink()
224 static inline int ovl_do_link(struct ovl_fs *ofs, struct dentry *old_dentry, in ovl_do_link()
234 static inline int ovl_do_create(struct ovl_fs *ofs, in ovl_do_create()
244 static inline int ovl_do_mkdir(struct ovl_fs *ofs, in ovl_do_mkdir()
253 static inline int ovl_do_mknod(struct ovl_fs *ofs, in ovl_do_mknod()
263 static inline int ovl_do_symlink(struct ovl_fs *ofs, in ovl_do_symlink()
289 static inline ssize_t ovl_getxattr_upper(struct ovl_fs *ofs, in ovl_getxattr_upper()
302 static inline ssize_t ovl_path_getxattr(struct ovl_fs *ofs, in ovl_path_getxattr()
310 static inline int ovl_do_setxattr(struct ovl_fs *ofs, struct dentry *dentry, in ovl_do_setxattr()
322 static inline int ovl_setxattr(struct ovl_fs *ofs, struct dentry *dentry, in ovl_setxattr()
329 static inline int ovl_do_removexattr(struct ovl_fs *ofs, struct dentry *dentry, in ovl_do_removexattr()
337 static inline int ovl_removexattr(struct ovl_fs *ofs, struct dentry *dentry, in ovl_removexattr()
343 static inline int ovl_do_set_acl(struct ovl_fs *ofs, struct dentry *dentry, in ovl_do_set_acl()
349 static inline int ovl_do_remove_acl(struct ovl_fs *ofs, struct dentry *dentry, in ovl_do_remove_acl()
355 static inline int ovl_do_rename(struct ovl_fs *ofs, struct inode *olddir, in ovl_do_rename()
379 static inline int ovl_do_whiteout(struct ovl_fs *ofs, in ovl_do_whiteout()
387 static inline struct file *ovl_do_tmpfile(struct ovl_fs *ofs, in ovl_do_tmpfile()
400 static inline struct dentry *ovl_lookup_upper(struct ovl_fs *ofs, in ovl_lookup_upper()
486 void ovl_layer_set_xwhiteouts(struct ovl_fs *ofs,
500 bool ovl_path_is_whiteout(struct ovl_fs *ofs, const struct path *path);
505 char ovl_get_dir_xattr_val(struct ovl_fs *ofs, const struct path *path,
507 bool ovl_path_check_origin_xattr(struct ovl_fs *ofs, const struct path *path);
508 bool ovl_path_check_xwhiteout_xattr(struct ovl_fs *ofs, const struct path *path);
509 bool ovl_init_uuid_xattr(struct super_block *sb, struct ovl_fs *ofs,
512 static inline bool ovl_upper_is_whiteout(struct ovl_fs *ofs, in ovl_upper_is_whiteout()
522 static inline bool ovl_check_origin_xattr(struct ovl_fs *ofs, in ovl_check_origin_xattr()
532 int ovl_check_setxattr(struct ovl_fs *ofs, struct dentry *upperdentry,
543 int ovl_check_metacopy_xattr(struct ovl_fs *ofs, const struct path *path,
545 int ovl_set_metacopy_xattr(struct ovl_fs *ofs, struct dentry *d,
548 char *ovl_get_redirect_xattr(struct ovl_fs *ofs, const struct path *path, int padding);
550 int ovl_get_verity_xattr(struct ovl_fs *ofs, const struct path *path,
552 int ovl_validate_verity(struct ovl_fs *ofs,
555 int ovl_get_verity_digest(struct ovl_fs *ofs, struct path *src,
557 int ovl_sync_status(struct ovl_fs *ofs);
577 struct ovl_fs *ofs = OVL_FS(sb); in ovl_is_impuredir()
586 static inline char ovl_get_opaquedir_val(struct ovl_fs *ofs, in ovl_get_opaquedir_val()
592 static inline bool ovl_redirect_follow(struct ovl_fs *ofs) in ovl_redirect_follow()
597 static inline bool ovl_redirect_dir(struct ovl_fs *ofs) in ovl_redirect_dir()
602 static inline bool ovl_origin_uuid(struct ovl_fs *ofs) in ovl_origin_uuid()
607 static inline bool ovl_has_fsid(struct ovl_fs *ofs) in ovl_has_fsid()
618 static inline bool ovl_xino_warn(struct ovl_fs *ofs) in ovl_xino_warn()
627 static inline bool ovl_allow_offline_changes(struct ovl_fs *ofs) in ovl_allow_offline_changes()
634 static inline bool ovl_same_fs(struct ovl_fs *ofs) in ovl_same_fs()
640 static inline bool ovl_same_dev(struct ovl_fs *ofs) in ovl_same_dev()
645 static inline unsigned int ovl_xino_bits(struct ovl_fs *ofs) in ovl_xino_bits()
677 struct dentry *ovl_decode_real_fh(struct ovl_fs *ofs, struct ovl_fh *fh,
679 int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, bool connected,
681 int ovl_verify_set_fh(struct ovl_fs *ofs, struct dentry *dentry,
684 int ovl_verify_origin_xattr(struct ovl_fs *ofs, struct dentry *dentry,
687 struct dentry *ovl_index_upper(struct ovl_fs *ofs, struct dentry *index,
689 int ovl_verify_index(struct ovl_fs *ofs, struct dentry *index);
691 int ovl_get_index_name(struct ovl_fs *ofs, struct dentry *origin,
693 struct dentry *ovl_get_index_fh(struct ovl_fs *ofs, struct ovl_fh *fh);
694 struct dentry *ovl_lookup_index(struct ovl_fs *ofs, struct dentry *upper,
703 static inline int ovl_verify_origin_fh(struct ovl_fs *ofs, struct dentry *upper, in ovl_verify_origin_fh()
709 static inline int ovl_verify_origin(struct ovl_fs *ofs, struct dentry *upper, in ovl_verify_origin()
716 static inline int ovl_verify_upper(struct ovl_fs *ofs, struct dentry *index, in ovl_verify_upper()
727 void ovl_cleanup_whiteouts(struct ovl_fs *ofs, struct dentry *upper,
732 int ovl_workdir_cleanup(struct ovl_fs *ofs, struct inode *dir,
734 int ovl_indexdir_cleanup(struct ovl_fs *ofs);
751 unsigned int ovl_get_nlink(struct ovl_fs *ofs, struct dentry *lowerdentry,
837 int ovl_cleanup_and_whiteout(struct ovl_fs *ofs, struct inode *dir,
848 int ovl_mkdir_real(struct ovl_fs *ofs, struct inode *dir,
850 struct dentry *ovl_create_real(struct ovl_fs *ofs,
853 int ovl_cleanup(struct ovl_fs *ofs, struct inode *dir, struct dentry *dentry);
854 struct dentry *ovl_lookup_temp(struct ovl_fs *ofs, struct dentry *workdir);
855 struct dentry *ovl_create_temp(struct ovl_fs *ofs, struct dentry *workdir,
871 int ovl_set_attr(struct ovl_fs *ofs, struct dentry *upper, struct kstat *stat);
872 struct ovl_fh *ovl_encode_real_fh(struct ovl_fs *ofs, struct dentry *real,
874 struct ovl_fh *ovl_get_origin_fh(struct ovl_fs *ofs, struct dentry *origin);
875 int ovl_set_origin_fh(struct ovl_fs *ofs, const struct ovl_fh *fh,
886 static inline bool ovl_force_readonly(struct ovl_fs *ofs) in ovl_force_readonly()
893 const struct xattr_handler * const *ovl_xattr_handlers(struct ovl_fs *ofs);