Searched refs:start_segno (Results 1 – 2 of 2) sorted by relevance
20 #define GET_L2R_SEGNO(free_i, segno) (segno - free_i->start_segno)21 #define GET_R2L_SEGNO(free_i, segno) (segno + free_i->start_segno)208 unsigned int start_segno; /* start segment number logically */ member256 unsigned int start_segno; /* start segno of sits in set */ member332 unsigned int start_segno = secno * sbi->segs_per_sec; in __set_free() local340 start_segno + sbi->segs_per_sec, start_segno); in __set_free()341 if (next >= start_segno + sbi->segs_per_sec) { in __set_free()364 unsigned int start_segno = secno * sbi->segs_per_sec; in __set_test_and_free() local372 start_segno + sbi->segs_per_sec, start_segno); in __set_test_and_free()373 if (next >= start_segno + sbi->segs_per_sec) { in __set_test_and_free()
1060 unsigned int start_segno, end_segno; in f2fs_trim_fs() local1072 start_segno = (start <= MAIN_BLKADDR(sbi)) ? 0 : GET_SEGNO(sbi, start); in f2fs_trim_fs()1079 for (; start_segno <= end_segno; start_segno = cpc.trim_end + 1) { in f2fs_trim_fs()1080 cpc.trim_start = start_segno; in f2fs_trim_fs()1081 cpc.trim_end = min_t(unsigned int, rounddown(start_segno + in f2fs_trim_fs()1675 unsigned int start_segno = START_SEGNO(segno); in add_sit_entry() local1678 if (ses->start_segno == start_segno) { in add_sit_entry()1687 ses->start_segno = start_segno; in add_sit_entry()1765 unsigned int start_segno = ses->start_segno; in flush_sit_entries() local1766 unsigned int end = min(start_segno + SIT_ENTRY_PER_BLOCK, in flush_sit_entries()[all …]