Lines Matching refs:workdir

360 		ofs->config.workdir, name, -err);  in ovl_workdir_create()
423 static bool ovl_workdir_ok(struct dentry *workdir, struct dentry *upperdir) in ovl_workdir_ok() argument
427 if (workdir != upperdir) { in ovl_workdir_ok()
428 struct dentry *trap = lock_rename(workdir, upperdir); in ovl_workdir_ok()
430 unlock_rename(workdir, upperdir); in ovl_workdir_ok()
540 struct dentry *workdir = ofs->workdir; in ovl_check_rename_whiteout() local
541 struct inode *dir = d_inode(workdir); in ovl_check_rename_whiteout()
550 temp = ovl_create_temp(ofs, workdir, OVL_CATTR(S_IFREG | 0)); in ovl_check_rename_whiteout()
555 dest = ovl_lookup_temp(ofs, workdir); in ovl_check_rename_whiteout()
571 whiteout = ovl_lookup_upper(ofs, name.name.name, workdir, name.name.len); in ovl_check_rename_whiteout()
639 struct dentry *workdir; in ovl_make_workdir() local
650 workdir = ovl_workdir_create(ofs, OVL_WORKDIR_NAME, false); in ovl_make_workdir()
651 err = PTR_ERR(workdir); in ovl_make_workdir()
652 if (IS_ERR_OR_NULL(workdir)) in ovl_make_workdir()
655 ofs->workdir = workdir; in ovl_make_workdir()
657 err = ovl_setup_trap(sb, ofs->workdir, &ofs->workdir_trap, "workdir"); in ovl_make_workdir()
676 tmpfile = ovl_do_tmpfile(ofs, ofs->workdir, S_IFREG | 0); in ovl_make_workdir()
696 err = ovl_setxattr(ofs, ofs->workdir, OVL_XATTR_OPAQUE, "0", 1); in ovl_make_workdir()
728 ovl_removexattr(ofs, ofs->workdir, OVL_XATTR_OPAQUE); in ovl_make_workdir()
736 if (ovl_dentry_remote(ofs->workdir) && in ovl_make_workdir()
756 fh_type = ovl_can_decode_fh(ofs->workdir->d_sb); in ovl_make_workdir()
838 dput(ofs->workdir); in ovl_get_indexdir()
839 ofs->workdir = NULL; in ovl_get_indexdir()
844 ofs->workdir = indexdir; in ovl_get_indexdir()
1357 if (!ofs->config.workdir) { in ovl_fill_super()
1380 if (!ofs->workdir) in ovl_fill_super()
1409 if (!ofs->workdir) in ovl_fill_super()
1418 if (!ofs->workdir) { in ovl_fill_super()