• Home
  • Raw
  • Download

Lines Matching refs:curseg

2278 		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()
2497 type, type, curseg->segno, curseg->next_blkoff, in check_curseg_write_pointer()
2501 GET_SEC_FROM_SEG(sbi, curseg->segno)); in check_curseg_write_pointer()
2519 type, curseg->segno, curseg->next_blkoff, in check_curseg_write_pointer()
2542 struct curseg_info *curseg = CURSEG_I(sbi, type); in check_curseg_offset() local
2550 if ((curseg->next_blkoff >> 3) >= SIT_VBLOCK_MAP_SIZE) { in check_curseg_offset()
2552 curseg->next_blkoff, type); in check_curseg_offset()
2555 se = get_seg_entry(sbi, curseg->segno); in check_curseg_offset()
2556 if (f2fs_test_bit(curseg->next_blkoff, in check_curseg_offset()
2561 if (curseg->alloc_type == SSR) in check_curseg_offset()
2565 for (j = curseg->next_blkoff + 1; j < nblocks; j++) { in check_curseg_offset()
3136 struct curseg_info *curseg; in fsck_chk_curseg_info() local
3142 curseg = CURSEG_I(sbi, i); in fsck_chk_curseg_info()
3143 se = get_seg_entry(sbi, curseg->segno); in fsck_chk_curseg_info()
3144 sum_blk = curseg->sum_blk; in fsck_chk_curseg_info()
3152 "type(SIT) [%d]", i, curseg->segno, in fsck_chk_curseg_info()
3164 "type(SSA) [%d]", i, curseg->segno, in fsck_chk_curseg_info()