Home
last modified time | relevance | path

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

/third_party/e2fsprogs/e2fsck/
Dpass3.c92 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()
[all …]
Dquota.c56 retval = ext2fs_unlink(fs, EXT2_ROOT_INO, qf_name, from_ino, 0); in move_quota_inode()
114 (pctx.ino == EXT2_ROOT_INO) || in e2fsck_validate_quota_inodes()
Dpass2.c172 (void) e2fsck_dir_info_set_parent(ctx, EXT2_ROOT_INO, EXT2_ROOT_INO); in e2fsck_pass2()
509 dirent->inode = EXT2_ROOT_INO; in check_dotdot()
1211 EXT2_ROOT_INO, &buf2); in check_dir_block()
1442 if (((dirent->inode != EXT2_ROOT_INO) && in check_dir_block()
1475 (dirent->inode == EXT2_ROOT_INO)) { in check_dir_block()
2122 EXT2_ROOT_INO, &block); in allocate_dir_block()
Dextents.c34 (ino != EXT2_ROOT_INO && ino < ctx->fs->super->s_first_ino)) in e2fsck_rebuild_extents_later()
387 (ino != EXT2_ROOT_INO && ino < ctx->fs->super->s_first_ino)) in e2fsck_rebuild_extents()
Dpass4.c196 (i > EXT2_ROOT_INO && i < EXT2_FIRST_INODE(fs->super))) in e2fsck_pass4()
Dpass1b.c153 if (ino == EXT2_ROOT_INO) { in add_dupe()
154 di->dir = EXT2_ROOT_INO; in add_dupe()
365 ino == EXT2_ROOT_INO) in pass1b()
Dpass1.c724 dotdot != EXT2_ROOT_INO) || in check_is_really_dir()
884 if (ext2fs_test_inode_bitmap2(ctx->inode_used_map, EXT2_ROOT_INO)) in reserve_block_for_root_repair()
903 if (!ext2fs_lookup(fs, EXT2_ROOT_INO, name, sizeof(name)-1, 0, &ino)) in reserve_block_for_lnf_repair()
1599 (ino == EXT2_ROOT_INO) || (ino == EXT2_JOURNAL_INO))) { in e2fsck_pass1()
1627 (ino == EXT2_ROOT_INO) || (ino == EXT2_JOURNAL_INO)) && in e2fsck_pass1()
1701 } else if (ino == EXT2_ROOT_INO) { in e2fsck_pass1()
3485 (ino == EXT2_ROOT_INO || ino >= EXT2_FIRST_INODE(ctx->fs->super)) && in check_blocks()
3594 (ino == EXT2_ROOT_INO || ino >= EXT2_FIRST_INO(fs->super)) && in check_blocks()
Djournal.c1794 retval = ext2fs_lookup(fs, EXT2_ROOT_INO, *cpp, in e2fsck_move_ext3_journal()
1816 if ((retval = ext2fs_unlink(fs, EXT2_ROOT_INO, *cpp, ino, 0)) != 0) in e2fsck_move_ext3_journal()
/third_party/e2fsprogs/misc/
Dfuse2fs.c813 err = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, path, &ino); in op_getattr()
840 err = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, path, &ino); in op_readlink()
937 err = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, temp_path, in op_mknod()
1068 err = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, temp_path, in op_mkdir()
1110 err = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, temp_path, in op_mkdir()
1183 err = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, filename, in unlink_file_by_name()
1190 dir = EXT2_ROOT_INO; in unlink_file_by_name()
1280 err = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, path, &ino); in __op_unlink()
1347 err = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, path, &child); in __op_rmdir()
1450 err = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, temp_path, in op_symlink()
[all …]
Dcheck_fuzzer.c52 retval = ext2fs_check_directory(fs, EXT2_ROOT_INO); in main()
De2initrd_helper.c86 retval = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, in get_file()
Dmke2fs.c471 retval = ext2fs_mkdir(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, 0); in create_root_dir()
478 retval = ext2fs_read_inode(fs, EXT2_ROOT_INO, &inode); in create_root_dir()
490 retval = ext2fs_write_new_inode(fs, EXT2_ROOT_INO, &inode); in create_root_dir()
508 retval = ext2fs_mkdir(fs, EXT2_ROOT_INO, 0, name); in create_lost_and_found()
515 retval = ext2fs_lookup(fs, EXT2_ROOT_INO, name, strlen(name), 0, &ino); in create_lost_and_found()
556 for (i = EXT2_ROOT_INO + 1; i < EXT2_FIRST_INODE(fs->super); i++) in reserve_inodes()
3483 retval = populate_fs(fs, EXT2_ROOT_INO, src_root_dir, in main()
3484 EXT2_ROOT_INO); in main()
Dmk_hugefiles.c213 ext2_ino_t ino = EXT2_ROOT_INO; in create_directory()
Dcreate_inode.c950 if (parent_ino == EXT2_ROOT_INO && in __populate_fs()
/third_party/e2fsprogs/contrib/android/
De2fsdroid.c319 retval = populate_fs2(fs, EXT2_ROOT_INO, src_dir, in main()
320 EXT2_ROOT_INO, &fs_callbacks); in main()
Dperms.c316 retval = androidify_inode(fs, EXT2_ROOT_INO, &params); in __android_configure_fs()
320 retval = ext2fs_dir_iterate2(fs, EXT2_ROOT_INO, 0, NULL, walk_dir, in __android_configure_fs()
Dfsmap.c165 retval = ext2fs_dir_iterate2(fs, EXT2_ROOT_INO, 0, NULL, walk_ext_dir, &pdata); in fsmap_iter_filsys()
/third_party/e2fsprogs/lib/ext2fs/
Dget_pathname.c83 strcpy(*name, (dir == EXT2_ROOT_INO) ? "/" : "."); in ext2fs_get_pathname_int()
Dext2_fs.h67 #define EXT2_ROOT_INO 2 /* Root inode */ macro
/third_party/e2fsprogs/lib/support/
Dmkquota.c83 ret = ext2fs_lookup(fs, EXT2_ROOT_INO, qf_name, strlen(qf_name), 0, in quota_file_exists()
508 if (ino == EXT2_ROOT_INO || in quota_compute_usage()
Dquotaio.c322 err = ext2fs_new_inode(fs, EXT2_ROOT_INO, LINUX_S_IFREG | 0600, in quota_file_create()
/third_party/e2fsprogs/ext2ed/
Dinode_com.c223 case EXT2_ROOT_INO: in type_ext2_inode___show()
/third_party/e2fsprogs/debugfs/
Ddebugfs.c218 root = cwd = EXT2_ROOT_INO; in open_filesystem()
401 root = cwd = EXT2_ROOT_INO; in do_init_filesys()