Lines Matching refs:super_copy
2213 * devices in the super block (super_copy). Conversely,
2215 * (super_copy) should hold the device list mutex.
2244 num_devices = btrfs_super_num_devices(fs_info->super_copy) - 1;
2245 btrfs_set_super_num_devices(fs_info->super_copy, num_devices);
2443 struct btrfs_super_block *disk_super = fs_info->super_copy;
2686 orig_super_total_bytes = btrfs_super_total_bytes(fs_info->super_copy);
2687 btrfs_set_super_total_bytes(fs_info->super_copy,
2691 orig_super_num_devices = btrfs_super_num_devices(fs_info->super_copy);
2692 btrfs_set_super_num_devices(fs_info->super_copy,
2789 btrfs_set_super_total_bytes(fs_info->super_copy,
2791 btrfs_set_super_num_devices(fs_info->super_copy,
2861 struct btrfs_super_block *super_copy = fs_info->super_copy;
2871 old_total = btrfs_super_total_bytes(super_copy);
2880 btrfs_set_super_total_bytes(super_copy,
2932 struct btrfs_super_block *super_copy = fs_info->super_copy;
2944 array_size = btrfs_super_sys_array_size(super_copy);
2946 ptr = super_copy->sys_chunk_array;
2967 btrfs_set_super_sys_array_size(super_copy, array_size);
4110 allowed = btrfs_super_incompat_flags(fs_info->super_copy);
4675 struct btrfs_super_block *super_copy = fs_info->super_copy;
4676 u64 old_total = btrfs_super_total_bytes(super_copy);
4822 btrfs_set_super_total_bytes(super_copy,
4851 struct btrfs_super_block *super_copy = fs_info->super_copy;
4857 array_size = btrfs_super_sys_array_size(super_copy);
4864 ptr = super_copy->sys_chunk_array + array_size;
4870 btrfs_set_super_sys_array_size(super_copy, array_size + item_size);
6971 struct btrfs_super_block *super_copy = fs_info->super_copy;
7011 write_extent_buffer(sb, super_copy, 0, BTRFS_SUPER_INFO_SIZE);
7012 array_size = btrfs_super_sys_array_size(super_copy);
7014 array_ptr = super_copy->sys_chunk_array;
7261 btrfs_super_num_devices(fs_info->super_copy),
7264 btrfs_set_super_num_devices(fs_info->super_copy, total_dev);
7266 if (btrfs_super_total_bytes(fs_info->super_copy) <
7270 btrfs_super_total_bytes(fs_info->super_copy),