Home
last modified time | relevance | path

Searched refs:ext4_super_block (Results 1 – 9 of 9) sorted by relevance

/system/extras/ext4_utils/include/ext4_utils/
Dext4_utils.h86 struct ext4_super_block* sb;
87 struct ext4_super_block* sb_block;
88 struct ext4_super_block* sb_zero;
89 struct ext4_super_block** backup_sb;
Dext4_sb.h52 int ext4_parse_sb(struct ext4_super_block* sb, struct fs_info* info);
Dext4.h415 struct ext4_super_block { struct
/system/extras/ext4_utils/
Dext4_utils.cpp85 void read_sb(int fd, struct ext4_super_block* sb) { in read_sb()
127 aux_info.sb_zero = (struct ext4_super_block*)calloc(1, info.block_size); in ext4_create_fs_aux_info()
135 aux_info.sb_block = (struct ext4_super_block*)calloc(1, info.block_size); in ext4_create_fs_aux_info()
139 aux_info.sb = (struct ext4_super_block*)((char*)aux_info.sb_block + 1024); in ext4_create_fs_aux_info()
145 (struct ext4_super_block**)calloc(aux_info.groups, sizeof(struct ext4_super_block*)); in ext4_create_fs_aux_info()
166 void ext4_parse_sb_info(struct ext4_super_block* sb) { in ext4_parse_sb_info()
278 struct ext4_super_block sb; in read_ext()
Dext4_sb.cpp21 int ext4_parse_sb(struct ext4_super_block* sb, struct fs_info* info) { in ext4_parse_sb()
/system/extras/tests/fstest/
Drecovery_test.cpp81 bool getSuperBlock(const int blk_fd, struct ext4_super_block* sb) { in getSuperBlock()
102 struct ext4_super_block sb; in setSbErrorBit()
132 struct ext4_super_block sb; in corruptGdtFreeBlock()
312 struct ext4_super_block sb; in TEST_F()
/system/core/fs_mgr/
Dfs_mgr.cpp299 static ext4_fsblk_t ext4_blocks_count(const struct ext4_super_block* es) { in ext4_blocks_count()
304 static ext4_fsblk_t ext4_r_blocks_count(const struct ext4_super_block* es) { in ext4_r_blocks_count()
309 static bool is_ext4_superblock_valid(const struct ext4_super_block* es) { in is_ext4_superblock_valid()
318 static bool read_ext4_superblock(const std::string& blk_device, struct ext4_super_block* sb, in read_ext4_superblock()
351 ext4_super_block sb; in fs_mgr_is_ext4()
372 const struct ext4_super_block* sb, int* fs_stat) { in tune_quota()
413 const struct ext4_super_block* sb, int* fs_stat) { in tune_reserved_size()
455 const struct ext4_super_block* sb, int* fs_stat) { in tune_encrypt()
500 const struct ext4_super_block* sb, int* fs_stat) { in tune_verity()
537 const struct ext4_super_block* sb, int* fs_stat) { in tune_casefold()
[all …]
Dfs_mgr_overlayfs_mount.cpp165 struct ext4_super_block sb; in fs_mgr_has_shared_blocks()
/system/extras/libfec/
Dfec_open.cpp251 check(f->size > 1024 + sizeof(ext4_super_block)); in get_ext4_size()
254 ext4_super_block sb; in get_ext4_size()