Home
last modified time | relevance | path

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

/third_party/f2fs-tools/fsck/
Df2fs.h254 struct f2fs_checkpoint *ckpt; member
302 return (struct f2fs_checkpoint *)(sbi->ckpt); in F2FS_CKPT()
357 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_size() local
361 return le32_to_cpu(ckpt->nat_ver_bitmap_bytesize); in __bitmap_size()
363 return le32_to_cpu(ckpt->sit_ver_bitmap_bytesize); in __bitmap_size()
375 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_ptr() local
378 if (is_set_ckpt_flags(ckpt, CP_LARGE_NAT_BITMAP_FLAG)) { in __bitmap_ptr()
382 le32_to_cpu(ckpt->nat_ver_bitmap_bytesize) : 0; in __bitmap_ptr()
384 if (le32_to_cpu(ckpt->checksum_offset) == in __bitmap_ptr()
388 return &ckpt->sit_nat_version_bitmap[offset + chksum_size]; in __bitmap_ptr()
[all …]
Dnode.h141 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in is_recoverable_dnode() local
142 __u64 cp_ver = cur_cp_version(ckpt); in is_recoverable_dnode()
145 if (is_set_ckpt_flags(ckpt, CP_NOCRC_RECOVERY_FLAG)) in is_recoverable_dnode()
148 if (is_set_ckpt_flags(ckpt, CP_CRC_RECOVERY_FLAG)) in is_recoverable_dnode()
149 cp_ver |= (cur_cp_crc(ckpt) << 32); in is_recoverable_dnode()
Dnode.c47 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in f2fs_rebuild_qf_inode() local
52 __u64 cp_ver = cur_cp_version(ckpt); in f2fs_rebuild_qf_inode()
62 if (is_set_ckpt_flags(ckpt, CP_CRC_RECOVERY_FLAG)) in f2fs_rebuild_qf_inode()
63 cp_ver |= (cur_cp_crc(ckpt) << 32); in f2fs_rebuild_qf_inode()
114 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in new_node_block() local
129 node_blk->footer.cp_ver = ckpt->checkpoint_ver; in new_node_block()
Dmain.c818 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in do_fsck() local
819 u32 flag = le32_to_cpu(ckpt->ckpt_flags); in do_fsck()
898 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in do_dump() local
899 u32 flag = le32_to_cpu(ckpt->ckpt_flags); in do_dump()
1227 if (sbi->ckpt) in main()
1228 free(sbi->ckpt); in main()
Dmount.c1186 sbi->ckpt = malloc(cp_blks * blk_size); in get_valid_checkpoint()
1187 if (!sbi->ckpt) in get_valid_checkpoint()
1223 memcpy(sbi->ckpt, cur_page, blk_size); in get_valid_checkpoint()
1235 unsigned char *ckpt = (unsigned char *)sbi->ckpt; in get_valid_checkpoint() local
1238 memcpy(ckpt + i * blk_size, cur_page, blk_size); in get_valid_checkpoint()
1248 free(sbi->ckpt); in get_valid_checkpoint()
1249 sbi->ckpt = NULL; in get_valid_checkpoint()
2479 if (le32_to_cpu(sbi->ckpt->cur_node_segno[0]) == segno || in build_sit_area_bitmap()
2480 le32_to_cpu(sbi->ckpt->cur_data_segno[0]) == segno || in build_sit_area_bitmap()
2481 le32_to_cpu(sbi->ckpt->cur_node_segno[1]) == segno || in build_sit_area_bitmap()
[all …]
Ddir.c465 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in init_inode_block() local
533 node_blk->footer.cp_ver = ckpt->checkpoint_ver; in init_inode_block()
/third_party/mindspore/
D.gitignore94 *.ckpt