Searched refs:blocks_per_seg (Results 1 – 6 of 6) sorted by relevance
184 unsigned int blocks_per_seg; /* blocks per segment */ member284 start_addr += sbi->blocks_per_seg; in __start_cp_addr()320 (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) & (sbi->blocks_per_seg - 1))
150 for (j = sbi->blocks_per_seg - 1; j >= 0; j--) { in migrate_main()274 block_addr += sbi->blocks_per_seg; in shrink_nats()317 block_addr += sbi->blocks_per_seg; in migrate_nat()
486 sbi->blocks_per_seg = 1 << sbi->log_blocks_per_seg; in init_sb_info()491 sbi->blocks_per_seg * NAT_ENTRY_PER_BLOCK; in init_sb_info()708 block_addr += sbi->blocks_per_seg; in current_nat_addr()986 blk_off = sbi->blocks_per_seg; in read_compacted_summaries()1025 for (i = 0; i < sbi->blocks_per_seg; i++, sum_entry++) { in restore_node_summary()1201 if (GET_SIT_VBLOCKS(raw_sit) > sbi->blocks_per_seg) in check_block_count()1711 if (se->valid_blocks == sbi->blocks_per_seg || in find_next_free_block()1970 block_addr += sbi->blocks_per_seg; in build_nat_area_bitmap()
493 c.defrag_len = sbi->blocks_per_seg; in do_defrag()
58 block_addr += sbi->blocks_per_seg; in nat_dump()
1818 nblocks = sbi->blocks_per_seg; in check_curseg_offset()