• Home
  • Raw
  • Download

Lines Matching refs:super_copy

2330 	num_devices = btrfs_super_num_devices(fs_info->super_copy) - 1;  in btrfs_rm_device()
2331 btrfs_set_super_num_devices(fs_info->super_copy, num_devices); in btrfs_rm_device()
2549 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_prepare_sprout()
2786 orig_super_total_bytes = btrfs_super_total_bytes(fs_info->super_copy); in btrfs_init_new_device()
2787 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device()
2791 orig_super_num_devices = btrfs_super_num_devices(fs_info->super_copy); in btrfs_init_new_device()
2792 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device()
2886 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device()
2888 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device()
2958 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_grow_device() local
2968 old_total = btrfs_super_total_bytes(super_copy); in btrfs_grow_device()
2977 btrfs_set_super_total_bytes(super_copy, in btrfs_grow_device()
3029 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_del_sys_chunk() local
3041 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_del_sys_chunk()
3043 ptr = super_copy->sys_chunk_array; in btrfs_del_sys_chunk()
3064 btrfs_set_super_sys_array_size(super_copy, array_size); in btrfs_del_sys_chunk()
4203 allowed = btrfs_super_incompat_flags(fs_info->super_copy); in btrfs_balance()
4858 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_shrink_device() local
4859 u64 old_total = btrfs_super_total_bytes(super_copy); in btrfs_shrink_device()
5005 btrfs_set_super_total_bytes(super_copy, in btrfs_shrink_device()
5034 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_add_system_chunk() local
5040 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_add_system_chunk()
5047 ptr = super_copy->sys_chunk_array + array_size; in btrfs_add_system_chunk()
5053 btrfs_set_super_sys_array_size(super_copy, array_size + item_size); in btrfs_add_system_chunk()
7199 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_read_sys_array() local
7239 write_extent_buffer(sb, super_copy, 0, BTRFS_SUPER_INFO_SIZE); in btrfs_read_sys_array()
7240 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_read_sys_array()
7242 array_ptr = super_copy->sys_chunk_array; in btrfs_read_sys_array()
7461 btrfs_super_num_devices(fs_info->super_copy), in btrfs_read_chunk_tree()
7464 btrfs_set_super_num_devices(fs_info->super_copy, total_dev); in btrfs_read_chunk_tree()
7466 if (btrfs_super_total_bytes(fs_info->super_copy) < in btrfs_read_chunk_tree()
7470 btrfs_super_total_bytes(fs_info->super_copy), in btrfs_read_chunk_tree()