• Home
  • Raw
  • Download

Lines Matching refs:blocks_per_seg

439 	unsigned int threshold = sbi->blocks_per_seg * factor *  in excess_dirty_threshold()
1028 unsigned long offset, size, max_blocks = sbi->blocks_per_seg; in __check_sit_bitmap()
1841 int max_blocks = sbi->blocks_per_seg; in add_discard_addrs()
2007 sbi->blocks_per_seg, cur_pos); in f2fs_clear_prefree_segments()
2019 sbi->blocks_per_seg, cur_pos); in f2fs_clear_prefree_segments()
2025 if (cur_pos < sbi->blocks_per_seg) in f2fs_clear_prefree_segments()
2071 dcc->discard_granularity = sbi->blocks_per_seg; in create_discard_cmd_control()
2353 valid_sum_count += sbi->blocks_per_seg; in f2fs_npages_for_summary_flush()
2628 return __find_rev_next_zero_bit(target_map, sbi->blocks_per_seg, start); in __next_free_blkoff()
2659 return __next_free_blkoff(sbi, segno, 0) < sbi->blocks_per_seg; in f2fs_segment_has_free_slot()
3353 f2fs_bug_on(sbi, curseg->next_blkoff >= sbi->blocks_per_seg); in f2fs_allocate_data_block()
3793 blk_off = sbi->blocks_per_seg; in read_compacted_summaries()
3861 for (i = 0; i < sbi->blocks_per_seg; i++, ns++) { in read_normal_summaries()
3965 blkoff = sbi->blocks_per_seg; in write_compacted_summaries()
4510 sbi->blocks_per_seg - in build_sit_entries()
4749 for (blkofs += 1; blkofs < sbi->blocks_per_seg; blkofs++) { in sanity_check_curseg()
4804 for (b = sbi->blocks_per_seg - 1; b >= 0; b--) in check_zone_write_pointer()
5028 return sbi->blocks_per_seg; in f2fs_usable_zone_blks_in_seg()
5043 if (seg_start + sbi->blocks_per_seg > sec_cap_blkaddr) in f2fs_usable_zone_blks_in_seg()
5046 return sbi->blocks_per_seg; in f2fs_usable_zone_blks_in_seg()
5072 return sbi->blocks_per_seg; in f2fs_usable_blks_in_seg()
5142 sm_info->min_seq_blocks = sbi->blocks_per_seg; in f2fs_build_segment_manager()