Home
last modified time | relevance | path

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

/external/e2fsprogs/e2fsck/
Dpass3.c90 ext2fs_mark_inode_bitmap(inode_done_map, EXT2_ROOT_INO); in e2fsck_pass3()
151 if (ext2fs_test_inode_bitmap(ctx->inode_used_map, EXT2_ROOT_INO)) { in check_root()
158 EXT2_ROOT_INO))) { in check_root()
190 pctx.errcode = ext2fs_new_dir_block(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, in check_root()
222 pctx.errcode = ext2fs_write_new_inode(fs, EXT2_ROOT_INO, &inode); in check_root()
233 e2fsck_add_dir_info(ctx, EXT2_ROOT_INO, EXT2_ROOT_INO); in check_root()
234 ext2fs_icount_store(ctx->inode_count, EXT2_ROOT_INO, 2); in check_root()
235 ext2fs_icount_store(ctx->inode_link_info, EXT2_ROOT_INO, 2); in check_root()
237 ext2fs_mark_inode_bitmap(ctx->inode_used_map, EXT2_ROOT_INO); in check_root()
238 ext2fs_mark_inode_bitmap(ctx->inode_dir_map, EXT2_ROOT_INO); in check_root()
[all …]
Dpass2.c130 (void) e2fsck_dir_info_set_parent(ctx, EXT2_ROOT_INO, EXT2_ROOT_INO); in e2fsck_pass2()
428 dirent->inode = EXT2_ROOT_INO; in check_dotdot()
890 if (((dirent->inode != EXT2_ROOT_INO) && in check_dir_block()
922 (dirent->inode == EXT2_ROOT_INO)) { in check_dir_block()
1436 EXT2_ROOT_INO, &block); in allocate_dir_block()
Dpass4.c135 (i > EXT2_ROOT_INO && i < EXT2_FIRST_INODE(fs->super))) in e2fsck_pass4()
Dpass1b.c150 if (ino == EXT2_ROOT_INO) { in add_dupe()
151 di->dir = EXT2_ROOT_INO; in add_dupe()
319 ino == EXT2_ROOT_INO) in pass1b()
Djournal.c989 retval = ext2fs_lookup(fs, EXT2_ROOT_INO, *cpp, in e2fsck_move_ext3_journal()
1011 if ((retval = ext2fs_unlink(fs, EXT2_ROOT_INO, *cpp, ino, 0)) != 0) in e2fsck_move_ext3_journal()
Dpass1.c750 (ino == EXT2_ROOT_INO) || (ino == EXT2_JOURNAL_INO))) { in e2fsck_pass1()
777 (ino == EXT2_ROOT_INO) || (ino == EXT2_JOURNAL_INO)) && in e2fsck_pass1()
838 } else if (ino == EXT2_ROOT_INO) { in e2fsck_pass1()
/external/genext2fs/
Dgenext2fs.c176 #define EXT2_ROOT_INO 2 // Root inode macro
1346 nod = EXT2_ROOT_INO; in find_path()
2079 itab0[EXT2_ROOT_INO-1].i_mode = FM_IFDIR | FM_IRWXU | FM_IRGRP | FM_IROTH | FM_IXGRP | FM_IXOTH; in init_fs()
2080 itab0[EXT2_ROOT_INO-1].i_ctime = fs_timestamp; in init_fs()
2081 itab0[EXT2_ROOT_INO-1].i_mtime = fs_timestamp; in init_fs()
2082 itab0[EXT2_ROOT_INO-1].i_atime = fs_timestamp; in init_fs()
2083 itab0[EXT2_ROOT_INO-1].i_size = BLOCKSIZE; in init_fs()
2084 itab0[EXT2_ROOT_INO-1].i_links_count = 2; in init_fs()
2089 d->d_inode = EXT2_ROOT_INO; in init_fs()
2094 d->d_inode = EXT2_ROOT_INO; in init_fs()
[all …]
/external/grub/stage2/
Dfsys_ext2fs.c199 #define EXT2_ROOT_INO 2 /* include/linux/ext2_fs.h */ macro
500 int current_ino = EXT2_ROOT_INO; /* start at the root */ in ext2fs_dir()
656 current_ino = EXT2_ROOT_INO; in ext2fs_dir()
/external/e2fsprogs/misc/
De2initrd_helper.c85 retval = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, in get_file()
Dmke2fs.c414 retval = ext2fs_mkdir(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, 0); in create_root_dir()
420 retval = ext2fs_read_inode(fs, EXT2_ROOT_INO, &inode); in create_root_dir()
434 retval = ext2fs_write_new_inode(fs, EXT2_ROOT_INO, &inode); in create_root_dir()
452 retval = ext2fs_mkdir(fs, EXT2_ROOT_INO, 0, name); in create_lost_and_found()
459 retval = ext2fs_lookup(fs, EXT2_ROOT_INO, name, strlen(name), 0, &ino); in create_lost_and_found()
500 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/kernel-headers/original/linux/
Dext2_fs.h59 #define EXT2_ROOT_INO 2 /* Root inode */ macro
/external/e2fsprogs/ext2ed/
Dinode_com.c222 case EXT2_ROOT_INO: in type_ext2_inode___show()
/external/e2fsprogs/debugfs/
Ddebugfs.c114 root = cwd = EXT2_ROOT_INO; in open_filesystem()
273 root = cwd = EXT2_ROOT_INO; in do_init_filesys()