Lines Matching refs:super_copy

2208 	num_devices = btrfs_super_num_devices(fs_info->super_copy) - 1;  in btrfs_rm_device()
2209 btrfs_set_super_num_devices(fs_info->super_copy, num_devices); in btrfs_rm_device()
2407 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_prepare_sprout()
2650 orig_super_total_bytes = btrfs_super_total_bytes(fs_info->super_copy); in btrfs_init_new_device()
2651 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device()
2655 orig_super_num_devices = btrfs_super_num_devices(fs_info->super_copy); in btrfs_init_new_device()
2656 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device()
2753 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device()
2755 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device()
2825 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_grow_device() local
2835 old_total = btrfs_super_total_bytes(super_copy); in btrfs_grow_device()
2844 btrfs_set_super_total_bytes(super_copy, in btrfs_grow_device()
2896 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_del_sys_chunk() local
2908 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_del_sys_chunk()
2910 ptr = super_copy->sys_chunk_array; in btrfs_del_sys_chunk()
2931 btrfs_set_super_sys_array_size(super_copy, array_size); in btrfs_del_sys_chunk()
4073 allowed = btrfs_super_incompat_flags(fs_info->super_copy); in btrfs_balance()
4639 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_shrink_device() local
4640 u64 old_total = btrfs_super_total_bytes(super_copy); in btrfs_shrink_device()
4786 btrfs_set_super_total_bytes(super_copy, in btrfs_shrink_device()
4815 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_add_system_chunk() local
4821 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_add_system_chunk()
4828 ptr = super_copy->sys_chunk_array + array_size; in btrfs_add_system_chunk()
4834 btrfs_set_super_sys_array_size(super_copy, array_size + item_size); in btrfs_add_system_chunk()
6935 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_read_sys_array() local
6975 write_extent_buffer(sb, super_copy, 0, BTRFS_SUPER_INFO_SIZE); in btrfs_read_sys_array()
6976 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_read_sys_array()
6978 array_ptr = super_copy->sys_chunk_array; in btrfs_read_sys_array()
7225 btrfs_super_num_devices(fs_info->super_copy), in btrfs_read_chunk_tree()
7228 btrfs_set_super_num_devices(fs_info->super_copy, total_dev); in btrfs_read_chunk_tree()
7230 if (btrfs_super_total_bytes(fs_info->super_copy) < in btrfs_read_chunk_tree()
7234 btrfs_super_total_bytes(fs_info->super_copy), in btrfs_read_chunk_tree()