Home
last modified time | relevance | path

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

/external/e2fsprogs/misc/
De2undo.c61 __le32 sb_crc; /* crc32c of the superblock */ member
129 printf("super crc:\t0x%x\n", ext2fs_le32_to_cpu(hdr->sb_crc)); in dump_header()
159 __u32 sb_crc; in check_filesystem() local
192 sb_crc = ext2fs_crc32c_le(~0, (unsigned char *)buf, SUPERBLOCK_SIZE); in check_filesystem()
193 if (ext2fs_le32_to_cpu(ctx->hdr.sb_crc) != sb_crc) { in check_filesystem()
/external/e2fsprogs/lib/ext2fs/
Dundo_io.c95 __le32 sb_crc; /* crc32c of the superblock */ member
194 __u32 sb_crc, hdr_crc; in write_undo_indexes() local
227 sb_crc = ext2fs_crc32c_le(~0, (unsigned char *)&super, SUPERBLOCK_SIZE); in write_undo_indexes()
236 data->hdr.sb_crc = ext2fs_cpu_to_le32(sb_crc); in write_undo_indexes()
503 __u32 sb_crc; in check_filesystem() local
528 sb_crc = ext2fs_crc32c_le(~0, (unsigned char *)buf, SUPERBLOCK_SIZE); in check_filesystem()
529 if (ext2fs_le32_to_cpu(hdr->sb_crc) != sb_crc) { in check_filesystem()