Home
last modified time | relevance | path

Searched refs:blocks_per_seg (Results 1 – 5 of 5) sorted by relevance

/external/f2fs-tools/fsck/
Df2fs.h181 unsigned int blocks_per_seg; /* blocks per segment */ member
295 start_addr += sbi->blocks_per_seg; in __start_cp_addr()
331 (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) & (sbi->blocks_per_seg - 1))
Dmount.c723 sbi->blocks_per_seg = 1 << sbi->log_blocks_per_seg; in init_sb_info()
728 sbi->blocks_per_seg * NAT_ENTRY_PER_BLOCK; in init_sb_info()
798 if (get_cp(cp_pack_total_block_count) > sbi->blocks_per_seg) in validate_checkpoint()
924 unsigned int main_segs, blocks_per_seg; in sanity_check_ckpt() local
964 blocks_per_seg = sbi->blocks_per_seg; in sanity_check_ckpt()
968 get_cp(cur_node_blkoff[i]) >= blocks_per_seg) in sanity_check_ckpt()
973 get_cp(cur_data_blkoff[i]) >= blocks_per_seg) in sanity_check_ckpt()
990 cp_pack_start_sum > blocks_per_seg - 1 - in sanity_check_ckpt()
1020 block_addr += sbi->blocks_per_seg; in current_nat_addr()
1429 blk_off = sbi->blocks_per_seg; in read_compacted_summaries()
[all …]
Dresize.c181 for (j = sbi->blocks_per_seg - 1; j >= 0; j--) { in migrate_main()
305 block_addr += sbi->blocks_per_seg; in shrink_nats()
349 block_addr += sbi->blocks_per_seg; in migrate_nat()
Dmain.c677 c.defrag_len = sbi->blocks_per_seg; in do_defrag()
Dfsck.c2115 nblocks = sbi->blocks_per_seg; in check_curseg_offset()