Searched refs:f2fs_cal_crc32 (Results 1 – 6 of 6) sorted by relevance
/external/f2fs-tools/lib/ |
D | libf2fs.c | 485 u_int32_t f2fs_cal_crc32(u_int32_t crc, void *buf, int len) in f2fs_cal_crc32() function 501 cal_crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, buf, len); in f2fs_crc_valid() 522 chksum = f2fs_cal_crc32(c.chksum_seed, (__u8 *)&ino, in f2fs_inode_chksum() 524 chksum_seed = f2fs_cal_crc32(chksum, (__u8 *)&gen, sizeof(gen)); in f2fs_inode_chksum() 526 chksum = f2fs_cal_crc32(chksum_seed, (__u8 *)ri, offset); in f2fs_inode_chksum() 527 chksum = f2fs_cal_crc32(chksum, (__u8 *)&dummy_cs, cs_size); in f2fs_inode_chksum() 529 chksum = f2fs_cal_crc32(chksum, (__u8 *)ri + offset, in f2fs_inode_chksum()
|
/external/f2fs-tools/mkfs/ |
D | f2fs_format.c | 384 c.chksum_seed = f2fs_cal_crc32(~0, sb->uuid, sizeof(sb->uuid)); in f2fs_prepare_super_block() 639 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, CHECKSUM_OFFSET); in f2fs_write_check_point_pack() 860 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, CHECKSUM_OFFSET); in f2fs_write_check_point_pack()
|
/external/f2fs-tools/fsck/ |
D | resize.c | 487 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, new_cp, CHECKSUM_OFFSET); in rebuild_checkpoint()
|
D | mount.c | 2098 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, CHECKSUM_OFFSET); in write_checkpoint() 2366 c.chksum_seed = f2fs_cal_crc32(~0, sb->uuid, sizeof(sb->uuid)); in f2fs_do_mount()
|
D | fsck.c | 1947 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, CHECKSUM_OFFSET); in fix_checkpoint()
|
/external/f2fs-tools/include/ |
D | f2fs_fs.h | 1096 extern u_int32_t f2fs_cal_crc32(u_int32_t, void *, int);
|