Lines Matching refs:current_fs

542 	retval = ext2fs_bmap2(current_fs, set_ino,  in parse_bmap()
556 ext2fs_group_desc_csum_set(current_fs, set_bg); in parse_gd_csum()
557 memcpy(&set_gd, ext2fs_group_desc(current_fs, in parse_gd_csum()
558 current_fs->group_desc, in parse_gd_csum()
562 ext2fs_bg_checksum(current_fs, set_bg)); in parse_gd_csum()
647 set_sb = *current_fs->super; in do_set_super()
649 *current_fs->super = set_sb; in do_set_super()
650 ext2fs_mark_super_dirty(current_fs); in do_set_super()
710 if (current_fs && in do_set_block_group_descriptor()
711 EXT2_DESC_SIZE(current_fs->super) >= EXT2_MIN_DESC_SIZE_64BIT) { in do_set_block_group_descriptor()
736 if (set_bg >= current_fs->group_desc_count) { in do_set_block_group_descriptor()
746 target = ext2fs_group_desc(current_fs, current_fs->group_desc, set_bg); in do_set_block_group_descriptor()
750 ext2fs_mark_super_dirty(current_fs); in do_set_block_group_descriptor()
760 retval = ext2fs_mmp_clear(current_fs); in parse_mmp_clear()
764 memcpy(info->ptr, current_fs->mmp_buf, info->size); in parse_mmp_clear()
786 if (current_fs->super->s_mmp_block == 0) { in do_set_mmp_value()
795 mmp_s = current_fs->mmp_buf; in do_set_mmp_value()
797 retval = ext2fs_get_mem(current_fs->blocksize, &mmp_s); in do_set_mmp_value()
802 retval = ext2fs_mmp_read(current_fs, in do_set_mmp_value()
803 current_fs->super->s_mmp_block, mmp_s); in do_set_mmp_value()
806 (long long)current_fs->super->s_mmp_block); in do_set_mmp_value()
810 current_fs->mmp_buf = mmp_s; in do_set_mmp_value()
821 ext2fs_mmp_write(current_fs, current_fs->super->s_mmp_block, in do_set_mmp_value()