Lines Matching refs:workdir
46 struct dentry *ovl_lookup_temp(struct ovl_fs *ofs, struct dentry *workdir) in ovl_lookup_temp() argument
55 temp = ovl_lookup_upper(ofs, name, workdir, strlen(name)); in ovl_lookup_temp()
70 struct dentry *workdir = ofs->workdir; in ovl_whiteout() local
71 struct inode *wdir = workdir->d_inode; in ovl_whiteout()
74 whiteout = ovl_lookup_temp(ofs, workdir); in ovl_whiteout()
88 whiteout = ovl_lookup_temp(ofs, workdir); in ovl_whiteout()
113 struct inode *wdir = ofs->workdir->d_inode; in ovl_cleanup_and_whiteout()
228 struct dentry *ovl_create_temp(struct ovl_fs *ofs, struct dentry *workdir, in ovl_create_temp() argument
231 return ovl_create_real(ofs, d_inode(workdir), in ovl_create_temp()
232 ovl_lookup_temp(ofs, workdir), attr); in ovl_create_temp()
366 struct dentry *workdir = ovl_workdir(dentry); in ovl_clear_empty() local
367 struct inode *wdir = workdir->d_inode; in ovl_clear_empty()
376 if (WARN_ON(!workdir)) in ovl_clear_empty()
379 err = ovl_lock_rename_workdir(workdir, upperdir); in ovl_clear_empty()
396 opaquedir = ovl_create_temp(ofs, workdir, OVL_CATTR(stat.mode)); in ovl_clear_empty()
421 unlock_rename(workdir, upperdir); in ovl_clear_empty()
432 unlock_rename(workdir, upperdir); in ovl_clear_empty()
450 struct dentry *workdir = ovl_workdir(dentry); in ovl_create_over_whiteout() local
451 struct inode *wdir = workdir->d_inode; in ovl_create_over_whiteout()
460 if (WARN_ON(!workdir)) in ovl_create_over_whiteout()
470 err = ovl_lock_rename_workdir(workdir, upperdir); in ovl_create_over_whiteout()
484 newdentry = ovl_create_temp(ofs, workdir, cattr); in ovl_create_over_whiteout()
542 unlock_rename(workdir, upperdir); in ovl_create_over_whiteout()
758 struct dentry *workdir = ovl_workdir(dentry); in ovl_remove_and_whiteout() local
764 if (WARN_ON(!workdir)) in ovl_remove_and_whiteout()
774 err = ovl_lock_rename_workdir(workdir, upperdir); in ovl_remove_and_whiteout()
801 unlock_rename(workdir, upperdir); in ovl_remove_and_whiteout()