• Home
  • Raw
  • Download

Lines Matching refs:ofs

120 static inline const char *ovl_xattr(struct ovl_fs *ofs, enum ovl_xattr ox)  in ovl_xattr()  argument
122 return ovl_xattr_table[ox][ofs->config.userxattr]; in ovl_xattr()
185 static inline ssize_t ovl_do_getxattr(struct ovl_fs *ofs, struct dentry *dentry, in ovl_do_getxattr() argument
189 const char *name = ovl_xattr(ofs, ox); in ovl_do_getxattr()
198 static inline int ovl_do_setxattr(struct ovl_fs *ofs, struct dentry *dentry, in ovl_do_setxattr() argument
202 const char *name = ovl_xattr(ofs, ox); in ovl_do_setxattr()
209 static inline int ovl_do_removexattr(struct ovl_fs *ofs, struct dentry *dentry, in ovl_do_removexattr() argument
212 const char *name = ovl_xattr(ofs, ox); in ovl_do_removexattr()
266 static inline bool ovl_allow_offline_changes(struct ovl_fs *ofs) in ovl_allow_offline_changes() argument
273 return (!ofs->config.index && !ofs->config.metacopy && in ovl_allow_offline_changes()
274 !ofs->config.redirect_dir && ofs->config.xino != OVL_XINO_ON); in ovl_allow_offline_changes()
338 bool ovl_check_origin_xattr(struct ovl_fs *ofs, struct dentry *dentry);
341 int ovl_check_setxattr(struct ovl_fs *ofs, struct dentry *upperdentry,
352 int ovl_check_metacopy_xattr(struct ovl_fs *ofs, struct dentry *dentry);
354 char *ovl_get_redirect_xattr(struct ovl_fs *ofs, struct dentry *dentry,
356 int ovl_sync_status(struct ovl_fs *ofs);
433 struct dentry *ovl_decode_real_fh(struct ovl_fs *ofs, struct ovl_fh *fh,
435 int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, bool connected,
437 int ovl_verify_set_fh(struct ovl_fs *ofs, struct dentry *dentry,
440 struct dentry *ovl_index_upper(struct ovl_fs *ofs, struct dentry *index);
441 int ovl_verify_index(struct ovl_fs *ofs, struct dentry *index);
442 int ovl_get_index_name(struct ovl_fs *ofs, struct dentry *origin,
444 struct dentry *ovl_get_index_fh(struct ovl_fs *ofs, struct ovl_fh *fh);
445 struct dentry *ovl_lookup_index(struct ovl_fs *ofs, struct dentry *upper,
452 static inline int ovl_verify_origin(struct ovl_fs *ofs, struct dentry *upper, in ovl_verify_origin() argument
455 return ovl_verify_set_fh(ofs, upper, OVL_XATTR_ORIGIN, origin, in ovl_verify_origin()
459 static inline int ovl_verify_upper(struct ovl_fs *ofs, struct dentry *index, in ovl_verify_upper() argument
462 return ovl_verify_set_fh(ofs, index, OVL_XATTR_UPPER, upper, true, set); in ovl_verify_upper()
475 int ovl_indexdir_cleanup(struct ovl_fs *ofs);
492 unsigned int ovl_get_nlink(struct ovl_fs *ofs, struct dentry *lowerdentry,
558 int ovl_cleanup_and_whiteout(struct ovl_fs *ofs, struct inode *dir,
593 struct ovl_fh *ovl_encode_real_fh(struct ovl_fs *ofs, struct dentry *real,
595 int ovl_set_origin(struct ovl_fs *ofs, struct dentry *lower,