Searched refs:blocks_per_seg (Results 1 – 5 of 5) sorted by relevance
56 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()877 unsigned int total_sections, blocks_per_seg; in sanity_check_raw_super() local925 blocks_per_seg = 1 << get_sb(log_blocks_per_seg); in sanity_check_raw_super()985 if (get_sb(cp_payload) > (blocks_per_seg - F2FS_CP_PACKS)) { in sanity_check_raw_super()987 get_sb(cp_payload), blocks_per_seg - F2FS_CP_PACKS); in sanity_check_raw_super()1073 sbi->blocks_per_seg = 1 << sbi->log_blocks_per_seg; in init_sb_info()1078 sbi->blocks_per_seg * NAT_ENTRY_PER_BLOCK; in init_sb_info()1184 if (get_cp(cp_pack_total_block_count) > sbi->blocks_per_seg) in validate_checkpoint()1345 unsigned int main_segs, blocks_per_seg; in sanity_check_ckpt() local[all …]
268 unsigned int blocks_per_seg; /* blocks per segment */ member408 start_addr += sbi->blocks_per_seg; in __start_cp_addr()425 ((sbi)->segs_per_sec * (sbi)->blocks_per_seg)454 (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) & (sbi->blocks_per_seg - 1))
183 for (j = sbi->blocks_per_seg - 1; j >= 0; j--) { in migrate_main()307 block_addr += sbi->blocks_per_seg; in shrink_nats()351 block_addr += sbi->blocks_per_seg; in migrate_nat()
949 c.defrag_len = sbi->blocks_per_seg; in do_defrag()
2491 for (b = sbi->blocks_per_seg - 1; b >= 0; b--) in last_vblk_off_in_zone()2622 nblocks = sbi->blocks_per_seg; in check_curseg_offset()