Home
last modified time | relevance | path

Searched refs:superblock (Results 1 – 2 of 2) sorted by relevance

/system/update_engine/payload_generator/
Ddelta_diff_utils.cc920 const uint8_t* superblock = header.data() + SUPERBLOCK_OFFSET; in IsExtFilesystem() local
924 *reinterpret_cast<const uint32_t*>(superblock + 1 * sizeof(int32_t)); in IsExtFilesystem()
928 *reinterpret_cast<const uint32_t*>(superblock + 6 * sizeof(int32_t)); in IsExtFilesystem()
932 *reinterpret_cast<const uint16_t*>(superblock + 14 * sizeof(int32_t)); in IsExtFilesystem()
/system/core/fs_mgr/
Dfs_mgr.cpp334 uint64_t superblock = blocksize * 8; in read_ext4_superblock() local
335 if (blocksize == EXT4_MIN_BLOCK_SIZE) superblock++; in read_ext4_superblock()
337 if (TEMP_FAILURE_RETRY(pread(fd, sb, sizeof(*sb), superblock * blocksize)) != in read_ext4_superblock()