• Home
  • Raw
  • Download

Lines Matching refs:ofs

20 	struct ovl_fs *ofs = dentry->d_sb->s_fs_info;  in ovl_want_write()  local
21 return mnt_want_write(ovl_upper_mnt(ofs)); in ovl_want_write()
26 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_drop_write() local
27 mnt_drop_write(ovl_upper_mnt(ofs)); in ovl_drop_write()
32 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_workdir() local
33 return ofs->workdir; in ovl_workdir()
38 struct ovl_fs *ofs = sb->s_fs_info; in ovl_override_creds() local
40 return override_creds(ofs->creator_cred); in ovl_override_creds()
61 struct ovl_fs *ofs = sb->s_fs_info; in ovl_indexdir() local
63 return ofs->indexdir; in ovl_indexdir()
69 struct ovl_fs *ofs = sb->s_fs_info; in ovl_index_all() local
71 return ofs->config.nfs_export && ofs->config.index; in ovl_index_all()
77 struct ovl_fs *ofs = sb->s_fs_info; in ovl_verify_lower() local
79 return ofs->config.nfs_export && ofs->config.index; in ovl_verify_lower()
151 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_path_upper() local
153 path->mnt = ovl_upper_mnt(ofs); in ovl_path_upper()
387 struct ovl_fs *ofs = sb->s_fs_info; in ovl_redirect_dir() local
389 return ofs->config.redirect_dir && !ofs->noxattr; in ovl_redirect_dir()
549 bool ovl_check_origin_xattr(struct ovl_fs *ofs, struct dentry *dentry) in ovl_check_origin_xattr() argument
553 res = ovl_do_getxattr(ofs, dentry, OVL_XATTR_ORIGIN, NULL, 0); in ovl_check_origin_xattr()
604 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_check_setxattr() local
606 if (ofs->noxattr) in ovl_check_setxattr()
609 err = ovl_do_setxattr(ofs, upperdentry, ox, value, size); in ovl_check_setxattr()
612 pr_warn("cannot set %s xattr on upper\n", ovl_xattr(ofs, ox)); in ovl_check_setxattr()
613 ofs->noxattr = true; in ovl_check_setxattr()
857 int ovl_check_metacopy_xattr(struct ovl_fs *ofs, struct dentry *dentry) in ovl_check_metacopy_xattr() argument
865 res = ovl_do_getxattr(ofs, dentry, OVL_XATTR_METACOPY, NULL, 0); in ovl_check_metacopy_xattr()
894 char *ovl_get_redirect_xattr(struct ovl_fs *ofs, struct dentry *dentry, in ovl_get_redirect_xattr() argument
900 res = ovl_do_getxattr(ofs, dentry, OVL_XATTR_REDIRECT, NULL, 0); in ovl_get_redirect_xattr()
912 res = ovl_do_getxattr(ofs, dentry, OVL_XATTR_REDIRECT, buf, res); in ovl_get_redirect_xattr()
954 int ovl_sync_status(struct ovl_fs *ofs) in ovl_sync_status() argument
958 if (ovl_should_sync(ofs)) in ovl_sync_status()
961 mnt = ovl_upper_mnt(ofs); in ovl_sync_status()
965 return errseq_check(&mnt->mnt_sb->s_wb_err, ofs->errseq); in ovl_sync_status()