Searched refs:blocks_per_seg (Results 1 – 5 of 5) sorted by relevance
55 log_base_2(sbi->segs_per_sec * sbi->blocks_per_seg); in get_zone_idx_from_dev()62 block_t blocks_per_sec = sbi->blocks_per_seg * sbi->segs_per_sec; in is_usable_seg()807 unsigned int total_sections, blocks_per_seg; in sanity_check_raw_super() local861 blocks_per_seg = 1 << get_sb(log_blocks_per_seg); in sanity_check_raw_super()921 if (get_sb(cp_payload) > (blocks_per_seg - F2FS_CP_PACKS)) { in sanity_check_raw_super()923 get_sb(cp_payload), blocks_per_seg - F2FS_CP_PACKS); in sanity_check_raw_super()1010 sbi->blocks_per_seg = 1 << sbi->log_blocks_per_seg; in init_sb_info()1015 sbi->blocks_per_seg * NAT_ENTRY_PER_BLOCK; in init_sb_info()1111 if (get_cp(cp_pack_total_block_count) > sbi->blocks_per_seg) in validate_checkpoint()1245 unsigned int main_segs, blocks_per_seg; in sanity_check_ckpt() local[all …]
264 unsigned int blocks_per_seg; /* blocks per segment */ member404 start_addr += sbi->blocks_per_seg; in __start_cp_addr()447 (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) & (sbi->blocks_per_seg - 1))
181 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()
929 c.defrag_len = sbi->blocks_per_seg; in do_defrag()
2278 for (b = sbi->blocks_per_seg - 1; b >= 0; b--) in last_vblk_off_in_zone()2406 nblocks = sbi->blocks_per_seg; in check_curseg_offset()