Lines Matching refs:raw_sit
2105 unsigned int segno, struct f2fs_sit_entry *raw_sit) in check_block_count() argument
2113 if (GET_SIT_VBLOCKS(raw_sit) > sbi->blocks_per_seg) in check_block_count()
2115 segno, GET_SIT_VBLOCKS(raw_sit)); in check_block_count()
2123 valid_blocks += get_bits_in_byte(raw_sit->valid_map[i]); in check_block_count()
2125 if (GET_SIT_VBLOCKS(raw_sit) != valid_blocks) in check_block_count()
2127 segno, GET_SIT_VBLOCKS(raw_sit), valid_blocks); in check_block_count()
2129 if (GET_SIT_TYPE(raw_sit) >= NO_CHECK_TYPE) in check_block_count()
2131 segno, GET_SIT_TYPE(raw_sit)); in check_block_count()
2135 struct f2fs_sit_entry *raw_sit) in __seg_info_from_raw_sit() argument
2137 se->valid_blocks = GET_SIT_VBLOCKS(raw_sit); in __seg_info_from_raw_sit()
2138 memcpy(se->cur_valid_map, raw_sit->valid_map, SIT_VBLOCK_MAP_SIZE); in __seg_info_from_raw_sit()
2139 se->type = GET_SIT_TYPE(raw_sit); in __seg_info_from_raw_sit()
2140 se->orig_type = GET_SIT_TYPE(raw_sit); in __seg_info_from_raw_sit()
2141 se->mtime = le64_to_cpu(raw_sit->mtime); in __seg_info_from_raw_sit()
2145 struct f2fs_sit_entry *raw_sit) in seg_info_from_raw_sit() argument
2147 __seg_info_from_raw_sit(se, raw_sit); in seg_info_from_raw_sit()