Searched refs:checksum_offset (Results 1 – 8 of 8) sorted by relevance
/third_party/f2fs-tools/mkfs/ |
D | f2fs_format.c | 238 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/ |
D | resize.c | 521 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()
|
D | f2fs.h | 331 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()
|
D | mount.c | 398 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()
|
D | fsck.c | 2008 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/ |
D | f2fs_fs.h | 645 __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/ |
D | probe.h | 744 __u32 checksum_offset; /* checksum offset inside super block */ member
|
/third_party/f2fs-tools/lib/ |
D | libf2fs.c | 579 unsigned int chksum_ofs = le32_to_cpu(cp->checksum_offset); in f2fs_checkpoint_chksum()
|