Home
last modified time | relevance | path

Searched refs:checksum_offset (Results 1 – 7 of 7) sorted by relevance

/third_party/f2fs-tools/mkfs/
Df2fs_format.c253 set_sb(checksum_offset, 0); in f2fs_prepare_super_block()
609 set_sb(checksum_offset, SB_CHKSUM_OFFSET); in f2fs_prepare_super_block()
613 get_sb(checksum_offset), get_sb(crc)); in f2fs_prepare_super_block()
820 set_cp(checksum_offset, CP_MIN_CHKSUM_OFFSET); in f2fs_write_check_point_pack()
822 set_cp(checksum_offset, CP_CHKSUM_OFFSET); in f2fs_write_check_point_pack()
825 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in f2fs_write_check_point_pack()
1090 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in f2fs_write_check_point_pack()
/third_party/f2fs-tools/fsck/
Dresize.c534 set_cp(checksum_offset, CP_MIN_CHKSUM_OFFSET); in rebuild_checkpoint()
536 set_cp(checksum_offset, CP_CHKSUM_OFFSET); in rebuild_checkpoint()
550 *((__le32 *)((unsigned char *)new_cp + get_cp(checksum_offset))) = in rebuild_checkpoint()
Df2fs.h345 size_t crc_offset = le32_to_cpu(cp->checksum_offset); in cur_cp_crc()
384 if (le32_to_cpu(ckpt->checksum_offset) == in __bitmap_ptr()
Dmount.c405 DISP_u32(sb, checksum_offset); in print_raw_sb_info()
485 DISP_u32(cp, checksum_offset); in print_ckpt_info()
851 if (SB_CHKSUM_OFFSET != get_sb(checksum_offset)) { in verify_sb_chksum()
853 get_sb(checksum_offset)); in verify_sb_chksum()
857 get_sb(checksum_offset))) { in verify_sb_chksum()
1164 unsigned int chksum_offset = get_cp(checksum_offset); in verify_checksum_chksum()
3132 set_cp(checksum_offset, CP_MIN_CHKSUM_OFFSET); in write_checkpoint()
3134 set_cp(checksum_offset, CP_CHKSUM_OFFSET); in write_checkpoint()
3155 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in write_checkpoint()
Dfsck.c2179 if (get_cp(checksum_offset) != CP_MIN_CHKSUM_OFFSET) { in fsck_chk_checkpoint()
2181 "chksum_offset:%u", get_cp(checksum_offset)); in fsck_chk_checkpoint()
2336 set_cp(checksum_offset, CP_MIN_CHKSUM_OFFSET); in fix_checkpoint()
2338 set_cp(checksum_offset, CP_CHKSUM_OFFSET); in fix_checkpoint()
2359 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in fix_checkpoint()
/third_party/f2fs-tools/include/
Df2fs_fs.h809 __le32 checksum_offset; /* checksum offset inside super block */ member
893 __le32 checksum_offset; /* checksum offset inside cp block */ member
1656 size_t crc_offset = get_cp(checksum_offset); in get_cp_crc()
/third_party/f2fs-tools/lib/
Dlibf2fs.c581 unsigned int chksum_ofs = le32_to_cpu(cp->checksum_offset); in f2fs_checkpoint_chksum()