Home
last modified time | relevance | path

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

/third_party/f2fs-tools/fsck/
Dmount.c1455 struct curseg_info *curseg = CURSEG_I(sbi, CURSEG_HOT_DATA); in f2fs_early_init_nid_bitmap() local
1456 struct f2fs_summary_block *sum = curseg->sum_blk; in f2fs_early_init_nid_bitmap()
1640 struct curseg_info *curseg = CURSEG_I(sbi, CURSEG_HOT_DATA); in check_nat_bits() local
1641 struct f2fs_journal *journal = &curseg->sum_blk->journal; in check_nat_bits()
1838 struct curseg_info *curseg = CURSEG_I(sbi, type); in reset_curseg() local
1842 sum_footer = &(curseg->sum_blk->footer); in reset_curseg()
1848 se = get_seg_entry(sbi, curseg->segno); in reset_curseg()
1855 struct curseg_info *curseg; in read_compacted_summaries() local
1869 curseg = CURSEG_I(sbi, CURSEG_HOT_DATA); in read_compacted_summaries()
1870 memcpy(&curseg->sum_blk->journal.n_nats, kaddr, SUM_JOURNAL_SIZE); in read_compacted_summaries()
[all …]
Dfsck.c2273 struct curseg_info *curseg = CURSEG_I(sbi, i); in flush_curseg_sit_entries() local
2277 se = get_seg_entry(sbi, curseg->segno); in flush_curseg_sit_entries()
2278 get_current_sit_page(sbi, curseg->segno, sit_blk); in flush_curseg_sit_entries()
2279 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, curseg->segno)]; in flush_curseg_sit_entries()
2282 rewrite_current_sit_page(sbi, curseg->segno, sit_blk); in flush_curseg_sit_entries()
2373 struct curseg_info *curseg = CURSEG_I(sbi, i); in fix_checkpoint() local
2378 ret = dev_write_block(curseg->sum_blk, cp_blk_no++); in fix_checkpoint()
2438 struct curseg_info *curseg = CURSEG_I(sbi, type); in check_curseg_write_pointer() local
2448 cs_block = START_BLOCK(sbi, curseg->segno) + curseg->next_blkoff; in check_curseg_write_pointer()
2481 type, type, curseg->segno, curseg->next_blkoff, in check_curseg_write_pointer()
[all …]
Df2fs.h469 #define NEXT_FREE_BLKADDR(sbi, curseg) \ argument
470 (START_BLOCK(sbi, (curseg)->segno) + (curseg)->next_blkoff)
547 struct curseg_info *curseg = CURSEG_I(sbi, i); in IS_CUR_SEGNO() local
549 if (segno == curseg->segno) in IS_CUR_SEGNO()
Dresize.c570 struct curseg_info *curseg = CURSEG_I(sbi, i); in rebuild_checkpoint() local
572 ret = dev_write_block(curseg->sum_blk, new_cp_blk_no++); in rebuild_checkpoint()