Lines Matching refs:super_shadow
255 struct ext2_super_block *super_shadow) in write_backup_super() argument
263 super_shadow->s_block_group_nr = ext2fs_cpu_to_le16(sgrp); in write_backup_super()
265 retval = ext2fs_superblock_csum_set(fs, super_shadow); in write_backup_super()
270 super_shadow); in write_backup_super()
284 struct ext2_super_block *super_shadow = 0; in ext2fs_flush2() local
328 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &super_shadow); in ext2fs_flush2()
335 memcpy(super_shadow, fs->super, sizeof(struct ext2_super_block)); in ext2fs_flush2()
339 ext2fs_swap_super(super_shadow); in ext2fs_flush2()
345 super_shadow = fs->super; in ext2fs_flush2()
383 super_shadow); in ext2fs_flush2()
422 *super_shadow = *fs->super; in ext2fs_flush2()
423 ext2fs_swap_super(super_shadow); in ext2fs_flush2()
426 retval = ext2fs_superblock_csum_set(fs, super_shadow); in ext2fs_flush2()
435 retval = write_primary_superblock(fs, super_shadow); in ext2fs_flush2()
449 if (super_shadow) in ext2fs_flush2()
450 ext2fs_free_mem(&super_shadow); in ext2fs_flush2()