Lines Matching refs:new_sb
234 struct f2fs_super_block *new_sb, unsigned int offset) in migrate_ssa() argument
276 struct f2fs_super_block *new_sb) in shrink_nats() argument
324 struct f2fs_super_block *new_sb) in migrate_nat() argument
391 struct f2fs_super_block *new_sb, unsigned int offset) in migrate_sit() argument
449 struct f2fs_super_block *new_sb, unsigned int offset) in rebuild_checkpoint() argument
514 flags = update_nat_bits_flags(new_sb, cp, get_cp(ckpt_flags)); in rebuild_checkpoint()
576 write_nat_bits(sbi, new_sb, new_cp, sbi->cur_cp == 1 ? 2 : 1); in rebuild_checkpoint()
592 struct f2fs_super_block *new_sb = &new_sb_raw; in f2fs_resize_grow() local
601 memcpy(new_sb, F2FS_RAW_SUPER(sbi), sizeof(*new_sb)); in f2fs_resize_grow()
602 if (get_new_sb(new_sb)) in f2fs_resize_grow()
607 err = shrink_nats(sbi, new_sb); in f2fs_resize_grow()
632 migrate_ssa(sbi, new_sb, offset_seg); in f2fs_resize_grow()
633 migrate_nat(sbi, new_sb); in f2fs_resize_grow()
634 migrate_sit(sbi, new_sb, offset_seg); in f2fs_resize_grow()
635 rebuild_checkpoint(sbi, new_sb, offset_seg); in f2fs_resize_grow()
636 update_superblock(new_sb, SB_MASK_ALL); in f2fs_resize_grow()
638 print_raw_sb_info(new_sb); in f2fs_resize_grow()
647 struct f2fs_super_block *new_sb = &new_sb_raw; in f2fs_resize_shrink() local
656 memcpy(new_sb, F2FS_RAW_SUPER(sbi), sizeof(*new_sb)); in f2fs_resize_shrink()
657 if (get_new_sb(new_sb)) in f2fs_resize_shrink()
662 err = shrink_nats(sbi, new_sb); in f2fs_resize_shrink()
687 update_superblock(new_sb, SB_MASK_ALL); in f2fs_resize_shrink()
688 rebuild_checkpoint(sbi, new_sb, 0); in f2fs_resize_shrink()
699 print_raw_sb_info(new_sb); in f2fs_resize_shrink()