• Home
  • Raw
  • Download

Lines Matching refs:curseg

2273 		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()
2489 type, type, curseg->segno, curseg->next_blkoff, in check_curseg_write_pointer()
2493 GET_SEC_FROM_SEG(sbi, curseg->segno)); in check_curseg_write_pointer()
2511 type, curseg->segno, curseg->next_blkoff, in check_curseg_write_pointer()
2534 struct curseg_info *curseg = CURSEG_I(sbi, type); in check_curseg_offset() local
2542 if ((curseg->next_blkoff >> 3) >= SIT_VBLOCK_MAP_SIZE) { in check_curseg_offset()
2544 curseg->next_blkoff, type); in check_curseg_offset()
2547 se = get_seg_entry(sbi, curseg->segno); in check_curseg_offset()
2548 if (f2fs_test_bit(curseg->next_blkoff, in check_curseg_offset()
2553 if (curseg->alloc_type == SSR) in check_curseg_offset()
2557 for (j = curseg->next_blkoff + 1; j < nblocks; j++) { in check_curseg_offset()
3128 struct curseg_info *curseg; in fsck_chk_curseg_info() local
3134 curseg = CURSEG_I(sbi, i); in fsck_chk_curseg_info()
3135 se = get_seg_entry(sbi, curseg->segno); in fsck_chk_curseg_info()
3136 sum_blk = curseg->sum_blk; in fsck_chk_curseg_info()
3144 "type(SIT) [%d]", i, curseg->segno, in fsck_chk_curseg_info()
3156 "type(SSA) [%d]", i, curseg->segno, in fsck_chk_curseg_info()