Lines Matching defs:secno
316 unsigned int secno;
323 for_each_set_bit(secno, dirty_i->victim_secmap, MAIN_SECS(sbi)) {
324 if (sec_usage_check(sbi, secno))
326 clear_bit(secno, dirty_i->victim_secmap);
327 return GET_SEG_FROM_SEC(sbi, secno);
335 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno);
336 unsigned int start = GET_SEG_FROM_SEC(sbi, secno);
488 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno);
489 unsigned int start = GET_SEG_FROM_SEC(sbi, secno);
690 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno);
694 if (!test_and_set_bit(secno, dirty_i->pinned_secmap))
705 unsigned int secno)
709 test_bit(secno, dirty_i->pinned_secmap);
750 unsigned int secno, last_victim;
848 secno = GET_SEC_FROM_SEG(sbi, segno);
850 if (sec_usage_check(sbi, secno))
873 if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap))
876 if (gc_type == FG_GC && f2fs_section_is_pinned(dirty_i, secno))
920 secno = GET_SEC_FROM_SEG(sbi, p.min_segno);
922 sbi->cur_victim_sec = secno;
924 set_bit(secno, dirty_i->victim_secmap);