Searched refs:get_cp (Results 1 – 5 of 5) sorted by relevance
977 unsigned int chksum_offset = get_cp(checksum_offset); in verify_checksum_chksum()1027 if (get_cp(cp_pack_total_block_count) > sbi->blocks_per_seg) in validate_checkpoint()1030 pre_version = get_cp(checkpoint_ver); in validate_checkpoint()1033 cp_addr += get_cp(cp_pack_total_block_count) - 1; in validate_checkpoint()1039 cur_version = get_cp(checkpoint_ver); in validate_checkpoint()1159 unsigned int flag = get_cp(ckpt_flags); in sanity_check_ckpt()1176 fsmeta += get_cp(rsvd_segment_count); in sanity_check_ckpt()1182 ovp_segments = get_cp(overprov_segment_count); in sanity_check_ckpt()1183 reserved_segments = get_cp(rsvd_segment_count); in sanity_check_ckpt()1191 user_block_count = get_cp(user_block_count); in sanity_check_ckpt()[all …]
452 unsigned long long cp_ver = get_cp(checkpoint_ver); in rebuild_checkpoint()473 get_cp(rsvd_segment_count)) * in rebuild_checkpoint()475 set_cp(overprov_segment_count, get_cp(overprov_segment_count) + in rebuild_checkpoint()476 get_cp(rsvd_segment_count)); in rebuild_checkpoint()484 get_cp(overprov_segment_count)) * c.blks_per_seg)); in rebuild_checkpoint()514 flags = update_nat_bits_flags(new_sb, cp, get_cp(ckpt_flags)); in rebuild_checkpoint()532 *((__le32 *)((unsigned char *)new_cp + get_cp(checksum_offset))) = in rebuild_checkpoint()
1987 if (get_cp(ckpt_flags) & CP_LARGE_NAT_BITMAP_FLAG) { in fsck_chk_checkpoint()1988 if (get_cp(checksum_offset) != CP_MIN_CHKSUM_OFFSET) { in fsck_chk_checkpoint()1990 "chksum_offset:%u", get_cp(checksum_offset)); in fsck_chk_checkpoint()2162 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in fix_checkpoint()
676 get_cp(rsvd_segment_count)) * in f2fs_write_check_point_pack()678 set_cp(overprov_segment_count, get_cp(overprov_segment_count) + in f2fs_write_check_point_pack()679 get_cp(rsvd_segment_count)); in f2fs_write_check_point_pack()683 get_cp(overprov_segment_count), in f2fs_write_check_point_pack()688 set_cp(user_block_count, ((get_cp(free_segment_count) + 6 - in f2fs_write_check_point_pack()689 get_cp(overprov_segment_count)) * c.blks_per_seg)); in f2fs_write_check_point_pack()693 if (get_cp(cp_pack_total_block_count) <= in f2fs_write_check_point_pack()720 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in f2fs_write_check_point_pack()774 get_cp(cur_node_segno[0]) * c.blks_per_seg); in f2fs_write_check_point_pack()784 get_cp(cur_node_segno[0]) * in f2fs_write_check_point_pack()[all …]
510 #define get_cp(member) \ macro1381 u_int64_t cp_ver = get_cp(checkpoint_ver); in get_cp_crc()1382 size_t crc_offset = get_cp(checksum_offset); in get_cp_crc()