Searched refs:get_cp (Results 1 – 5 of 5) sorted by relevance
1048 unsigned int chksum_offset = get_cp(checksum_offset); in verify_checksum_chksum()1098 if (get_cp(cp_pack_total_block_count) > sbi->blocks_per_seg) in validate_checkpoint()1101 pre_version = get_cp(checkpoint_ver); in validate_checkpoint()1104 cp_addr += get_cp(cp_pack_total_block_count) - 1; in validate_checkpoint()1110 cur_version = get_cp(checkpoint_ver); in validate_checkpoint()1230 unsigned int flag = get_cp(ckpt_flags); in sanity_check_ckpt()1247 fsmeta += get_cp(rsvd_segment_count); in sanity_check_ckpt()1253 ovp_segments = get_cp(overprov_segment_count); in sanity_check_ckpt()1254 reserved_segments = get_cp(rsvd_segment_count); in sanity_check_ckpt()1262 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()
2007 if (get_cp(ckpt_flags) & CP_LARGE_NAT_BITMAP_FLAG) { in fsck_chk_checkpoint()2008 if (get_cp(checksum_offset) != CP_MIN_CHKSUM_OFFSET) { in fsck_chk_checkpoint()2010 "chksum_offset:%u", get_cp(checksum_offset)); in fsck_chk_checkpoint()2182 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in fix_checkpoint()
699 get_cp(rsvd_segment_count)) * in f2fs_write_check_point_pack()701 set_cp(overprov_segment_count, get_cp(overprov_segment_count) + in f2fs_write_check_point_pack()702 get_cp(rsvd_segment_count)); in f2fs_write_check_point_pack()704 if (f2fs_get_usable_segments(sb) <= get_cp(overprov_segment_count)) { in f2fs_write_check_point_pack()710 get_cp(overprov_segment_count), in f2fs_write_check_point_pack()715 set_cp(user_block_count, ((get_cp(free_segment_count) + 6 - in f2fs_write_check_point_pack()716 get_cp(overprov_segment_count)) * c.blks_per_seg)); in f2fs_write_check_point_pack()720 if (get_cp(cp_pack_total_block_count) <= in f2fs_write_check_point_pack()747 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in f2fs_write_check_point_pack()801 get_cp(cur_node_segno[0]) * c.blks_per_seg); in f2fs_write_check_point_pack()[all …]
513 #define get_cp(member) \ macro1416 u_int64_t cp_ver = get_cp(checkpoint_ver); in get_cp_crc()1417 size_t crc_offset = get_cp(checksum_offset); in get_cp_crc()