Home
last modified time | relevance | path

Searched refs:blk_crc (Results 1 – 4 of 4) sorted by relevance

/third_party/e2fsprogs/misc/
De2undo.c76 __le32 blk_crc; /* crc32c of the block */ member
97 __u32 blk_crc; member
313 __u32 key_crc, blk_crc, hdr_crc; in main() local
548 ikey->blk_crc = ext2fs_le32_to_cpu(dkey->blk_crc); in main()
577 blk_crc = ext2fs_crc32c_le(~0, (unsigned char *)buf, in main()
579 if (blk_crc != ikey->blk_crc) { in main()
/third_party/e2fsprogs/lib/ext2fs/
Dundo_io.c110 __le32 blk_crc; /* crc32c of the block */ member
333 __u32 blk_crc; in undo_write_tdb() local
442 blk_crc = ext2fs_le32_to_cpu(key->blk_crc); in undo_write_tdb()
443 blk_crc = ext2fs_crc32c_le(blk_crc, read_ptr, data_size); in undo_write_tdb()
444 key->blk_crc = ext2fs_cpu_to_le32(blk_crc); in undo_write_tdb()
451 blk_crc = ext2fs_crc32c_le(~0, read_ptr, data_size); in undo_write_tdb()
452 key->blk_crc = ext2fs_cpu_to_le32(blk_crc); in undo_write_tdb()
/third_party/f2fs-tools/lib/
Dlibf2fs.c540 int f2fs_crc_valid(u_int32_t blk_crc, void *buf, int len) in f2fs_crc_valid() argument
546 if (cal_crc != blk_crc) { in f2fs_crc_valid()
549 cal_crc, blk_crc, len); in f2fs_crc_valid()
/third_party/f2fs-tools/include/
Df2fs_fs.h1215 extern int f2fs_crc_valid(u_int32_t blk_crc, void *buf, int len);