Searched refs:valid_blocks (Results 1 – 3 of 3) sorted by relevance
/external/f2fs-tools/fsck/ |
D | dump.c | 31 u64 valid_blocks = 0; in sit_dump() local 42 snprintf(buf, BUF_SZ, "%5d %8d\n", segno, se->valid_blocks); in sit_dump() 47 DBG(4, "SIT[0x%3x] : 0x%x\n", segno, se->valid_blocks); in sit_dump() 48 if (se->valid_blocks == 0x0) { in sit_dump() 51 ASSERT(se->valid_blocks <= 512); in sit_dump() 52 valid_blocks += se->valid_blocks; in sit_dump() 63 DBG(1, "Blocks [0x%" PRIx64 "] Free Segs [0x%x]\n", valid_blocks, free_segs); in sit_dump()
|
D | mount.c | 778 int valid_blocks = 0; in check_block_count() local 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() 806 se->valid_blocks = GET_SIT_VBLOCKS(raw_sit); in seg_info_from_raw_sit() 1012 if (se->valid_blocks == 0x0) { in build_sit_area_bitmap() 1024 sum_vblocks += se->valid_blocks; in build_sit_area_bitmap() 1055 u16 valid_blocks = 0; in rewrite_sit_area_bitmap() local 1065 valid_blocks += get_bits_in_byte(sit->valid_map[i]); in rewrite_sit_area_bitmap() 1071 segno, valid_blocks); in rewrite_sit_area_bitmap() [all …]
|
D | f2fs.h | 66 unsigned short valid_blocks; /* # of valid blocks */ member 80 unsigned int valid_blocks; /* # of valid blocks in a section */ member
|