Lines Matching refs:super_copy

1990 	num_devices = btrfs_super_num_devices(fs_info->super_copy) - 1;  in btrfs_rm_device()
1991 btrfs_set_super_num_devices(fs_info->super_copy, num_devices); in btrfs_rm_device()
2220 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_prepare_sprout()
2457 orig_super_total_bytes = btrfs_super_total_bytes(fs_info->super_copy); in btrfs_init_new_device()
2458 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device()
2462 orig_super_num_devices = btrfs_super_num_devices(fs_info->super_copy); in btrfs_init_new_device()
2463 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device()
2555 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device()
2557 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device()
2627 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_grow_device() local
2638 old_total = btrfs_super_total_bytes(super_copy); in btrfs_grow_device()
2649 btrfs_set_super_total_bytes(super_copy, in btrfs_grow_device()
2701 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_del_sys_chunk() local
2713 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_del_sys_chunk()
2715 ptr = super_copy->sys_chunk_array; in btrfs_del_sys_chunk()
2736 btrfs_set_super_sys_array_size(super_copy, array_size); in btrfs_del_sys_chunk()
3761 allowed = btrfs_super_incompat_flags(fs_info->super_copy); in btrfs_balance()
4389 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_shrink_device() local
4390 u64 old_total = btrfs_super_total_bytes(super_copy); in btrfs_shrink_device()
4534 btrfs_set_super_total_bytes(super_copy, in btrfs_shrink_device()
4563 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_add_system_chunk() local
4569 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_add_system_chunk()
4576 ptr = super_copy->sys_chunk_array + array_size; in btrfs_add_system_chunk()
4582 btrfs_set_super_sys_array_size(super_copy, array_size + item_size); in btrfs_add_system_chunk()
6672 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_read_sys_array() local
6712 write_extent_buffer(sb, super_copy, 0, BTRFS_SUPER_INFO_SIZE); in btrfs_read_sys_array()
6713 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_read_sys_array()
6715 array_ptr = super_copy->sys_chunk_array; in btrfs_read_sys_array()
6933 btrfs_super_num_devices(fs_info->super_copy), in btrfs_read_chunk_tree()
6936 btrfs_set_super_num_devices(fs_info->super_copy, total_dev); in btrfs_read_chunk_tree()
6938 if (btrfs_super_total_bytes(fs_info->super_copy) < in btrfs_read_chunk_tree()
6942 btrfs_super_total_bytes(fs_info->super_copy), in btrfs_read_chunk_tree()