Home
last modified time | relevance | path

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

/external/e2fsprogs/e2fsck/
Dpass3.c92 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()
[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.c167 (void) e2fsck_dir_info_set_parent(ctx, EXT2_ROOT_INO, EXT2_ROOT_INO); in e2fsck_pass2()
464 dirent->inode = EXT2_ROOT_INO; in check_dotdot()
1062 EXT2_ROOT_INO, &buf2); in check_dir_block()
1274 if (((dirent->inode != EXT2_ROOT_INO) && in check_dir_block()
1304 (dirent->inode == EXT2_ROOT_INO)) { in check_dir_block()
1925 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()
335 (ino != EXT2_ROOT_INO && ino < ctx->fs->super->s_first_ino)) in e2fsck_rebuild_extents()
Dpass1b.c152 if (ino == EXT2_ROOT_INO) { in add_dupe()
153 di->dir = EXT2_ROOT_INO; in add_dupe()
364 ino == EXT2_ROOT_INO) in pass1b()
Dpass4.c196 (i > EXT2_ROOT_INO && i < EXT2_FIRST_INODE(fs->super))) in e2fsck_pass4()
Dpass1.c731 dotdot != EXT2_ROOT_INO) || in check_is_really_dir()
891 if (ext2fs_test_inode_bitmap2(ctx->inode_used_map, EXT2_ROOT_INO)) in reserve_block_for_root_repair()
910 if (!ext2fs_lookup(fs, EXT2_ROOT_INO, name, sizeof(name)-1, 0, &ino)) in reserve_block_for_lnf_repair()
1587 (ino == EXT2_ROOT_INO) || (ino == EXT2_JOURNAL_INO))) { in e2fsck_pass1()
1615 (ino == EXT2_ROOT_INO) || (ino == EXT2_JOURNAL_INO)) && in e2fsck_pass1()
1689 } else if (ino == EXT2_ROOT_INO) { in e2fsck_pass1()
3398 (ino == EXT2_ROOT_INO || ino >= EXT2_FIRST_INODE(ctx->fs->super)) && in check_blocks()
3508 (ino == EXT2_ROOT_INO || ino >= EXT2_FIRST_INO(fs->super)) && in check_blocks()
Djournal.c1099 retval = ext2fs_lookup(fs, EXT2_ROOT_INO, *cpp, in e2fsck_move_ext3_journal()
1121 if ((retval = ext2fs_unlink(fs, EXT2_ROOT_INO, *cpp, ino, 0)) != 0) in e2fsck_move_ext3_journal()
/external/e2fsprogs/misc/
Dfuse2fs.c826 err = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, path, &ino); in op_getattr()
853 err = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, path, &ino); in op_readlink()
950 err = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, temp_path, in op_mknod()
1079 err = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, temp_path, in op_mkdir()
1121 err = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, temp_path, in op_mkdir()
1192 err = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, filename, in unlink_file_by_name()
1199 dir = EXT2_ROOT_INO; in unlink_file_by_name()
1289 err = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, path, &ino); in __op_unlink()
1356 err = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, path, &child); in __op_rmdir()
1459 err = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, temp_path, in op_symlink()
[all …]
De2initrd_helper.c86 retval = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, in get_file()
Dmke2fs.c468 retval = ext2fs_mkdir(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, 0); in create_root_dir()
475 retval = ext2fs_read_inode(fs, EXT2_ROOT_INO, &inode); in create_root_dir()
487 retval = ext2fs_write_new_inode(fs, EXT2_ROOT_INO, &inode); in create_root_dir()
505 retval = ext2fs_mkdir(fs, EXT2_ROOT_INO, 0, name); in create_lost_and_found()
512 retval = ext2fs_lookup(fs, EXT2_ROOT_INO, name, strlen(name), 0, &ino); in create_lost_and_found()
553 for (i = EXT2_ROOT_INO + 1; i < EXT2_FIRST_INODE(fs->super); i++) in reserve_inodes()
3292 retval = populate_fs(fs, EXT2_ROOT_INO, src_root_dir, in main()
3293 EXT2_ROOT_INO); in main()
Dmk_hugefiles.c213 ext2_ino_t ino = EXT2_ROOT_INO; in create_directory()
Dcreate_inode.c924 if (parent_ino == EXT2_ROOT_INO && in __populate_fs()
/external/e2fsprogs/contrib/android/
De2fsdroid.c315 retval = populate_fs2(fs, EXT2_ROOT_INO, src_dir, in main()
316 EXT2_ROOT_INO, &fs_callbacks); in main()
Dperms.c315 retval = androidify_inode(fs, EXT2_ROOT_INO, &params); in __android_configure_fs()
319 retval = ext2fs_dir_iterate2(fs, EXT2_ROOT_INO, 0, NULL, walk_dir, in __android_configure_fs()
Dfsmap.c115 retval = ext2fs_dir_iterate2(fs, EXT2_ROOT_INO, 0, NULL, walk_ext_dir, &pdata); in fsmap_iter_filsys()
/external/e2fsprogs/lib/ext2fs/
Dget_pathname.c83 strcpy(*name, (dir == EXT2_ROOT_INO) ? "/" : "."); in ext2fs_get_pathname_int()
Dext2_fs.h55 #define EXT2_ROOT_INO 2 /* Root inode */ macro
/external/u-boot/include/
Dext_common.h45 #define EXT2_ROOT_INO 2 /* Root inode */ macro
/external/e2fsprogs/lib/support/
Dmkquota.c83 ret = ext2fs_lookup(fs, EXT2_ROOT_INO, qf_name, strlen(qf_name), 0, in quota_file_exists()
504 (ino == EXT2_ROOT_INO || in quota_compute_usage()
Dquotaio.c347 err = ext2fs_new_inode(fs, EXT2_ROOT_INO, LINUX_S_IFREG | 0600, in quota_file_create()
/external/e2fsprogs/ext2ed/
Dinode_com.c223 case EXT2_ROOT_INO: in type_ext2_inode___show()
/external/u-boot/fs/ext4/
Dext4_common.c797 result_inode_no = EXT2_ROOT_INO; in ext4fs_get_parent_inode_num()
802 result_inode_no = EXT2_ROOT_INO; in ext4fs_get_parent_inode_num()
/external/e2fsprogs/debugfs/
Ddebugfs.c212 root = cwd = EXT2_ROOT_INO; in open_filesystem()
389 root = cwd = EXT2_ROOT_INO; in do_init_filesys()