Searched refs:superblock (Results 1 – 2 of 2) sorted by relevance
920 const uint8_t* superblock = header.data() + SUPERBLOCK_OFFSET; in IsExtFilesystem() local924 *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()
334 uint64_t superblock = blocksize * 8; in read_ext4_superblock() local335 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()