Lines Matching refs:valid_blocks
111 if (se->valid_blocks == 0x0 && !IS_CUR_SEGNO(sbi, i) && in get_free_segments()
2070 int valid_blocks = 0; in check_block_count() local
2084 valid_blocks += get_bits_in_byte(raw_sit->valid_map[i]); in check_block_count()
2086 if (GET_SIT_VBLOCKS(raw_sit) != valid_blocks) in check_block_count()
2088 segno, GET_SIT_VBLOCKS(raw_sit), valid_blocks); in check_block_count()
2098 se->valid_blocks = GET_SIT_VBLOCKS(raw_sit); in __seg_info_from_raw_sit()
2112 se->ckpt_valid_blocks = se->valid_blocks; in seg_info_from_raw_sit()
2127 return se->valid_blocks; in get_seg_vblocks()
2478 if (se->valid_blocks == 0x0 && is_usable_seg(sbi, segno)) { in build_sit_area_bitmap()
2490 sum_vblocks += se->valid_blocks; in build_sit_area_bitmap()
2521 u16 valid_blocks = 0; in rewrite_sit_area_bitmap() local
2531 valid_blocks += get_bits_in_byte(sit->valid_map[i]); in rewrite_sit_area_bitmap()
2535 se->valid_blocks = valid_blocks; in rewrite_sit_area_bitmap()
2539 segno, valid_blocks); in rewrite_sit_area_bitmap()
2543 valid_blocks); in rewrite_sit_area_bitmap()
2575 se->valid_blocks); in flush_sit_journal_entries()
2654 se->valid_blocks); in flush_sit_entries()