Lines Matching refs:blocks_per_seg

423 	unsigned int threshold = sbi->blocks_per_seg * factor *  in excess_dirty_threshold()
1012 unsigned long offset, size, max_blocks = sbi->blocks_per_seg; in __check_sit_bitmap()
1822 int max_blocks = sbi->blocks_per_seg; in add_discard_addrs()
1988 sbi->blocks_per_seg, cur_pos); in f2fs_clear_prefree_segments()
2000 sbi->blocks_per_seg, cur_pos); in f2fs_clear_prefree_segments()
2006 if (cur_pos < sbi->blocks_per_seg) in f2fs_clear_prefree_segments()
2052 dcc->discard_granularity = sbi->blocks_per_seg; in create_discard_cmd_control()
2334 valid_sum_count += sbi->blocks_per_seg; in f2fs_npages_for_summary_flush()
2609 return __find_rev_next_zero_bit(target_map, sbi->blocks_per_seg, start); in __next_free_blkoff()
2640 return __next_free_blkoff(sbi, segno, 0) < sbi->blocks_per_seg; in f2fs_segment_has_free_slot()
3239 f2fs_bug_on(sbi, curseg->next_blkoff >= sbi->blocks_per_seg); in f2fs_allocate_data_block()
3681 blk_off = sbi->blocks_per_seg; in read_compacted_summaries()
3749 for (i = 0; i < sbi->blocks_per_seg; i++, ns++) { in read_normal_summaries()
3853 blkoff = sbi->blocks_per_seg; in write_compacted_summaries()
4402 sbi->blocks_per_seg - in build_sit_entries()
4645 for (blkofs += 1; blkofs < sbi->blocks_per_seg; blkofs++) { in sanity_check_curseg()
4701 for (b = sbi->blocks_per_seg - 1; b >= 0; b--) in check_zone_write_pointer()
4976 return sbi->blocks_per_seg; in f2fs_usable_zone_blks_in_seg()
4979 return sbi->blocks_per_seg; in f2fs_usable_zone_blks_in_seg()
4992 if (seg_start + sbi->blocks_per_seg > sec_cap_blkaddr) in f2fs_usable_zone_blks_in_seg()
4995 return sbi->blocks_per_seg; in f2fs_usable_zone_blks_in_seg()
5026 return sbi->blocks_per_seg; in f2fs_usable_blks_in_seg()
5096 sm_info->min_seq_blocks = sbi->blocks_per_seg; in f2fs_build_segment_manager()