Home
last modified time | relevance | path

Searched refs:raw_sit (Results 1 – 2 of 2) sorted by relevance

/external/f2fs-tools/fsck/
Dmount.c1193 unsigned int segno, struct f2fs_sit_entry *raw_sit) in check_block_count() argument
1201 if (GET_SIT_VBLOCKS(raw_sit) > sbi->blocks_per_seg) in check_block_count()
1203 segno, GET_SIT_VBLOCKS(raw_sit)); in check_block_count()
1211 valid_blocks += get_bits_in_byte(raw_sit->valid_map[i]); in check_block_count()
1213 if (GET_SIT_VBLOCKS(raw_sit) != valid_blocks) in check_block_count()
1215 segno, GET_SIT_VBLOCKS(raw_sit), valid_blocks); in check_block_count()
1217 if (GET_SIT_TYPE(raw_sit) >= NO_CHECK_TYPE) in check_block_count()
1219 segno, GET_SIT_TYPE(raw_sit)); in check_block_count()
1223 struct f2fs_sit_entry *raw_sit) in seg_info_from_raw_sit() argument
1225 se->valid_blocks = GET_SIT_VBLOCKS(raw_sit); in seg_info_from_raw_sit()
[all …]
/external/f2fs-tools/include/
Df2fs_fs.h735 #define GET_SIT_VBLOCKS(raw_sit) \ argument
736 (le16_to_cpu((raw_sit)->vblocks) & SIT_VBLOCKS_MASK)
737 #define GET_SIT_TYPE(raw_sit) \ argument
738 ((le16_to_cpu((raw_sit)->vblocks) & ~SIT_VBLOCKS_MASK) \