Lines Matching refs:super_copy

1859 	num_devices = btrfs_super_num_devices(root->fs_info->super_copy) - 1;  in btrfs_rm_device()
1860 btrfs_set_super_num_devices(root->fs_info->super_copy, num_devices); in btrfs_rm_device()
2111 struct btrfs_super_block *disk_super = root->fs_info->super_copy; in btrfs_prepare_sprout()
2351 tmp = btrfs_super_total_bytes(root->fs_info->super_copy); in btrfs_init_new_device()
2352 btrfs_set_super_total_bytes(root->fs_info->super_copy, in btrfs_init_new_device()
2355 tmp = btrfs_super_num_devices(root->fs_info->super_copy); in btrfs_init_new_device()
2356 btrfs_set_super_num_devices(root->fs_info->super_copy, in btrfs_init_new_device()
2609 struct btrfs_super_block *super_copy = in btrfs_grow_device() local
2610 device->dev_root->fs_info->super_copy; in btrfs_grow_device()
2619 old_total = btrfs_super_total_bytes(super_copy); in btrfs_grow_device()
2630 btrfs_set_super_total_bytes(super_copy, old_total + diff); in btrfs_grow_device()
2683 struct btrfs_super_block *super_copy = root->fs_info->super_copy; in btrfs_del_sys_chunk() local
2695 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_del_sys_chunk()
2697 ptr = super_copy->sys_chunk_array; in btrfs_del_sys_chunk()
2718 btrfs_set_super_sys_array_size(super_copy, array_size); in btrfs_del_sys_chunk()
3668 allowed = btrfs_super_incompat_flags(fs_info->super_copy); in btrfs_balance()
4260 struct btrfs_super_block *super_copy = root->fs_info->super_copy; in btrfs_shrink_device() local
4261 u64 old_total = btrfs_super_total_bytes(super_copy); in btrfs_shrink_device()
4392 btrfs_set_super_total_bytes(super_copy, old_total - diff); in btrfs_shrink_device()
4417 struct btrfs_super_block *super_copy = root->fs_info->super_copy; in btrfs_add_system_chunk() local
4423 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_add_system_chunk()
4430 ptr = super_copy->sys_chunk_array + array_size; in btrfs_add_system_chunk()
4436 btrfs_set_super_sys_array_size(super_copy, array_size + item_size); in btrfs_add_system_chunk()
4655 btrfs_super_stripesize(info->super_copy)); in __btrfs_alloc_chunk()
4660 btrfs_super_stripesize(info->super_copy)); in __btrfs_alloc_chunk()
6447 struct btrfs_super_block *super_copy = root->fs_info->super_copy; in btrfs_read_sys_array() local
6486 write_extent_buffer(sb, super_copy, 0, BTRFS_SUPER_INFO_SIZE); in btrfs_read_sys_array()
6487 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_read_sys_array()
6489 array_ptr = super_copy->sys_chunk_array; in btrfs_read_sys_array()