Searched refs:CP_CHKSUM_OFFSET (Results 1 – 5 of 5) sorted by relevance
/external/f2fs-tools/fsck/ |
D | resize.c | 93 max_nat_bitmap_size = CP_CHKSUM_OFFSET - sizeof(struct f2fs_checkpoint) + 1; in get_new_sb() 96 max_nat_bitmap_size = CP_CHKSUM_OFFSET - sizeof(struct f2fs_checkpoint) + 1 in get_new_sb() 523 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, new_cp, CP_CHKSUM_OFFSET); in rebuild_checkpoint() 524 *((__le32 *)((unsigned char *)new_cp + CP_CHKSUM_OFFSET)) = in rebuild_checkpoint()
|
D | fsck.c | 2059 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, CP_CHKSUM_OFFSET); in fix_checkpoint() 2060 *((__le32 *)((unsigned char *)cp + CP_CHKSUM_OFFSET)) = cpu_to_le32(crc); in fix_checkpoint()
|
D | mount.c | 2376 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, CP_CHKSUM_OFFSET); in write_checkpoint() 2377 *((__le32 *)((unsigned char *)cp + CP_CHKSUM_OFFSET)) = cpu_to_le32(crc); in write_checkpoint()
|
/external/f2fs-tools/mkfs/ |
D | f2fs_format.c | 345 max_nat_bitmap_size = CP_CHKSUM_OFFSET - in f2fs_prepare_super_block() 350 CP_CHKSUM_OFFSET - sizeof(struct f2fs_checkpoint) + 1 in f2fs_prepare_super_block() 695 set_cp(checksum_offset, CP_CHKSUM_OFFSET); in f2fs_write_check_point_pack() 697 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, CP_CHKSUM_OFFSET); in f2fs_write_check_point_pack() 698 *((__le32 *)((unsigned char *)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() 944 *((__le32 *)((unsigned char *)cp + CP_CHKSUM_OFFSET)) = in f2fs_write_check_point_pack()
|
/external/f2fs-tools/include/ |
D | f2fs_fs.h | 283 #define CP_CHKSUM_OFFSET 4092 macro 696 (CP_CHKSUM_OFFSET - sizeof(struct f2fs_checkpoint) + 1 - 64) 698 (CP_CHKSUM_OFFSET - sizeof(struct f2fs_checkpoint) + 1)
|