Searched refs:ckpt (Results 1 – 7 of 7) sorted by relevance
254 struct f2fs_checkpoint *ckpt; member302 return (struct f2fs_checkpoint *)(sbi->ckpt); in F2FS_CKPT()357 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_size() local361 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() local378 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 …]
141 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in is_recoverable_dnode() local142 __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()
47 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in f2fs_rebuild_qf_inode() local52 __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() local129 node_blk->footer.cp_ver = ckpt->checkpoint_ver; in new_node_block()
818 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in do_fsck() local819 u32 flag = le32_to_cpu(ckpt->ckpt_flags); in do_fsck()898 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in do_dump() local899 u32 flag = le32_to_cpu(ckpt->ckpt_flags); in do_dump()1227 if (sbi->ckpt) in main()1228 free(sbi->ckpt); in main()
1186 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() local1238 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 …]
465 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in init_inode_block() local533 node_blk->footer.cp_ver = ckpt->checkpoint_ver; in init_inode_block()
94 *.ckpt