Home
last modified time | relevance | path

Searched refs:EXT2_ROOT_INO (Results 1 – 14 of 14) sorted by relevance

/external/e2fsprogs/e2fsck/
Dpass3.c91 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()
[all …]
Dquota.c43 ext2fs_unlink(fs, EXT2_ROOT_INO, qf_name, from_ino, 0); in move_quota_inode()
Dpass2.c135 (void) e2fsck_dir_info_set_parent(ctx, EXT2_ROOT_INO, EXT2_ROOT_INO); in e2fsck_pass2()
434 dirent->inode = EXT2_ROOT_INO; in check_dotdot()
889 if (((dirent->inode != EXT2_ROOT_INO) && in check_dir_block()
921 (dirent->inode == EXT2_ROOT_INO)) { in check_dir_block()
1450 EXT2_ROOT_INO, &block); in allocate_dir_block()
Dpass4.c136 (i > EXT2_ROOT_INO && i < EXT2_FIRST_INODE(fs->super))) in e2fsck_pass4()
Dpass1b.c151 if (ino == EXT2_ROOT_INO) { in add_dupe()
152 di->dir = EXT2_ROOT_INO; in add_dupe()
333 ino == EXT2_ROOT_INO) in pass1b()
Djournal.c1009 retval = ext2fs_lookup(fs, EXT2_ROOT_INO, *cpp, in e2fsck_move_ext3_journal()
1031 if ((retval = ext2fs_unlink(fs, EXT2_ROOT_INO, *cpp, ino, 0)) != 0) in e2fsck_move_ext3_journal()
Dpass1.c779 (ino == EXT2_ROOT_INO) || (ino == EXT2_JOURNAL_INO))) { in e2fsck_pass1()
806 (ino == EXT2_ROOT_INO) || (ino == EXT2_JOURNAL_INO)) && in e2fsck_pass1()
875 } else if (ino == EXT2_ROOT_INO) { in e2fsck_pass1()
2105 if (ino == EXT2_ROOT_INO || ino >= EXT2_FIRST_INODE(ctx->fs->super)) { in check_blocks()
/external/e2fsprogs/misc/
De2initrd_helper.c85 retval = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, in get_file()
Dmke2fs.c366 retval = ext2fs_mkdir(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, 0); in create_root_dir()
373 retval = ext2fs_read_inode(fs, EXT2_ROOT_INO, &inode); in create_root_dir()
385 retval = ext2fs_write_new_inode(fs, EXT2_ROOT_INO, &inode); in create_root_dir()
403 retval = ext2fs_mkdir(fs, EXT2_ROOT_INO, 0, name); in create_lost_and_found()
410 retval = ext2fs_lookup(fs, EXT2_ROOT_INO, name, strlen(name), 0, &ino); in create_lost_and_found()
451 for (i = EXT2_ROOT_INO + 1; i < EXT2_FIRST_INODE(fs->super); i++) in reserve_inodes()
/external/e2fsprogs/lib/ext2fs/
Dget_pathname.c83 strcpy(*name, (dir == EXT2_ROOT_INO) ? "/" : "."); in ext2fs_get_pathname_int()
Dext2_fs.h46 #define EXT2_ROOT_INO 2 /* Root inode */ macro
/external/e2fsprogs/lib/quota/
Dmkquota.c64 ret = ext2fs_lookup(fs, EXT2_ROOT_INO, qf_name, strlen(qf_name), 0, in quota_file_exists()
393 (ino == EXT2_ROOT_INO || in quota_compute_usage()
/external/e2fsprogs/ext2ed/
Dinode_com.c222 case EXT2_ROOT_INO: in type_ext2_inode___show()
/external/e2fsprogs/debugfs/
Ddebugfs.c129 root = cwd = EXT2_ROOT_INO; in open_filesystem()
299 root = cwd = EXT2_ROOT_INO; in do_init_filesys()