Home
last modified time | relevance | path

Searched refs:curseg (Results 1 – 4 of 4) sorted by relevance

/third_party/f2fs-tools/fsck/
Dmount.c1512 struct curseg_info *curseg = CURSEG_I(sbi, CURSEG_HOT_DATA); in f2fs_early_init_nid_bitmap() local
1513 struct f2fs_summary_block *sum = curseg->sum_blk; in f2fs_early_init_nid_bitmap()
1697 struct curseg_info *curseg = CURSEG_I(sbi, CURSEG_HOT_DATA); in check_nat_bits() local
1698 struct f2fs_journal *journal = &curseg->sum_blk->journal; in check_nat_bits()
1895 struct curseg_info *curseg = CURSEG_I(sbi, type); in reset_curseg() local
1899 sum_footer = &(curseg->sum_blk->footer); in reset_curseg()
1905 se = get_seg_entry(sbi, curseg->segno); in reset_curseg()
1912 struct curseg_info *curseg; in read_compacted_summaries() local
1926 curseg = CURSEG_I(sbi, CURSEG_HOT_DATA); in read_compacted_summaries()
1927 memcpy(&curseg->sum_blk->journal.n_nats, kaddr, SUM_JOURNAL_SIZE); in read_compacted_summaries()
[all …]
Dfsck.c2278 struct curseg_info *curseg = CURSEG_I(sbi, i); in flush_curseg_sit_entries() local
2282 se = get_seg_entry(sbi, curseg->segno); in flush_curseg_sit_entries()
2283 get_current_sit_page(sbi, curseg->segno, sit_blk); in flush_curseg_sit_entries()
2284 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, curseg->segno)]; in flush_curseg_sit_entries()
2287 rewrite_current_sit_page(sbi, curseg->segno, sit_blk); in flush_curseg_sit_entries()
2378 struct curseg_info *curseg = CURSEG_I(sbi, i); in fix_checkpoint() local
2383 ret = dev_write_block(curseg->sum_blk, cp_blk_no++); in fix_checkpoint()
2443 struct curseg_info *curseg = CURSEG_I(sbi, type); in check_curseg_write_pointer() local
2453 cs_block = START_BLOCK(sbi, curseg->segno) + curseg->next_blkoff; in check_curseg_write_pointer()
2489 type, type, curseg->segno, curseg->next_blkoff, in check_curseg_write_pointer()
[all …]
Df2fs.h473 #define NEXT_FREE_BLKADDR(sbi, curseg) \ argument
474 (START_BLOCK(sbi, (curseg)->segno) + (curseg)->next_blkoff)
550 struct curseg_info *curseg = CURSEG_I(sbi, i); in IS_CUR_SEGNO() local
552 if (segno == curseg->segno) in IS_CUR_SEGNO()
Dresize.c582 struct curseg_info *curseg = CURSEG_I(sbi, i); in rebuild_checkpoint() local
584 ret = dev_write_block(curseg->sum_blk, new_cp_blk_no++); in rebuild_checkpoint()