Lines Matching refs:wdir
27 int ovl_cleanup(struct ovl_fs *ofs, struct inode *wdir, struct dentry *wdentry) in ovl_cleanup() argument
33 err = ovl_do_rmdir(ofs, wdir, wdentry); in ovl_cleanup()
35 err = ovl_do_unlink(ofs, wdir, wdentry); in ovl_cleanup()
71 struct inode *wdir = workdir->d_inode; in ovl_whiteout() local
78 err = ovl_do_whiteout(ofs, wdir, whiteout); in ovl_whiteout()
92 err = ovl_do_link(ofs, ofs->whiteout, wdir, whiteout); in ovl_whiteout()
113 struct inode *wdir = ofs->workdir->d_inode; in ovl_cleanup_and_whiteout() local
126 err = ovl_do_rename(ofs, wdir, whiteout, dir, dentry, flags); in ovl_cleanup_and_whiteout()
130 ovl_cleanup(ofs, wdir, dentry); in ovl_cleanup_and_whiteout()
137 ovl_cleanup(ofs, wdir, whiteout); in ovl_cleanup_and_whiteout()
367 struct inode *wdir = workdir->d_inode; in ovl_clear_empty() local
415 err = ovl_do_rename(ofs, wdir, opaquedir, udir, upper, RENAME_EXCHANGE); in ovl_clear_empty()
420 ovl_cleanup(ofs, wdir, upper); in ovl_clear_empty()
429 ovl_cleanup(ofs, wdir, opaquedir); in ovl_clear_empty()
451 struct inode *wdir = workdir->d_inode; in ovl_create_over_whiteout() local
522 err = ovl_do_rename(ofs, wdir, newdentry, udir, upper, in ovl_create_over_whiteout()
527 ovl_cleanup(ofs, wdir, upper); in ovl_create_over_whiteout()
529 err = ovl_do_rename(ofs, wdir, newdentry, udir, upper, 0); in ovl_create_over_whiteout()
551 ovl_cleanup(ofs, wdir, newdentry); in ovl_create_over_whiteout()