Lines Matching refs:EXT2_ROOT_INO
92 ext2fs_mark_inode_bitmap2(inode_done_map, EXT2_ROOT_INO); in e2fsck_pass3()
166 if (ext2fs_test_inode_bitmap2(ctx->inode_used_map, EXT2_ROOT_INO)) { in check_root()
173 EXT2_ROOT_INO))) { in check_root()
222 pctx.errcode = ext2fs_write_new_inode(fs, EXT2_ROOT_INO, &inode); in check_root()
235 pctx.errcode = ext2fs_new_dir_block(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, in check_root()
245 EXT2_ROOT_INO); in check_root()
257 e2fsck_add_dir_info(ctx, EXT2_ROOT_INO, EXT2_ROOT_INO); in check_root()
258 ext2fs_icount_store(ctx->inode_count, EXT2_ROOT_INO, 2); in check_root()
259 ext2fs_icount_store(ctx->inode_link_info, EXT2_ROOT_INO, 2); in check_root()
261 ext2fs_mark_inode_bitmap2(ctx->inode_used_map, EXT2_ROOT_INO); in check_root()
262 ext2fs_mark_inode_bitmap2(ctx->inode_dir_map, EXT2_ROOT_INO); in check_root()
263 ext2fs_mark_inode_bitmap2(fs->inode_map, EXT2_ROOT_INO); in check_root()
395 will_rehash = e2fsck_dir_will_be_rehashed(ctx, EXT2_ROOT_INO); in e2fsck_get_lost_and_found()
400 retval = ext2fs_lookup(fs, EXT2_ROOT_INO, name, in e2fsck_get_lost_and_found()
440 pctx.errcode = ext2fs_unlink(fs, EXT2_ROOT_INO, name, ino, 0); in e2fsck_get_lost_and_found()
482 ctx->lost_and_found = EXT2_ROOT_INO; in e2fsck_get_lost_and_found()
497 retval = ext2fs_new_inode(fs, EXT2_ROOT_INO, 040700, in e2fsck_get_lost_and_found()
502 ctx->lost_and_found = EXT2_ROOT_INO; in e2fsck_get_lost_and_found()
540 retval = ext2fs_new_dir_block(fs, ino, EXT2_ROOT_INO, &block); in e2fsck_get_lost_and_found()
558 pctx.errcode = ext2fs_link(fs, EXT2_ROOT_INO, name, ino, EXT2_FT_DIR); in e2fsck_get_lost_and_found()
560 pctx.errcode = ext2fs_expand_dir(fs, EXT2_ROOT_INO); in e2fsck_get_lost_and_found()
563 pctx.errcode = ext2fs_link(fs, EXT2_ROOT_INO, name, ino, in e2fsck_get_lost_and_found()
576 e2fsck_add_dir_info(ctx, ino, EXT2_ROOT_INO); in e2fsck_get_lost_and_found()
577 e2fsck_adjust_inode_count(ctx, EXT2_ROOT_INO, 1); in e2fsck_get_lost_and_found()