Home
last modified time | relevance | path

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

/third_party/f2fs-tools/mkfs/
Df2fs_format.c238 set_sb(checksum_offset, 0); in f2fs_prepare_super_block()
545 set_sb(checksum_offset, SB_CHKSUM_OFFSET); in f2fs_prepare_super_block()
549 get_sb(checksum_offset), get_sb(crc)); in f2fs_prepare_super_block()
742 set_cp(checksum_offset, CP_MIN_CHKSUM_OFFSET); in f2fs_write_check_point_pack()
744 set_cp(checksum_offset, CP_CHKSUM_OFFSET); in f2fs_write_check_point_pack()
747 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in f2fs_write_check_point_pack()
993 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in f2fs_write_check_point_pack()
/third_party/f2fs-tools/fsck/
Dresize.c521 set_cp(checksum_offset, CP_MIN_CHKSUM_OFFSET); in rebuild_checkpoint()
523 set_cp(checksum_offset, CP_CHKSUM_OFFSET); in rebuild_checkpoint()
532 *((__le32 *)((unsigned char *)new_cp + get_cp(checksum_offset))) = in rebuild_checkpoint()
Df2fs.h331 size_t crc_offset = le32_to_cpu(cp->checksum_offset); in cur_cp_crc()
370 if (le32_to_cpu(ckpt->checksum_offset) == in __bitmap_ptr()
Dmount.c398 DISP_u32(sb, checksum_offset); in print_raw_sb_info()
476 DISP_u32(cp, checksum_offset); in print_ckpt_info()
780 if (SB_CHKSUM_OFFSET != get_sb(checksum_offset)) { in verify_sb_chksum()
782 get_sb(checksum_offset)); in verify_sb_chksum()
786 get_sb(checksum_offset))) { in verify_sb_chksum()
1048 unsigned int chksum_offset = get_cp(checksum_offset); in verify_checksum_chksum()
2969 set_cp(checksum_offset, CP_MIN_CHKSUM_OFFSET); in write_checkpoint()
2971 set_cp(checksum_offset, CP_CHKSUM_OFFSET); in write_checkpoint()
2992 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in write_checkpoint()
Dfsck.c2008 if (get_cp(checksum_offset) != CP_MIN_CHKSUM_OFFSET) { in fsck_chk_checkpoint()
2010 "chksum_offset:%u", get_cp(checksum_offset)); in fsck_chk_checkpoint()
2159 set_cp(checksum_offset, CP_MIN_CHKSUM_OFFSET); in fix_checkpoint()
2161 set_cp(checksum_offset, CP_CHKSUM_OFFSET); in fix_checkpoint()
2182 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in fix_checkpoint()
/third_party/f2fs-tools/include/
Df2fs_fs.h645 __le32 checksum_offset; /* checksum offset inside super block */ member
724 __le32 checksum_offset; /* checksum offset inside cp block */ member
1417 size_t crc_offset = get_cp(checksum_offset); in get_cp_crc()
/third_party/e2fsprogs/lib/blkid/
Dprobe.h744 __u32 checksum_offset; /* checksum offset inside super block */ member
/third_party/f2fs-tools/lib/
Dlibf2fs.c579 unsigned int chksum_ofs = le32_to_cpu(cp->checksum_offset); in f2fs_checkpoint_chksum()