Lines Matching refs:sum_blk
147 struct f2fs_summary_block *sum_blk; in is_valid_ssa_node_blk() local
157 sum_blk = get_sum_block(sbi, segno, &type); in is_valid_ssa_node_blk()
171 sum_blk->footer.entry_type = SUM_TYPE_NODE; in is_valid_ssa_node_blk()
178 sum_entry = &(sum_blk->entries[offset]); in is_valid_ssa_node_blk()
207 ret2 = dev_write_block(sum_blk, ssa_blk); in is_valid_ssa_node_blk()
213 free(sum_blk); in is_valid_ssa_node_blk()
264 struct f2fs_summary_block *sum_blk; in is_valid_ssa_data_blk() local
274 sum_blk = get_sum_block(sbi, segno, &type); in is_valid_ssa_data_blk()
288 sum_blk->footer.entry_type = SUM_TYPE_DATA; in is_valid_ssa_data_blk()
295 sum_entry = &(sum_blk->entries[offset]); in is_valid_ssa_data_blk()
333 ret2 = dev_write_block(sum_blk, ssa_blk); in is_valid_ssa_data_blk()
339 free(sum_blk); in is_valid_ssa_data_blk()
2083 ret = dev_write_block(curseg->sum_blk, cp_blk_no++); in fix_checkpoint()
2517 struct f2fs_summary_block *sum_blk; in fsck_chk_curseg_info() local
2523 sum_blk = curseg->sum_blk; in fsck_chk_curseg_info()
2533 if (i <= CURSEG_COLD_DATA && IS_SUM_DATA_SEG(sum_blk->footer)) { in fsck_chk_curseg_info()
2535 } else if (i > CURSEG_COLD_DATA && IS_SUM_NODE_SEG(sum_blk->footer)) { in fsck_chk_curseg_info()
2540 sum_blk->footer.entry_type); in fsck_chk_curseg_info()
2542 sum_blk->footer.entry_type = in fsck_chk_curseg_info()