Lines Matching refs:ckpt

1703 	kvfree(sbi->ckpt);  in f2fs_put_super()
3632 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in f2fs_sanity_check_ckpt() local
3651 fsmeta += le32_to_cpu(ckpt->rsvd_segment_count); in f2fs_sanity_check_ckpt()
3657 ovp_segments = le32_to_cpu(ckpt->overprov_segment_count); in f2fs_sanity_check_ckpt()
3658 reserved_segments = le32_to_cpu(ckpt->rsvd_segment_count); in f2fs_sanity_check_ckpt()
3666 user_block_count = le64_to_cpu(ckpt->user_block_count); in f2fs_sanity_check_ckpt()
3677 valid_user_blocks = le64_to_cpu(ckpt->valid_block_count); in f2fs_sanity_check_ckpt()
3684 valid_node_count = le32_to_cpu(ckpt->valid_node_count); in f2fs_sanity_check_ckpt()
3696 if (le32_to_cpu(ckpt->cur_node_segno[i]) >= main_segs || in f2fs_sanity_check_ckpt()
3697 le16_to_cpu(ckpt->cur_node_blkoff[i]) >= blocks_per_seg) in f2fs_sanity_check_ckpt()
3704 if (le32_to_cpu(ckpt->cur_node_segno[i]) == in f2fs_sanity_check_ckpt()
3705 le32_to_cpu(ckpt->cur_node_segno[j])) { in f2fs_sanity_check_ckpt()
3708 le32_to_cpu(ckpt->cur_node_segno[i])); in f2fs_sanity_check_ckpt()
3715 if (le32_to_cpu(ckpt->cur_data_segno[i]) >= main_segs || in f2fs_sanity_check_ckpt()
3716 le16_to_cpu(ckpt->cur_data_blkoff[i]) >= blocks_per_seg) in f2fs_sanity_check_ckpt()
3723 if (le32_to_cpu(ckpt->cur_data_segno[i]) == in f2fs_sanity_check_ckpt()
3724 le32_to_cpu(ckpt->cur_data_segno[j])) { in f2fs_sanity_check_ckpt()
3727 le32_to_cpu(ckpt->cur_data_segno[i])); in f2fs_sanity_check_ckpt()
3734 if (le32_to_cpu(ckpt->cur_node_segno[i]) == in f2fs_sanity_check_ckpt()
3735 le32_to_cpu(ckpt->cur_data_segno[j])) { in f2fs_sanity_check_ckpt()
3738 le32_to_cpu(ckpt->cur_node_segno[i])); in f2fs_sanity_check_ckpt()
3744 sit_bitmap_size = le32_to_cpu(ckpt->sit_ver_bitmap_bytesize); in f2fs_sanity_check_ckpt()
3745 nat_bitmap_size = le32_to_cpu(ckpt->nat_ver_bitmap_bytesize); in f2fs_sanity_check_ckpt()
3764 if (__is_set_ckpt_flags(ckpt, CP_LARGE_NAT_BITMAP_FLAG) && in f2fs_sanity_check_ckpt()
3765 le32_to_cpu(ckpt->checksum_offset) != CP_MIN_CHKSUM_OFFSET) { in f2fs_sanity_check_ckpt()
3769 le32_to_cpu(ckpt->checksum_offset)); in f2fs_sanity_check_ckpt()
3776 if (__is_set_ckpt_flags(ckpt, CP_NAT_BITS_FLAG) && in f2fs_sanity_check_ckpt()
4563 le32_to_cpu(sbi->ckpt->valid_node_count); in f2fs_fill_super()
4565 le32_to_cpu(sbi->ckpt->valid_inode_count)); in f2fs_fill_super()
4566 sbi->user_block_count = le64_to_cpu(sbi->ckpt->user_block_count); in f2fs_fill_super()
4568 le64_to_cpu(sbi->ckpt->valid_block_count); in f2fs_fill_super()
4834 kvfree(sbi->ckpt); in f2fs_fill_super()