Home
last modified time | relevance | path

Searched refs:sum_blk (Results 1 – 5 of 5) sorted by relevance

/external/f2fs-tools/fsck/
Dmount.c1033 struct f2fs_summary_block *sum = curseg->sum_blk; in f2fs_init_nid_bitmap()
1201 struct f2fs_journal *journal = &curseg->sum_blk->journal; in check_nat_bits()
1387 sum_footer = &(curseg->sum_blk->footer); in reset_curseg()
1415 memcpy(&curseg->sum_blk->journal.n_nats, kaddr, SUM_JOURNAL_SIZE); in read_compacted_summaries()
1418 memcpy(&curseg->sum_blk->journal.n_sits, kaddr + SUM_JOURNAL_SIZE, in read_compacted_summaries()
1438 curseg->sum_blk->entries[j] = *s; in read_compacted_summaries()
1453 unsigned int segno, struct f2fs_summary_block *sum_blk) in restore_node_summary() argument
1466 sum_entry = &sum_blk->entries[0]; in restore_node_summary()
1480 struct f2fs_summary_block *sum_blk; in read_normal_summaries() local
1501 sum_blk = (struct f2fs_summary_block *)malloc(PAGE_SIZE); in read_normal_summaries()
[all …]
Dfsck.c147 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()
[all …]
Dresize.c212 struct f2fs_summary_block *sum_blk; in move_ssa() local
215 sum_blk = get_sum_block(sbi, segno, &type); in move_ssa()
219 ret = dev_write_block(sum_blk, new_sum_blk_addr); in move_ssa()
223 IS_SUM_NODE_SEG(sum_blk->footer), in move_ssa()
228 free(sum_blk); in move_ssa()
558 ret = dev_write_block(curseg->sum_blk, new_cp_blk_no++); in rebuild_checkpoint()
Ddump.c176 struct f2fs_summary_block *sum_blk; in ssa_dump() local
191 sum_blk = get_sum_block(sbi, segno, &type); in ssa_dump()
219 le32_to_cpu(sum_blk->entries[i].nid)); in ssa_dump()
225 free(sum_blk); in ssa_dump()
Df2fs.h100 struct f2fs_summary_block *sum_blk; /* cached summary block */ member