Lines Matching refs:current_fs
345 ext2_filsys current_fs; variable
645 retval = ext2fs_bmap2(current_fs, set_ino, in parse_bmap()
661 *checksum = ext2fs_group_desc_csum(current_fs, set_bg); in parse_gd_csum()
747 set_sb = *current_fs->super; in do_set_super()
749 *current_fs->super = set_sb; in do_set_super()
750 ext2fs_mark_super_dirty(current_fs); in do_set_super()
813 if (current_fs && in do_set_block_group_descriptor()
814 EXT2_DESC_SIZE(current_fs->super) >= EXT2_MIN_DESC_SIZE_64BIT) { in do_set_block_group_descriptor()
839 if (set_bg >= current_fs->group_desc_count) { in do_set_block_group_descriptor()
849 target = ext2fs_group_desc(current_fs, current_fs->group_desc, set_bg); in do_set_block_group_descriptor()
853 ext2fs_mark_super_dirty(current_fs); in do_set_block_group_descriptor()
863 retval = ext2fs_mmp_clear(current_fs); in parse_mmp_clear()
867 memcpy(info->ptr, current_fs->mmp_buf, info->size); in parse_mmp_clear()
891 if (current_fs->super->s_mmp_block == 0) { in do_set_mmp_value()
900 mmp_s = current_fs->mmp_buf; in do_set_mmp_value()
902 retval = ext2fs_get_mem(current_fs->blocksize, &mmp_s); in do_set_mmp_value()
907 retval = ext2fs_mmp_read(current_fs, in do_set_mmp_value()
908 current_fs->super->s_mmp_block, mmp_s); in do_set_mmp_value()
911 (long long)current_fs->super->s_mmp_block); in do_set_mmp_value()
915 current_fs->mmp_buf = mmp_s; in do_set_mmp_value()
926 ext2fs_mmp_write(current_fs, current_fs->super->s_mmp_block, in do_set_mmp_value()