Searched refs:sum_blk (Results 1 – 5 of 5) sorted by relevance
/third_party/f2fs-tools/fsck/ |
D | mount.c | 1417 struct f2fs_summary_block *sum = curseg->sum_blk; in f2fs_early_init_nid_bitmap() 1602 struct f2fs_journal *journal = &curseg->sum_blk->journal; in check_nat_bits() 1803 sum_footer = &(curseg->sum_blk->footer); in reset_curseg() 1831 memcpy(&curseg->sum_blk->journal.n_nats, kaddr, SUM_JOURNAL_SIZE); in read_compacted_summaries() 1834 memcpy(&curseg->sum_blk->journal.n_sits, kaddr + SUM_JOURNAL_SIZE, in read_compacted_summaries() 1854 curseg->sum_blk->entries[j] = *s; in read_compacted_summaries() 1869 unsigned int segno, struct f2fs_summary_block *sum_blk) in restore_node_summary() argument 1882 sum_entry = &sum_blk->entries[0]; in restore_node_summary() 1896 struct f2fs_summary_block *sum_blk; in read_normal_summaries() local 1917 sum_blk = (struct f2fs_summary_block *)malloc(PAGE_SIZE); in read_normal_summaries() [all …]
|
D | resize.c | 212 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() 572 ret = dev_write_block(curseg->sum_blk, new_cp_blk_no++); in rebuild_checkpoint()
|
D | fsck.c | 148 struct f2fs_summary_block *sum_blk; in is_valid_ssa_node_blk() local 161 sum_blk = get_sum_block(sbi, segno, &type); in is_valid_ssa_node_blk() 175 sum_blk->footer.entry_type = SUM_TYPE_NODE; in is_valid_ssa_node_blk() 182 sum_entry = &(sum_blk->entries[offset]); in is_valid_ssa_node_blk() 211 ret2 = dev_write_block(sum_blk, ssa_blk); in is_valid_ssa_node_blk() 217 free(sum_blk); in is_valid_ssa_node_blk() 273 struct f2fs_summary_block *sum_blk; in is_valid_ssa_data_blk() local 286 sum_blk = get_sum_block(sbi, segno, &type); in is_valid_ssa_data_blk() 300 sum_blk->footer.entry_type = SUM_TYPE_DATA; in is_valid_ssa_data_blk() 307 sum_entry = &(sum_blk->entries[offset]); in is_valid_ssa_data_blk() [all …]
|
D | dump.c | 179 struct f2fs_summary_block *sum_blk; in ssa_dump() local 194 sum_blk = get_sum_block(sbi, segno, &type); in ssa_dump() 222 le32_to_cpu(sum_blk->entries[i].nid)); in ssa_dump() 228 free(sum_blk); in ssa_dump()
|
D | f2fs.h | 180 struct f2fs_summary_block *sum_blk; /* cached summary block */ member
|