Searched refs:valid_blocks (Results 1 – 2 of 2) sorted by relevance
182 unsigned int valid_blocks:10; /* # of valid blocks */ member199 unsigned int valid_blocks; /* # of valid blocks in a section */ member340 return get_sec_entry(sbi, segno)->valid_blocks; in get_valid_blocks()342 return get_seg_entry(sbi, segno)->valid_blocks; in get_valid_blocks()348 se->valid_blocks = GET_SIT_VBLOCKS(rs); in seg_info_from_raw_sit()363 se->valid_blocks; in __seg_info_to_raw_sit()394 se->ckpt_valid_blocks = se->valid_blocks; in seg_info_to_raw_sit()672 int valid_blocks = 0; in check_block_count() local681 valid_blocks += next_pos - cur_pos; in check_block_count()690 if (unlikely(GET_SIT_VBLOCKS(raw_sit) != valid_blocks)) { in check_block_count()[all …]
829 unsigned short valid_blocks; in locate_dirty_segment() local836 valid_blocks = get_valid_blocks(sbi, segno, false); in locate_dirty_segment()838 if (valid_blocks == 0) { in locate_dirty_segment()841 } else if (valid_blocks < sbi->blocks_per_seg) { in locate_dirty_segment()1755 if (se->valid_blocks == max_blocks || !f2fs_hw_support_discard(sbi)) in add_discard_addrs()1759 if (!f2fs_realtime_discard_enable(sbi) || !se->valid_blocks || in add_discard_addrs()2023 new_vblocks = se->valid_blocks + del; in update_sit_entry()2029 se->valid_blocks = new_vblocks; in update_sit_entry()2051 se->valid_blocks--; in update_sit_entry()2079 se->valid_blocks++; in update_sit_entry()[all …]