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()
547 bool ovl_check_origin_xattr(struct ovl_fs *ofs, struct dentry *dentry) in ovl_check_origin_xattr() argument
551 res = ovl_do_getxattr(ofs, dentry, OVL_XATTR_ORIGIN, NULL, 0); in ovl_check_origin_xattr()
602 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_check_setxattr() local
604 if (ofs->noxattr) in ovl_check_setxattr()
607 err = ovl_do_setxattr(ofs, upperdentry, ox, value, size); in ovl_check_setxattr()
610 pr_warn("cannot set %s xattr on upper\n", ovl_xattr(ofs, ox)); in ovl_check_setxattr()
611 ofs->noxattr = true; in ovl_check_setxattr()
870 int ovl_check_metacopy_xattr(struct ovl_fs *ofs, struct dentry *dentry) in ovl_check_metacopy_xattr() argument
878 res = ovl_do_getxattr(ofs, dentry, OVL_XATTR_METACOPY, NULL, 0); in ovl_check_metacopy_xattr()
907 char *ovl_get_redirect_xattr(struct ovl_fs *ofs, struct dentry *dentry, in ovl_get_redirect_xattr() argument
913 res = ovl_do_getxattr(ofs, dentry, OVL_XATTR_REDIRECT, NULL, 0); in ovl_get_redirect_xattr()
925 res = ovl_do_getxattr(ofs, dentry, OVL_XATTR_REDIRECT, buf, res); in ovl_get_redirect_xattr()