Home
last modified time | relevance | path

Searched refs:start_segno (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/fs/f2fs/
Dsegment.h20 #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 */ member
256 unsigned int start_segno; /* start segno of sits in set */ member
332 unsigned int start_segno = secno * sbi->segs_per_sec; in __set_free() local
340 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() local
372 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()
Dsegment.c1060 unsigned int start_segno, end_segno; in f2fs_trim_fs() local
1072 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() local
1678 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() local
1766 unsigned int end = min(start_segno + SIT_ENTRY_PER_BLOCK, in flush_sit_entries()
[all …]