Lines Matching refs:workdir
543 struct dentry *workdir;
703 * Copyup using workdir to prepare temp file. Used when copying up directories,
710 struct inode *udir = d_inode(c->destdir), *wdir = d_inode(c->workdir);
722 /* workdir and destdir could be the same when copying up to indexdir */
724 if (lock_rename(c->workdir, c->destdir) != NULL)
731 temp = ovl_create_temp(ofs, c->workdir, &cattr);
781 unlock_rename(c->workdir, c->destdir);
805 tmpfile = ovl_do_tmpfile(ofs, c->workdir, c->stat.mode);
870 * Copying dir up to indexdir instead of workdir simplifies locking.
875 c->workdir = ovl_indexdir(c->dentry->d_sb);
901 /* Should we copyup with O_TMPFILE or with workdir? */
1044 .workdir = ovl_workdir(dentry),
1047 if (WARN_ON(!ctx.workdir))