Searched refs:ckpt (Results 1 – 4 of 4) sorted by relevance
382 sbi->ckpt = malloc(cp_blks * blk_size); in get_valid_checkpoint()383 if (!sbi->ckpt) in get_valid_checkpoint()416 memcpy(sbi->ckpt, cur_page, blk_size); in get_valid_checkpoint()428 unsigned char *ckpt = (unsigned char *)sbi->ckpt; in get_valid_checkpoint() local431 memcpy(ckpt + i * blk_size, cur_page, blk_size); in get_valid_checkpoint()439 free(sbi->ckpt); in get_valid_checkpoint()447 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in sanity_check_ckpt() local453 fsmeta += le32_to_cpu(ckpt->rsvd_segment_count); in sanity_check_ckpt()477 nm_i->init_scan_nid = le32_to_cpu(sbi->ckpt->next_free_nid); in init_node_manager()478 nm_i->next_scan_nid = le32_to_cpu(sbi->ckpt->next_free_nid); in init_node_manager()[all …]
132 struct f2fs_checkpoint *ckpt; member172 return (struct f2fs_checkpoint *)(sbi->ckpt); in F2FS_CKPT()208 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_size() local212 return le32_to_cpu(ckpt->nat_ver_bitmap_bytesize); in __bitmap_size()214 return le32_to_cpu(ckpt->sit_ver_bitmap_bytesize); in __bitmap_size()221 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_ptr() local225 return &ckpt->sit_nat_version_bitmap; in __bitmap_ptr()227 return ((char *)ckpt + F2FS_BLKSIZE); in __bitmap_ptr()230 le32_to_cpu(ckpt->sit_ver_bitmap_bytesize) : 0; in __bitmap_ptr()231 return &ckpt->sit_nat_version_bitmap + offset; in __bitmap_ptr()[all …]
160 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in do_dump() local161 u32 flag = le32_to_cpu(ckpt->ckpt_flags); in do_dump()222 free(sbi->ckpt); in main()
906 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in fsck_chk_orphan_node() local908 if (!is_set_ckpt_flags(ckpt, CP_ORPHAN_PRESENT_FLAG)) in fsck_chk_orphan_node()