Lines Matching refs:ofs
65 static struct dentry *ovl_whiteout(struct ovl_fs *ofs) in ovl_whiteout() argument
69 struct dentry *workdir = ofs->workdir; in ovl_whiteout()
72 if (!ofs->whiteout) { in ovl_whiteout()
83 ofs->whiteout = whiteout; in ovl_whiteout()
86 if (ofs->share_whiteout) { in ovl_whiteout()
91 err = ovl_do_link(ofs->whiteout, wdir, whiteout); in ovl_whiteout()
97 ofs->whiteout->d_inode->i_nlink, err); in ovl_whiteout()
98 ofs->share_whiteout = false; in ovl_whiteout()
102 whiteout = ofs->whiteout; in ovl_whiteout()
103 ofs->whiteout = NULL; in ovl_whiteout()
109 int ovl_cleanup_and_whiteout(struct ovl_fs *ofs, struct inode *dir, in ovl_cleanup_and_whiteout() argument
112 struct inode *wdir = ofs->workdir->d_inode; in ovl_cleanup_and_whiteout()
117 whiteout = ovl_whiteout(ofs); in ovl_cleanup_and_whiteout()
235 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_opaque_xerr() local
238 err = ovl_check_setxattr(ofs, upper, OVL_XATTR_OPAQUE, "y", 1, xerr); in ovl_set_opaque_xerr()
322 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_upper() local
342 !ovl_allow_offline_changes(ofs)) { in ovl_create_upper()
765 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_remove_and_whiteout() local
799 err = ovl_cleanup_and_whiteout(ofs, d_inode(upperdir), upper); in ovl_remove_and_whiteout()
1064 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_redirect() local
1075 err = ovl_check_setxattr(ofs, ovl_dentry_upper(dentry), in ovl_set_redirect()