Lines Matching defs:parent
19 * it attempts to trace up the filesystem tree, using dirinfo.parent
23 * parent pointers up the filesystem tree, if pass3 sees a directory
47 static void fix_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent);
246 * far as we can go, and then offer to connect the resulting parent to
263 ext2_ino_t ino = dir, parent;
275 * parent we've already checked.
280 if (e2fsck_dir_info_get_parent(ctx, ino, &parent)) {
286 * If this directory doesn't have a parent, or we've
287 * seen the parent once already, then offer to
290 if (!parent ||
293 parent)))) {
301 parent = ctx->lost_and_found;
306 ino = parent;
334 * Make sure that .. and the parent directory are the same;
591 * Fix parent --- this routine fixes up the parent of a directory.
595 ext2_ino_t parent;
622 retval = e2fsck_adjust_inode_count(fp->ctx, fp->parent, 1);
627 dirent->inode = fp->parent;
639 static void fix_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent)
647 fp.parent = parent;
652 printf("Fixing '..' of inode %lu to be %lu...\n", ino, parent);
665 (void) e2fsck_dir_info_set_dotdot(ctx, ino, parent);