Searched refs:get_cp (Results 1 – 5 of 5) sorted by relevance
1134 unsigned int chksum_offset = get_cp(checksum_offset); in verify_checksum_chksum()1184 if (get_cp(cp_pack_total_block_count) > sbi->blocks_per_seg) in validate_checkpoint()1187 pre_version = get_cp(checkpoint_ver); in validate_checkpoint()1190 cp_addr += get_cp(cp_pack_total_block_count) - 1; in validate_checkpoint()1196 cur_version = get_cp(checkpoint_ver); in validate_checkpoint()1316 unsigned int flag = get_cp(ckpt_flags); in sanity_check_ckpt()1333 fsmeta += get_cp(rsvd_segment_count); in sanity_check_ckpt()1339 ovp_segments = get_cp(overprov_segment_count); in sanity_check_ckpt()1340 reserved_segments = get_cp(rsvd_segment_count); in sanity_check_ckpt()1349 user_block_count = get_cp(user_block_count); in sanity_check_ckpt()[all …]
453 unsigned long long cp_ver = get_cp(checkpoint_ver); in rebuild_checkpoint()474 get_cp(rsvd_segment_count)) * in rebuild_checkpoint()476 set_cp(overprov_segment_count, get_cp(overprov_segment_count) + in rebuild_checkpoint()477 get_cp(rsvd_segment_count)); in rebuild_checkpoint()485 get_cp(overprov_segment_count)) * c.blks_per_seg)); in rebuild_checkpoint()515 flags = update_nat_bits_flags(new_sb, cp, get_cp(ckpt_flags)); in rebuild_checkpoint()538 *((__le32 *)((unsigned char *)new_cp + get_cp(checksum_offset))) = in rebuild_checkpoint()677 if (get_cp(valid_block_count) > user_block_count) in f2fs_resize_shrink()
2173 if (get_cp(ckpt_flags) & CP_LARGE_NAT_BITMAP_FLAG) { in fsck_chk_checkpoint()2174 if (get_cp(checksum_offset) != CP_MIN_CHKSUM_OFFSET) { in fsck_chk_checkpoint()2176 "chksum_offset:%u", get_cp(checksum_offset)); in fsck_chk_checkpoint()2354 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in fix_checkpoint()
763 get_cp(rsvd_segment_count)) * in f2fs_write_check_point_pack()765 set_cp(overprov_segment_count, get_cp(overprov_segment_count) + in f2fs_write_check_point_pack()766 get_cp(rsvd_segment_count)); in f2fs_write_check_point_pack()768 if (f2fs_get_usable_segments(sb) <= get_cp(overprov_segment_count)) { in f2fs_write_check_point_pack()774 get_cp(overprov_segment_count), in f2fs_write_check_point_pack()780 set_cp(user_block_count, ((get_cp(free_segment_count) + 2 - in f2fs_write_check_point_pack()781 get_cp(overprov_segment_count)) * c.blks_per_seg)); in f2fs_write_check_point_pack()784 set_cp(user_block_count, ((get_cp(free_segment_count) + 6 - in f2fs_write_check_point_pack()785 get_cp(overprov_segment_count)) * c.blks_per_seg)); in f2fs_write_check_point_pack()790 if (get_cp(cp_pack_total_block_count) <= in f2fs_write_check_point_pack()[all …]
635 #define get_cp(member) \ macro1603 uint64_t cp_ver = get_cp(checkpoint_ver); in get_cp_crc()1604 size_t crc_offset = get_cp(checksum_offset); in get_cp_crc()