Lines Matching refs:super_copy
1715 num_devices = btrfs_super_num_devices(root->fs_info->super_copy) - 1; in btrfs_rm_device()
1716 btrfs_set_super_num_devices(root->fs_info->super_copy, num_devices); in btrfs_rm_device()
1966 struct btrfs_super_block *disk_super = root->fs_info->super_copy; in btrfs_prepare_sprout()
2206 tmp = btrfs_super_total_bytes(root->fs_info->super_copy); in btrfs_init_new_device()
2207 btrfs_set_super_total_bytes(root->fs_info->super_copy, in btrfs_init_new_device()
2210 tmp = btrfs_super_num_devices(root->fs_info->super_copy); in btrfs_init_new_device()
2211 btrfs_set_super_num_devices(root->fs_info->super_copy, in btrfs_init_new_device()
2462 struct btrfs_super_block *super_copy = in btrfs_grow_device() local
2463 device->dev_root->fs_info->super_copy; in btrfs_grow_device()
2472 old_total = btrfs_super_total_bytes(super_copy); in btrfs_grow_device()
2483 btrfs_set_super_total_bytes(super_copy, old_total + diff); in btrfs_grow_device()
2536 struct btrfs_super_block *super_copy = root->fs_info->super_copy; in btrfs_del_sys_chunk() local
2548 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_del_sys_chunk()
2550 ptr = super_copy->sys_chunk_array; in btrfs_del_sys_chunk()
2571 btrfs_set_super_sys_array_size(super_copy, array_size); in btrfs_del_sys_chunk()
3360 allowed = btrfs_super_incompat_flags(fs_info->super_copy); in btrfs_balance()
3971 struct btrfs_super_block *super_copy = root->fs_info->super_copy; in btrfs_shrink_device() local
3972 u64 old_total = btrfs_super_total_bytes(super_copy); in btrfs_shrink_device()
4075 btrfs_set_super_total_bytes(super_copy, old_total - diff); in btrfs_shrink_device()
4090 struct btrfs_super_block *super_copy = root->fs_info->super_copy; in btrfs_add_system_chunk() local
4096 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_add_system_chunk()
4103 ptr = super_copy->sys_chunk_array + array_size; in btrfs_add_system_chunk()
4109 btrfs_set_super_sys_array_size(super_copy, array_size + item_size); in btrfs_add_system_chunk()
4387 btrfs_super_stripesize(info->super_copy)); in __btrfs_alloc_chunk()
4392 btrfs_super_stripesize(info->super_copy)); in __btrfs_alloc_chunk()
6257 struct btrfs_super_block *super_copy = root->fs_info->super_copy; in btrfs_read_sys_array() local
6296 write_extent_buffer(sb, super_copy, 0, BTRFS_SUPER_INFO_SIZE); in btrfs_read_sys_array()
6297 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_read_sys_array()
6299 array_ptr = super_copy->sys_chunk_array; in btrfs_read_sys_array()