Home
last modified time | relevance | path

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

/system/extras/ext4_utils/include/ext4_utils/
Dext4_utils.h98 struct ext4_super_block* sb;
99 struct ext4_super_block* sb_block;
100 struct ext4_super_block* sb_zero;
101 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()
130 aux_info.sb_zero = (struct ext4_super_block*)calloc(1, info.block_size); in ext4_create_fs_aux_info()
138 aux_info.sb_block = (struct ext4_super_block*)calloc(1, info.block_size); in ext4_create_fs_aux_info()
142 aux_info.sb = (struct ext4_super_block*)((char*)aux_info.sb_block + 1024); in ext4_create_fs_aux_info()
147 aux_info.backup_sb = (struct ext4_super_block**)calloc(aux_info.groups, sizeof(char*)); in ext4_create_fs_aux_info()
168 void ext4_parse_sb_info(struct ext4_super_block* sb) { in ext4_parse_sb_info()
280 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.cpp287 static ext4_fsblk_t ext4_blocks_count(const struct ext4_super_block* es) { in ext4_blocks_count()
292 static ext4_fsblk_t ext4_r_blocks_count(const struct ext4_super_block* es) { in ext4_r_blocks_count()
297 static bool is_ext4_superblock_valid(const struct ext4_super_block* es) { in is_ext4_superblock_valid()
306 static bool read_ext4_superblock(const std::string& blk_device, struct ext4_super_block* sb, in read_ext4_superblock()
339 ext4_super_block sb; in fs_mgr_is_ext4()
360 const struct ext4_super_block* sb, int* fs_stat) { in tune_quota()
401 const struct ext4_super_block* sb, int* fs_stat) { in tune_reserved_size()
443 const struct ext4_super_block* sb, int* fs_stat) { in tune_encrypt()
488 const struct ext4_super_block* sb, int* fs_stat) { in tune_verity()
525 const struct ext4_super_block* sb, int* fs_stat) { in tune_casefold()
[all …]
Dfs_mgr_overlayfs.cpp1631 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()
/system/vold/
Dcryptfs.cpp564 struct ext4_super_block sb; in get_fs_size()