Lines Matching refs:ckpt
243 struct f2fs_checkpoint *ckpt; member
288 return (struct f2fs_checkpoint *)(sbi->ckpt); in F2FS_CKPT()
343 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_size() local
347 return le32_to_cpu(ckpt->nat_ver_bitmap_bytesize); in __bitmap_size()
349 return le32_to_cpu(ckpt->sit_ver_bitmap_bytesize); in __bitmap_size()
361 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_ptr() local
364 if (is_set_ckpt_flags(ckpt, CP_LARGE_NAT_BITMAP_FLAG)) { in __bitmap_ptr()
368 le32_to_cpu(ckpt->nat_ver_bitmap_bytesize) : 0; in __bitmap_ptr()
370 if (le32_to_cpu(ckpt->checksum_offset) == in __bitmap_ptr()
374 return &ckpt->sit_nat_version_bitmap + offset + chksum_size; in __bitmap_ptr()
379 return &ckpt->sit_nat_version_bitmap; in __bitmap_ptr()
381 return ((char *)ckpt + F2FS_BLKSIZE); in __bitmap_ptr()
384 le32_to_cpu(ckpt->sit_ver_bitmap_bytesize) : 0; in __bitmap_ptr()
385 return &ckpt->sit_nat_version_bitmap + offset; in __bitmap_ptr()