Lines Matching refs:super_copy

2182 	num_devices = btrfs_super_num_devices(fs_info->super_copy) - 1;  in btrfs_rm_device()
2183 btrfs_set_super_num_devices(fs_info->super_copy, num_devices); in btrfs_rm_device()
2466 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_setup_sprout()
2717 orig_super_total_bytes = btrfs_super_total_bytes(fs_info->super_copy); in btrfs_init_new_device()
2718 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device()
2722 orig_super_num_devices = btrfs_super_num_devices(fs_info->super_copy); in btrfs_init_new_device()
2723 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device()
2820 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device()
2822 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device()
2894 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_grow_device() local
2905 old_total = btrfs_super_total_bytes(super_copy); in btrfs_grow_device()
2914 btrfs_set_super_total_bytes(super_copy, in btrfs_grow_device()
2970 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_del_sys_chunk() local
2982 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_del_sys_chunk()
2984 ptr = super_copy->sys_chunk_array; in btrfs_del_sys_chunk()
3005 btrfs_set_super_sys_array_size(super_copy, array_size); in btrfs_del_sys_chunk()
4258 allowed = btrfs_super_incompat_flags(fs_info->super_copy); in btrfs_balance()
4822 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_shrink_device() local
4823 u64 old_total = btrfs_super_total_bytes(super_copy); in btrfs_shrink_device()
4968 btrfs_set_super_total_bytes(super_copy, in btrfs_shrink_device()
4999 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_add_system_chunk() local
5006 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_add_system_chunk()
5011 ptr = super_copy->sys_chunk_array + array_size; in btrfs_add_system_chunk()
5017 btrfs_set_super_sys_array_size(super_copy, array_size + item_size); in btrfs_add_system_chunk()
7456 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_read_sys_array() local
7482 write_extent_buffer(sb, super_copy, 0, BTRFS_SUPER_INFO_SIZE); in btrfs_read_sys_array()
7483 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_read_sys_array()
7485 array_ptr = super_copy->sys_chunk_array; in btrfs_read_sys_array()
7737 btrfs_super_num_devices(fs_info->super_copy), in btrfs_read_chunk_tree()
7740 btrfs_set_super_num_devices(fs_info->super_copy, total_dev); in btrfs_read_chunk_tree()
7742 if (btrfs_super_total_bytes(fs_info->super_copy) < in btrfs_read_chunk_tree()
7746 btrfs_super_total_bytes(fs_info->super_copy), in btrfs_read_chunk_tree()