Lines Matching refs:ckpt
250 struct f2fs_checkpoint *ckpt; member
298 return (struct f2fs_checkpoint *)(sbi->ckpt); in F2FS_CKPT()
353 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_size() local
357 return le32_to_cpu(ckpt->nat_ver_bitmap_bytesize); in __bitmap_size()
359 return le32_to_cpu(ckpt->sit_ver_bitmap_bytesize); in __bitmap_size()
371 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_ptr() local
374 if (is_set_ckpt_flags(ckpt, CP_LARGE_NAT_BITMAP_FLAG)) { in __bitmap_ptr()
378 le32_to_cpu(ckpt->nat_ver_bitmap_bytesize) : 0; in __bitmap_ptr()
380 if (le32_to_cpu(ckpt->checksum_offset) == in __bitmap_ptr()
384 return &ckpt->sit_nat_version_bitmap + offset + chksum_size; in __bitmap_ptr()
389 return &ckpt->sit_nat_version_bitmap; in __bitmap_ptr()
391 return ((char *)ckpt + F2FS_BLKSIZE); in __bitmap_ptr()
394 le32_to_cpu(ckpt->sit_ver_bitmap_bytesize) : 0; in __bitmap_ptr()
395 return &ckpt->sit_nat_version_bitmap + offset; in __bitmap_ptr()