Lines Matching refs:EXT2_ROOT_INO
91 ext2fs_mark_inode_bitmap2(inode_done_map, EXT2_ROOT_INO); in e2fsck_pass3()
153 if (ext2fs_test_inode_bitmap2(ctx->inode_used_map, EXT2_ROOT_INO)) { in check_root()
160 EXT2_ROOT_INO))) { in check_root()
192 pctx.errcode = ext2fs_new_dir_block(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, in check_root()
224 pctx.errcode = ext2fs_write_new_inode(fs, EXT2_ROOT_INO, &inode); in check_root()
235 e2fsck_add_dir_info(ctx, EXT2_ROOT_INO, EXT2_ROOT_INO); in check_root()
236 ext2fs_icount_store(ctx->inode_count, EXT2_ROOT_INO, 2); in check_root()
237 ext2fs_icount_store(ctx->inode_link_info, EXT2_ROOT_INO, 2); in check_root()
239 ext2fs_mark_inode_bitmap2(ctx->inode_used_map, EXT2_ROOT_INO); in check_root()
240 ext2fs_mark_inode_bitmap2(ctx->inode_dir_map, EXT2_ROOT_INO); in check_root()
241 ext2fs_mark_inode_bitmap2(fs->inode_map, EXT2_ROOT_INO); in check_root()
372 retval = ext2fs_lookup(fs, EXT2_ROOT_INO, name, in e2fsck_get_lost_and_found()
390 pctx.errcode = ext2fs_unlink(fs, EXT2_ROOT_INO, name, ino, 0); in e2fsck_get_lost_and_found()
426 retval = ext2fs_new_inode(fs, EXT2_ROOT_INO, 040700, in e2fsck_get_lost_and_found()
440 retval = ext2fs_new_dir_block(fs, ino, EXT2_ROOT_INO, &block); in e2fsck_get_lost_and_found()
478 pctx.errcode = ext2fs_link(fs, EXT2_ROOT_INO, name, ino, EXT2_FT_DIR); in e2fsck_get_lost_and_found()
488 e2fsck_add_dir_info(ctx, ino, EXT2_ROOT_INO); in e2fsck_get_lost_and_found()
489 e2fsck_adjust_inode_count(ctx, EXT2_ROOT_INO, 1); in e2fsck_get_lost_and_found()