Lines Matching refs:curseg
2005 struct curseg_info *curseg = CURSEG_I(sbi, i); in flush_curseg_sit_entries() local
2009 se = get_seg_entry(sbi, curseg->segno); in flush_curseg_sit_entries()
2010 get_current_sit_page(sbi, curseg->segno, sit_blk); in flush_curseg_sit_entries()
2011 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, curseg->segno)]; in flush_curseg_sit_entries()
2014 rewrite_current_sit_page(sbi, curseg->segno, sit_blk); in flush_curseg_sit_entries()
2078 struct curseg_info *curseg = CURSEG_I(sbi, i); in fix_checkpoint() local
2083 ret = dev_write_block(curseg->sum_blk, cp_blk_no++); in fix_checkpoint()
2100 struct curseg_info *curseg = CURSEG_I(sbi, i); in check_curseg_offset() local
2104 if ((curseg->next_blkoff >> 3) >= SIT_VBLOCK_MAP_SIZE) in check_curseg_offset()
2106 se = get_seg_entry(sbi, curseg->segno); in check_curseg_offset()
2107 if (f2fs_test_bit(curseg->next_blkoff, in check_curseg_offset()
2112 if (curseg->alloc_type == SSR) in check_curseg_offset()
2116 for (j = curseg->next_blkoff + 1; j < nblocks; j++) { in check_curseg_offset()
2515 struct curseg_info *curseg; in fsck_chk_curseg_info() local
2521 curseg = CURSEG_I(sbi, i); in fsck_chk_curseg_info()
2522 se = get_seg_entry(sbi, curseg->segno); in fsck_chk_curseg_info()
2523 sum_blk = curseg->sum_blk; in fsck_chk_curseg_info()
2527 "type(SIT) [%d]", i, curseg->segno, in fsck_chk_curseg_info()
2539 "type(SSA) [%d]", i, curseg->segno, in fsck_chk_curseg_info()