Lines Matching refs:segment_count_nat
58 set_sb(segment_count_nat, nat_segments ? nat_segments : 1); in get_new_sb()
60 max_nat_bitmap_size = (get_sb(segment_count_nat) << in get_new_sb()
62 set_sb(segment_count_nat, get_sb(segment_count_nat) * 2); in get_new_sb()
64 set_sb(segment_count_nat, SEG_ALIGN(blocks_for_nat)); in get_new_sb()
104 if (get_sb(segment_count_nat) > max_nat_segments) in get_new_sb()
105 set_sb(segment_count_nat, max_nat_segments); in get_new_sb()
107 set_sb(segment_count_nat, get_sb(segment_count_nat) * 2); in get_new_sb()
111 get_sb(segment_count_nat) * blks_per_seg); in get_new_sb()
116 get_sb(segment_count_nat))) * blks_per_seg; in get_new_sb()
124 get_sb(segment_count_nat) + in get_new_sb()
139 get_sb(segment_count_nat) + in get_new_sb()
293 nat_blocks = get_newsb(segment_count_nat) >> 1; in shrink_nats()
366 nat_blocks = get_newsb(segment_count_nat) >> 1; in migrate_nat()
372 get_sb(segment_count_nat), in migrate_nat()
373 get_newsb(segment_count_nat)); in migrate_nat()
510 ((get_newsb(segment_count_nat) / 2) << in rebuild_checkpoint()
606 if (get_sb(segment_count_nat) > get_newsb(segment_count_nat)) { in f2fs_resize_grow()
661 if (get_sb(segment_count_nat) > get_newsb(segment_count_nat)) { in f2fs_resize_shrink()