Searched refs:raw_sit (Results 1 – 2 of 2) sorted by relevance
774 unsigned int segno, struct f2fs_sit_entry *raw_sit) in check_block_count() argument782 if (GET_SIT_VBLOCKS(raw_sit) > sbi->blocks_per_seg) in check_block_count()784 segno, GET_SIT_VBLOCKS(raw_sit)); in check_block_count()792 valid_blocks += get_bits_in_byte(raw_sit->valid_map[i]); in check_block_count()794 if (GET_SIT_VBLOCKS(raw_sit) != valid_blocks) in check_block_count()796 segno, GET_SIT_VBLOCKS(raw_sit), valid_blocks); in check_block_count()798 if (GET_SIT_TYPE(raw_sit) >= NO_CHECK_TYPE) in check_block_count()800 segno, GET_SIT_TYPE(raw_sit)); in check_block_count()804 struct f2fs_sit_entry *raw_sit) in seg_info_from_raw_sit() argument806 se->valid_blocks = GET_SIT_VBLOCKS(raw_sit); in seg_info_from_raw_sit()[all …]
555 #define GET_SIT_VBLOCKS(raw_sit) \ argument556 (le16_to_cpu((raw_sit)->vblocks) & SIT_VBLOCKS_MASK)557 #define GET_SIT_TYPE(raw_sit) \ argument558 ((le16_to_cpu((raw_sit)->vblocks) & ~SIT_VBLOCKS_MASK) \