Home
last modified time | relevance | path

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

/external/f2fs-tools/lib/
Dlibf2fs.c486 u_int32_t f2fs_cal_crc32(u_int32_t crc, void *buf, int len) in f2fs_cal_crc32() function
502 cal_crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, buf, len); in f2fs_crc_valid()
523 chksum = f2fs_cal_crc32(c.chksum_seed, (__u8 *)&ino, in f2fs_inode_chksum()
525 chksum_seed = f2fs_cal_crc32(chksum, (__u8 *)&gen, sizeof(gen)); in f2fs_inode_chksum()
527 chksum = f2fs_cal_crc32(chksum_seed, (__u8 *)ri, offset); in f2fs_inode_chksum()
528 chksum = f2fs_cal_crc32(chksum, (__u8 *)&dummy_cs, cs_size); in f2fs_inode_chksum()
530 chksum = f2fs_cal_crc32(chksum, (__u8 *)ri + offset, in f2fs_inode_chksum()
/external/f2fs-tools/mkfs/
Df2fs_format.c435 c.chksum_seed = f2fs_cal_crc32(~0, sb->uuid, sizeof(sb->uuid)); in f2fs_prepare_super_block()
509 set_sb(crc, f2fs_cal_crc32(F2FS_SUPER_MAGIC, sb, in f2fs_prepare_super_block()
697 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, CP_CHKSUM_OFFSET); in f2fs_write_check_point_pack()
943 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, CP_CHKSUM_OFFSET); in f2fs_write_check_point_pack()
/external/f2fs-tools/fsck/
Dresize.c523 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, new_cp, CP_CHKSUM_OFFSET); in rebuild_checkpoint()
Dmount.c497 new_crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, sb, in update_superblock()
2376 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, CP_CHKSUM_OFFSET); in write_checkpoint()
2654 c.chksum_seed = f2fs_cal_crc32(~0, sb->uuid, sizeof(sb->uuid)); in f2fs_do_mount()
Dfsck.c2059 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, CP_CHKSUM_OFFSET); in fix_checkpoint()
/external/f2fs-tools/include/
Df2fs_fs.h1147 extern u_int32_t f2fs_cal_crc32(u_int32_t, void *, int);