Searched refs:ckpt (Results 1 – 6 of 6) sorted by relevance
170 struct f2fs_checkpoint *ckpt; member210 return (struct f2fs_checkpoint *)(sbi->ckpt); in F2FS_CKPT()246 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_size() local250 return le32_to_cpu(ckpt->nat_ver_bitmap_bytesize); in __bitmap_size()252 return le32_to_cpu(ckpt->sit_ver_bitmap_bytesize); in __bitmap_size()259 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_ptr() local263 return &ckpt->sit_nat_version_bitmap; in __bitmap_ptr()265 return ((char *)ckpt + F2FS_BLKSIZE); in __bitmap_ptr()268 le32_to_cpu(ckpt->sit_ver_bitmap_bytesize) : 0; in __bitmap_ptr()269 return &ckpt->sit_nat_version_bitmap + offset; in __bitmap_ptr()
407 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in do_fsck() local408 u32 flag = le32_to_cpu(ckpt->ckpt_flags); in do_fsck()459 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in do_dump() local460 u32 flag = le32_to_cpu(ckpt->ckpt_flags); in do_dump()656 if (sbi->ckpt) in main()657 free(sbi->ckpt); in main()
607 sbi->ckpt = malloc(cp_blks * blk_size); in get_valid_checkpoint()608 if (!sbi->ckpt) in get_valid_checkpoint()644 memcpy(sbi->ckpt, cur_page, blk_size); in get_valid_checkpoint()656 unsigned char *ckpt = (unsigned char *)sbi->ckpt; in get_valid_checkpoint() local659 memcpy(ckpt + i * blk_size, cur_page, blk_size); in get_valid_checkpoint()669 free(sbi->ckpt); in get_valid_checkpoint()670 sbi->ckpt = NULL; in get_valid_checkpoint()1510 if (le32_to_cpu(sbi->ckpt->cur_node_segno[0]) == segno || in build_sit_area_bitmap()1511 le32_to_cpu(sbi->ckpt->cur_data_segno[0]) == segno || in build_sit_area_bitmap()1512 le32_to_cpu(sbi->ckpt->cur_node_segno[1]) == segno || in build_sit_area_bitmap()[all …]
63 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in new_node_block() local77 node_blk->footer.cp_ver = ckpt->checkpoint_ver; in new_node_block()
381 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in init_inode_block() local431 node_blk->footer.cp_ver = ckpt->checkpoint_ver; in init_inode_block()
11 rm -f $OBJ/moduli.out $OBJ/moduli.ckpt18 rm -f $OBJ/moduli.out $OBJ/moduli.ckpt