Lines Matching refs:segment_count_nat
326 set_sb(segment_count_nat, nat_segments ? nat_segments : 1); in f2fs_prepare_super_block()
327 max_nat_bitmap_size = (get_sb(segment_count_nat) << in f2fs_prepare_super_block()
329 set_sb(segment_count_nat, get_sb(segment_count_nat) * 2); in f2fs_prepare_super_block()
331 set_sb(segment_count_nat, SEG_ALIGN(blocks_for_nat)); in f2fs_prepare_super_block()
375 if (get_sb(segment_count_nat) > max_nat_segments) in f2fs_prepare_super_block()
376 set_sb(segment_count_nat, max_nat_segments); in f2fs_prepare_super_block()
378 set_sb(segment_count_nat, get_sb(segment_count_nat) * 2); in f2fs_prepare_super_block()
381 set_sb(ssa_blkaddr, get_sb(nat_blkaddr) + get_sb(segment_count_nat) * in f2fs_prepare_super_block()
387 get_sb(segment_count_nat))) * in f2fs_prepare_super_block()
397 get_sb(segment_count_nat) + in f2fs_prepare_super_block()
609 for (index = 0; index < get_sb(segment_count_nat) / 2; index++) { in f2fs_init_nat_area()
659 nat_bits_bytes = get_sb(segment_count_nat) << 5; in f2fs_write_check_point_pack()
738 set_cp(nat_ver_bitmap_bytesize, ((get_sb(segment_count_nat) / 2) << in f2fs_write_check_point_pack()