Lines Matching refs:EXT2_ROOT_INO
92 ext2fs_mark_inode_bitmap2(inode_done_map, EXT2_ROOT_INO); in e2fsck_pass3()
167 if (ext2fs_test_inode_bitmap2(ctx->inode_used_map, EXT2_ROOT_INO)) { in check_root()
174 EXT2_ROOT_INO))) { in check_root()
225 pctx.errcode = ext2fs_write_new_inode(fs, EXT2_ROOT_INO, iptr); in check_root()
238 pctx.errcode = ext2fs_new_dir_block(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, in check_root()
248 EXT2_ROOT_INO); in check_root()
260 e2fsck_add_dir_info(ctx, EXT2_ROOT_INO, EXT2_ROOT_INO); in check_root()
261 ext2fs_icount_store(ctx->inode_count, EXT2_ROOT_INO, 2); in check_root()
262 ext2fs_icount_store(ctx->inode_link_info, EXT2_ROOT_INO, 2); in check_root()
264 ext2fs_mark_inode_bitmap2(ctx->inode_used_map, EXT2_ROOT_INO); in check_root()
265 ext2fs_mark_inode_bitmap2(ctx->inode_dir_map, EXT2_ROOT_INO); in check_root()
266 ext2fs_mark_inode_bitmap2(fs->inode_map, EXT2_ROOT_INO); in check_root()
268 quota_data_add(ctx->qctx, &inode, EXT2_ROOT_INO, in check_root()
270 quota_data_inodes(ctx->qctx, &inode, EXT2_ROOT_INO, +1); in check_root()
401 will_rehash = e2fsck_dir_will_be_rehashed(ctx, EXT2_ROOT_INO); in e2fsck_get_lost_and_found()
406 retval = ext2fs_lookup(fs, EXT2_ROOT_INO, name, in e2fsck_get_lost_and_found()
446 pctx.errcode = ext2fs_unlink(fs, EXT2_ROOT_INO, name, ino, 0); in e2fsck_get_lost_and_found()
488 ctx->lost_and_found = EXT2_ROOT_INO; in e2fsck_get_lost_and_found()
503 retval = ext2fs_new_inode(fs, EXT2_ROOT_INO, 040700, in e2fsck_get_lost_and_found()
508 ctx->lost_and_found = EXT2_ROOT_INO; in e2fsck_get_lost_and_found()
546 retval = ext2fs_new_dir_block(fs, ino, EXT2_ROOT_INO, &block); in e2fsck_get_lost_and_found()
564 pctx.errcode = ext2fs_link(fs, EXT2_ROOT_INO, name, ino, EXT2_FT_DIR); in e2fsck_get_lost_and_found()
566 pctx.errcode = ext2fs_expand_dir(fs, EXT2_ROOT_INO); in e2fsck_get_lost_and_found()
569 pctx.errcode = ext2fs_link(fs, EXT2_ROOT_INO, name, ino, in e2fsck_get_lost_and_found()
582 e2fsck_add_dir_info(ctx, ino, EXT2_ROOT_INO); in e2fsck_get_lost_and_found()
583 e2fsck_adjust_inode_count(ctx, EXT2_ROOT_INO, 1); in e2fsck_get_lost_and_found()