Searched refs:checksum_offset (Results 1 – 7 of 7) sorted by relevance
/third_party/f2fs-tools/mkfs/ |
D | f2fs_format.c | 253 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() 812 set_cp(checksum_offset, CP_MIN_CHKSUM_OFFSET); in f2fs_write_check_point_pack() 814 set_cp(checksum_offset, CP_CHKSUM_OFFSET); in f2fs_write_check_point_pack() 817 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in f2fs_write_check_point_pack() 1082 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in f2fs_write_check_point_pack()
|
/third_party/f2fs-tools/fsck/ |
D | resize.c | 522 set_cp(checksum_offset, CP_MIN_CHKSUM_OFFSET); in rebuild_checkpoint() 524 set_cp(checksum_offset, CP_CHKSUM_OFFSET); in rebuild_checkpoint() 538 *((__le32 *)((unsigned char *)new_cp + get_cp(checksum_offset))) = in rebuild_checkpoint()
|
D | f2fs.h | 345 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()
|
D | mount.c | 404 DISP_u32(sb, checksum_offset); in print_raw_sb_info() 484 DISP_u32(cp, checksum_offset); in print_ckpt_info() 786 if (SB_CHKSUM_OFFSET != get_sb(checksum_offset)) { in verify_sb_chksum() 788 get_sb(checksum_offset)); in verify_sb_chksum() 792 get_sb(checksum_offset))) { in verify_sb_chksum() 1095 unsigned int chksum_offset = get_cp(checksum_offset); in verify_checksum_chksum() 3028 set_cp(checksum_offset, CP_MIN_CHKSUM_OFFSET); in write_checkpoint() 3030 set_cp(checksum_offset, CP_CHKSUM_OFFSET); in write_checkpoint() 3051 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in write_checkpoint()
|
D | fsck.c | 2174 if (get_cp(checksum_offset) != CP_MIN_CHKSUM_OFFSET) { in fsck_chk_checkpoint() 2176 "chksum_offset:%u", get_cp(checksum_offset)); in fsck_chk_checkpoint() 2331 set_cp(checksum_offset, CP_MIN_CHKSUM_OFFSET); in fix_checkpoint() 2333 set_cp(checksum_offset, CP_CHKSUM_OFFSET); in fix_checkpoint() 2354 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in fix_checkpoint()
|
/third_party/f2fs-tools/include/ |
D | f2fs_fs.h | 769 __le32 checksum_offset; /* checksum offset inside super block */ member 851 __le32 checksum_offset; /* checksum offset inside cp block */ member 1604 size_t crc_offset = get_cp(checksum_offset); in get_cp_crc()
|
/third_party/f2fs-tools/lib/ |
D | libf2fs.c | 584 unsigned int chksum_ofs = le32_to_cpu(cp->checksum_offset); in f2fs_checkpoint_chksum()
|