Lines Matching refs:workdir
444 struct dentry *workdir;
577 * Copyup using workdir to prepare temp file. Used when copying up directories,
583 struct inode *udir = d_inode(c->destdir), *wdir = d_inode(c->workdir);
594 /* workdir and destdir could be the same when copying up to indexdir */
596 if (lock_rename(c->workdir, c->destdir) != NULL)
603 temp = ovl_create_temp(c->workdir, &cattr);
637 unlock_rename(c->workdir, c->destdir);
659 temp = ovl_do_tmpfile(c->workdir, c->stat.mode);
712 * Copying dir up to indexdir instead of workdir simplifies locking.
717 c->workdir = ovl_indexdir(c->dentry->d_sb);
743 /* Should we copyup with O_TMPFILE or with workdir? */
875 .workdir = ovl_workdir(dentry),
878 if (WARN_ON(!ctx.workdir))