Lines Matching defs:dir
296 * We encode a non-connectable file handle for non-dir, because we
359 /* Store file handle of @upper dir in @index dir entry */
385 struct inode *dir = d_inode(indexdir);
393 * because non-dir are copied up directly to index and then hardlinked
394 * to upper dir.
396 * TODO: implement create index for non-dir, so we can call it when
397 * encoding file handle for non-dir in case index does not exist.
423 err = ovl_do_rename(dir, temp, dir, index, 0);
428 ovl_cleanup(dir, temp);
647 /* Copyup using O_TMPFILE which does not require cross dir locking */
709 * Indexed non-dir is copied up directly to the index entry and then
710 * hardlinked to upper dir. Indexed dir is copied up to indexdir,
711 * then index entry is created and then copied up dir installed.
712 * Copying dir up to indexdir instead of workdir simplifies locking.
731 /* Disconnected dentry must be copied up to index dir */
937 * With NFS export, copy up can get called for a disconnected non-dir.
938 * In this case, we will copy up lower inode to index dir without
939 * linking it to upper dir.