Lines Matching refs:start_segno
2191 unsigned int secno, start_segno; in f2fs_clear_prefree_segments() local
2238 start_segno = GET_SEG_FROM_SEC(sbi, secno); in f2fs_clear_prefree_segments()
2241 f2fs_issue_discard(sbi, START_BLOCK(sbi, start_segno), in f2fs_clear_prefree_segments()
2244 start = start_segno + SEGS_PER_SEC(sbi); in f2fs_clear_prefree_segments()
3461 unsigned int start_segno, end_segno; in f2fs_trim_fs() local
3481 start_segno = (start <= MAIN_BLKADDR(sbi)) ? 0 : GET_SEGNO(sbi, start); in f2fs_trim_fs()
3485 start_segno = rounddown(start_segno, SEGS_PER_SEC(sbi)); in f2fs_trim_fs()
3491 cpc.trim_start = start_segno; in f2fs_trim_fs()
3513 start_block = START_BLOCK(sbi, start_segno); in f2fs_trim_fs()
4589 unsigned int start_segno = START_SEGNO(segno); in add_sit_entry() local
4592 if (ses->start_segno == start_segno) { in add_sit_entry()
4601 ses->start_segno = start_segno; in add_sit_entry()
4681 unsigned int start_segno = ses->start_segno; in f2fs_flush_sit_entries() local
4682 unsigned int end = min(start_segno + SIT_ENTRY_PER_BLOCK, in f2fs_flush_sit_entries()
4684 unsigned int segno = start_segno; in f2fs_flush_sit_entries()
4693 folio = get_next_sit_folio(sbi, start_segno); in f2fs_flush_sit_entries()
4901 free_i->start_segno = GET_SEGNO_FROM_SEG0(sbi, MAIN_BLKADDR(sbi)); in build_free_segmap()