Searched refs:start_segno (Results 1 - 4 of 4) sorted by relevance
/linux-master/fs/f2fs/ |
H A D | segment.h | 22 #define GET_L2R_SEGNO(free_i, segno) ((segno) - (free_i)->start_segno) 23 #define GET_R2L_SEGNO(free_i, segno) ((segno) + (free_i)->start_segno) 257 unsigned int start_segno; /* start segment number logically */ member in struct:free_segmap_info 307 unsigned int start_segno; /* start segno of sits in set */ member in struct:sit_entry_set 350 unsigned int start_segno = START_SEGNO(segno); local 354 for (i = 0; i < SEGS_PER_SEC(sbi); i++, start_segno++) { 355 struct seg_entry *se = get_seg_entry(sbi, start_segno); 430 unsigned int start_segno = GET_SEG_FROM_SEC(sbi, secno); local 439 start_segno + SEGS_PER_SEC(sbi), start_segno); 464 unsigned int start_segno = GET_SEG_FROM_SEC(sbi, secno); local [all...] |
H A D | segment.c | 2155 unsigned int secno, start_segno; local 2202 start_segno = GET_SEG_FROM_SEC(sbi, secno); 2205 f2fs_issue_discard(sbi, START_BLOCK(sbi, start_segno), 2208 start = start_segno + SEGS_PER_SEC(sbi); 3288 unsigned int start_segno, end_segno; local 3308 start_segno = (start <= MAIN_BLKADDR(sbi)) ? 0 : GET_SEGNO(sbi, start); 3312 start_segno = rounddown(start_segno, SEGS_PER_SEC(sbi)); 3318 cpc.trim_start = start_segno; 3340 start_block = START_BLOCK(sbi, start_segno); 4301 unsigned int start_segno = START_SEGNO(segno); local 4393 unsigned int start_segno = ses->start_segno; local [all...] |
H A D | gc.c | 1667 unsigned int start_segno, 1674 unsigned int segno = start_segno; 1675 unsigned int end_segno = start_segno + SEGS_PER_SEC(sbi); 1708 for (segno = start_segno; segno < end_segno; segno++) { 1721 for (segno = start_segno; segno < end_segno; segno++) { 1666 do_garbage_collect(struct f2fs_sb_info *sbi, unsigned int start_segno, struct gc_inode_list *gc_list, int gc_type, bool force_migrate) argument
|
H A D | file.c | 2978 unsigned int start_segno = 0, end_segno = 0; local 3016 start_segno = sm->last_victim[FLUSH_DEVICE]; 3017 if (start_segno < dev_start_segno || start_segno >= dev_end_segno) 3018 start_segno = dev_start_segno; 3019 end_segno = min(start_segno + range.segments, dev_end_segno); 3021 while (start_segno < end_segno) { 3030 gc_control.victim_segno = start_segno; 3037 start_segno++;
|
Completed in 207 milliseconds