Lines Matching defs:index
457 /* Store file handle of @upper dir in @index dir entry */
459 struct dentry *index)
468 err = ovl_setxattr(ofs, index, OVL_XATTR_UPPER, fh->buf, fh->fb.len);
475 * Create and install index entry.
485 struct dentry *index = NULL;
491 * For now this is only used for creating index entry for directories,
492 * because non-dir are copied up directly to index and then hardlinked
495 * TODO: implement create index for non-dir, so we can call it when
496 * encoding file handle for non-dir in case index does not exist.
518 index = ovl_lookup_upper(ofs, name.name, indexdir, name.len);
519 if (IS_ERR(index)) {
520 err = PTR_ERR(index);
522 err = ovl_do_rename(ofs, dir, temp, dir, index, 0);
523 dput(index);
867 * Indexed non-dir is copied up directly to the index entry and then
869 * then index entry is created and then copied up dir installed.
889 /* Disconnected dentry must be copied up to index dir */
1111 * In this case, we will copy up lower inode to index dir without