Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Ddump.c126 u64 valid_blocks = 0; in sit_dump() local
145 segno, se->valid_blocks, se->type, in sit_dump()
151 if (se->valid_blocks == 0x0) { in sit_dump()
156 ASSERT(se->valid_blocks <= 512); in sit_dump()
157 valid_blocks += se->valid_blocks; in sit_dump()
177 valid_blocks, in sit_dump()
Ddefrag.c34 se->valid_blocks--; in migrate_block()
41 se->valid_blocks++; in migrate_block()
Dmount.c21 if (se->valid_blocks == 0x0 && in get_free_segments()
1197 int valid_blocks = 0; in check_block_count() local
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()
1225 se->valid_blocks = GET_SIT_VBLOCKS(raw_sit); in seg_info_from_raw_sit()
1509 if (se->valid_blocks == 0x0) { in build_sit_area_bitmap()
1521 sum_vblocks += se->valid_blocks; in build_sit_area_bitmap()
1550 u16 valid_blocks = 0; in rewrite_sit_area_bitmap() local
1560 valid_blocks += get_bits_in_byte(sit->valid_map[i]); in rewrite_sit_area_bitmap()
[all …]
Dresize.c147 if (!se->valid_blocks) in migrate_main()
383 ASSERT(se->valid_blocks == 0); in migrate_sit()
402 se->valid_blocks); in migrate_sit()
Df2fs.h65 unsigned short valid_blocks; /* # of valid blocks */ member
80 unsigned int valid_blocks; /* # of valid blocks in a section */ member
Dsegment.c36 se->valid_blocks++; in reserve_new_block()
Dfsck.c1541 if (se->valid_blocks != 0) in fsck_chk_meta()
1549 sit_node_blks += se->valid_blocks; in fsck_chk_meta()
1732 se->valid_blocks); in flush_curseg_sit_entries()