Searched refs:f2fs_cal_crc32 (Results 1 – 4 of 4) sorted by relevance
/third_party/f2fs-tools/lib/ |
D | libf2fs.c | 533 uint32_t f2fs_cal_crc32(uint32_t crc, void *buf, int len) in f2fs_cal_crc32() function 549 cal_crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, buf, len); in f2fs_crc_valid() 570 chksum = f2fs_cal_crc32(c.chksum_seed, (__u8 *)&ino, in f2fs_inode_chksum() 572 chksum_seed = f2fs_cal_crc32(chksum, (__u8 *)&gen, sizeof(gen)); in f2fs_inode_chksum() 574 chksum = f2fs_cal_crc32(chksum_seed, (__u8 *)ri, offset); in f2fs_inode_chksum() 575 chksum = f2fs_cal_crc32(chksum, (__u8 *)&dummy_cs, cs_size); in f2fs_inode_chksum() 577 chksum = f2fs_cal_crc32(chksum, (__u8 *)ri + offset, in f2fs_inode_chksum() 587 chksum = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, chksum_ofs); in f2fs_checkpoint_chksum() 590 chksum = f2fs_cal_crc32(chksum, (__u8 *)cp + chksum_ofs, in f2fs_checkpoint_chksum()
|
/third_party/f2fs-tools/mkfs/ |
D | f2fs_format.c | 517 c.chksum_seed = f2fs_cal_crc32(~0, sb->uuid, sizeof(sb->uuid)); in f2fs_prepare_super_block() 610 set_sb(crc, f2fs_cal_crc32(F2FS_SUPER_MAGIC, sb, in f2fs_prepare_super_block()
|
/third_party/f2fs-tools/include/ |
D | f2fs_fs.h | 1401 extern uint32_t f2fs_cal_crc32(uint32_t, void *, int);
|
/third_party/f2fs-tools/fsck/ |
D | mount.c | 685 new_crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, sb, in update_superblock() 3644 c.chksum_seed = f2fs_cal_crc32(~0, sb->uuid, sizeof(sb->uuid)); in f2fs_do_mount()
|