Home
last modified time | relevance | path

Searched refs:valid_blocks (Results 1 – 7 of 7) sorted by relevance

/external/f2fs-tools/fsck/
Ddefrag.c34 se->valid_blocks--; in migrate_block()
41 se->valid_blocks++; in migrate_block()
Ddump.c117 u64 valid_blocks = 0; in sit_dump() local
136 segno, se->valid_blocks, se->type, in sit_dump()
142 if (se->valid_blocks == 0x0) { in sit_dump()
147 ASSERT(se->valid_blocks <= 512); in sit_dump()
148 valid_blocks += se->valid_blocks; in sit_dump()
168 valid_blocks, in sit_dump()
Dmount.c111 if (se->valid_blocks == 0x0 && !IS_CUR_SEGNO(sbi, i) && in get_free_segments()
2136 int valid_blocks = 0; in check_block_count() local
2150 valid_blocks += get_bits_in_byte(raw_sit->valid_map[i]); in check_block_count()
2152 if (GET_SIT_VBLOCKS(raw_sit) != valid_blocks) in check_block_count()
2154 segno, GET_SIT_VBLOCKS(raw_sit), valid_blocks); in check_block_count()
2164 se->valid_blocks = GET_SIT_VBLOCKS(raw_sit); in __seg_info_from_raw_sit()
2178 se->ckpt_valid_blocks = se->valid_blocks; in seg_info_from_raw_sit()
2193 return se->valid_blocks; in get_seg_vblocks()
2544 if (se->valid_blocks == 0x0 && is_usable_seg(sbi, segno)) { in build_sit_area_bitmap()
2556 sum_vblocks += se->valid_blocks; in build_sit_area_bitmap()
[all …]
Dresize.c180 if (!se->valid_blocks) in migrate_main()
420 ASSERT(se->valid_blocks == 0); in migrate_sit()
439 se->valid_blocks); in migrate_sit()
Df2fs.h143 unsigned short valid_blocks; /* # of valid blocks */ member
155 unsigned int valid_blocks; /* # of valid blocks in a section */ member
Dsegment.c80 se->valid_blocks++; in reserve_new_block()
Dfsck.c2127 if (se->valid_blocks != 0) in fsck_chk_meta()
2135 sit_node_blks += se->valid_blocks; in fsck_chk_meta()
2344 se->valid_blocks); in flush_curseg_sit_entries()