Lines Matching refs:start_segno
24 #define GET_L2R_SEGNO(free_i, segno) ((segno) - (free_i)->start_segno)
25 #define GET_R2L_SEGNO(free_i, segno) ((segno) + (free_i)->start_segno)
231 unsigned int start_segno; /* start segment number logically */ member
281 unsigned int start_segno; /* start segno of sits in set */ member
355 unsigned int start_segno = GET_SEG_FROM_SEC(sbi, secno); in set_ckpt_valid_blocks() local
359 for (i = 0; i < SEGS_PER_SEC(sbi); i++, start_segno++) { in set_ckpt_valid_blocks()
360 struct seg_entry *se = get_seg_entry(sbi, start_segno); in set_ckpt_valid_blocks()
372 unsigned int start_segno = GET_SEG_FROM_SEC(sbi, secno); in sanity_check_valid_blocks() local
376 for (i = 0; i < SEGS_PER_SEC(sbi); i++, start_segno++) { in sanity_check_valid_blocks()
377 struct seg_entry *se = get_seg_entry(sbi, start_segno); in sanity_check_valid_blocks()
462 unsigned int start_segno = GET_SEG_FROM_SEC(sbi, secno); in __set_free() local
470 start_segno + SEGS_PER_SEC(sbi), start_segno); in __set_free()
471 if (next >= start_segno + f2fs_usable_segs_in_sec(sbi)) { in __set_free()
495 unsigned int start_segno = GET_SEG_FROM_SEC(sbi, secno); in __set_test_and_free() local
511 start_segno + SEGS_PER_SEC(sbi), start_segno); in __set_test_and_free()
512 if (next < start_segno + f2fs_usable_segs_in_sec(sbi)) in __set_test_and_free()