Lines Matching refs:start_segno
1628 unsigned int secno, start_segno; in clear_prefree_segments() local
1660 start_segno = GET_SEG_FROM_SEC(sbi, secno); in clear_prefree_segments()
1663 f2fs_issue_discard(sbi, START_BLOCK(sbi, start_segno), in clear_prefree_segments()
1666 start = start_segno + sbi->segs_per_sec; in clear_prefree_segments()
2380 unsigned int start_segno, end_segno, cur_segno; in f2fs_trim_fs() local
2400 start_segno = (start <= MAIN_BLKADDR(sbi)) ? 0 : GET_SEGNO(sbi, start); in f2fs_trim_fs()
2408 for (cur_segno = start_segno; cur_segno <= end_segno; in f2fs_trim_fs()
2431 start_block = START_BLOCK(sbi, start_segno); in f2fs_trim_fs()
3272 unsigned int start_segno = START_SEGNO(segno); in add_sit_entry() local
3275 if (ses->start_segno == start_segno) { in add_sit_entry()
3284 ses->start_segno = start_segno; in add_sit_entry()
3363 unsigned int start_segno = ses->start_segno; in flush_sit_entries() local
3364 unsigned int end = min(start_segno + SIT_ENTRY_PER_BLOCK, in flush_sit_entries()
3366 unsigned int segno = start_segno; in flush_sit_entries()
3375 page = get_next_sit_page(sbi, start_segno); in flush_sit_entries()
3556 free_i->start_segno = GET_SEGNO_FROM_SEG0(sbi, MAIN_BLKADDR(sbi)); in build_free_segmap()