Lines Matching refs:ckpt
254 struct f2fs_checkpoint *ckpt; member
302 return (struct f2fs_checkpoint *)(sbi->ckpt); in F2FS_CKPT()
357 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_size() local
361 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() local
378 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()
393 return &ckpt->sit_nat_version_bitmap; in __bitmap_ptr()
395 return ((char *)ckpt + F2FS_BLKSIZE); in __bitmap_ptr()
398 le32_to_cpu(ckpt->sit_ver_bitmap_bytesize) : 0; in __bitmap_ptr()
399 return &ckpt->sit_nat_version_bitmap[offset]; in __bitmap_ptr()