Home
last modified time | relevance | path

Searched refs:f2fs_cal_crc32 (Results 1 – 6 of 6) sorted by relevance

/external/f2fs-tools/lib/
Dlibf2fs.c485 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/
Df2fs_format.c384 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/
Dresize.c487 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, new_cp, CHECKSUM_OFFSET); in rebuild_checkpoint()
Dmount.c2098 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()
Dfsck.c1947 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, CHECKSUM_OFFSET); in fix_checkpoint()
/external/f2fs-tools/include/
Df2fs_fs.h1096 extern u_int32_t f2fs_cal_crc32(u_int32_t, void *, int);