Home
last modified time | relevance | path

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

/third_party/f2fs-tools/fsck/
Dmount.c56 log_base_2(sbi->segs_per_sec * sbi->blocks_per_seg); in get_zone_idx_from_dev()
63 block_t blocks_per_sec = sbi->blocks_per_seg * sbi->segs_per_sec; in is_usable_seg()
803 unsigned int total_sections, blocks_per_seg; in sanity_check_raw_super() local
857 blocks_per_seg = 1 << get_sb(log_blocks_per_seg); in sanity_check_raw_super()
917 if (get_sb(cp_payload) > (blocks_per_seg - F2FS_CP_PACKS)) { in sanity_check_raw_super()
919 get_sb(cp_payload), blocks_per_seg - F2FS_CP_PACKS); in sanity_check_raw_super()
1042 sbi->blocks_per_seg = 1 << sbi->log_blocks_per_seg; in init_sb_info()
1047 sbi->blocks_per_seg * NAT_ENTRY_PER_BLOCK; in init_sb_info()
1145 if (get_cp(cp_pack_total_block_count) > sbi->blocks_per_seg) in validate_checkpoint()
1279 unsigned int main_segs, blocks_per_seg; in sanity_check_ckpt() local
[all …]
Df2fs.h268 unsigned int blocks_per_seg; /* blocks per segment */ member
408 start_addr += sbi->blocks_per_seg; in __start_cp_addr()
451 (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) & (sbi->blocks_per_seg - 1))
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.c939 c.defrag_len = sbi->blocks_per_seg; in do_defrag()
Dfsck.c2428 for (b = sbi->blocks_per_seg - 1; b >= 0; b--) in last_vblk_off_in_zone()
2556 nblocks = sbi->blocks_per_seg; in check_curseg_offset()