Searched refs:super_copy (Results 1 – 13 of 13) sorted by relevance
| /linux/fs/btrfs/ |
| H A D | volumes.c | 2407 num_devices = btrfs_super_num_devices(fs_info->super_copy) - 1; in btrfs_rm_device() 2408 btrfs_set_super_num_devices(fs_info->super_copy, num_devices); in btrfs_rm_device() 2687 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_setup_sprout() 2928 orig_super_total_bytes = btrfs_super_total_bytes(fs_info->super_copy); in btrfs_init_new_device() 2929 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device() 2933 orig_super_num_devices = btrfs_super_num_devices(fs_info->super_copy); in btrfs_init_new_device() 2934 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device() 3033 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device() 3035 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device() 3099 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_grow_device() local [all …]
|
| H A D | tree-checker.c | 1030 features = btrfs_super_incompat_flags(fs_info->super_copy); in btrfs_check_chunk_valid() 1186 u64 super_gen = btrfs_super_generation(fs_info->super_copy); in check_inode_item() 1303 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_root_item() 1307 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item() 1311 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_root_item() 1315 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item() 1319 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_root_item() 1323 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item() 1505 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_extent_item() 1509 btrfs_super_generation(fs_info->super_copy) + 1); in check_extent_item()
|
| H A D | disk-io.c | 1231 kfree(fs_info->super_copy); in btrfs_free_fs_info() 1580 const u64 newest_gen = btrfs_super_generation(info->super_copy); in find_newest_super_backup() 1586 root_backup = info->super_copy->super_roots + i; in find_newest_super_backup() 1675 btrfs_super_total_bytes(info->super_copy)); in backup_super_roots() 1677 btrfs_super_bytes_used(info->super_copy)); in backup_super_roots() 1679 btrfs_super_num_devices(info->super_copy)); in backup_super_roots() 1685 memcpy(&info->super_copy->super_roots, in backup_super_roots() 1704 struct btrfs_super_block *super = fs_info->super_copy; in read_backup_root() 2009 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_replay_log() 2580 return btrfs_validate_super(fs_info, fs_info->super_copy, 0); in btrfs_validate_mount_super() [all …]
|
| H A D | sysfs.c | 124 struct btrfs_super_block *disk_super = fs_info->super_copy; in get_features() 136 struct btrfs_super_block *disk_super = fs_info->super_copy; in set_features() 1076 char *label = fs_info->super_copy->label; in btrfs_label_show() 1109 memset(fs_info->super_copy->label, 0, BTRFS_LABEL_SIZE); in btrfs_label_store() 1110 memcpy(fs_info->super_copy->label, buf, p_len); in btrfs_label_store() 1257 u16 csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_checksum_show()
|
| H A D | transaction.c | 1977 super = fs_info->super_copy; in update_super_roots() 2541 btrfs_set_super_log_root(fs_info->super_copy, 0); in btrfs_commit_transaction() 2542 btrfs_set_super_log_root_level(fs_info->super_copy, 0); in btrfs_commit_transaction() 2543 memcpy(fs_info->super_for_commit, fs_info->super_copy, in btrfs_commit_transaction() 2544 sizeof(*fs_info->super_copy)); in btrfs_commit_transaction()
|
| H A D | block-group.c | 2656 if (!root || (btrfs_super_compat_ro_flags(info->super_copy) & in btrfs_read_block_groups() 2667 cache_gen = btrfs_super_cache_generation(info->super_copy); in btrfs_read_block_groups() 2669 btrfs_super_generation(info->super_copy) != cache_gen) in btrfs_read_block_groups() 2999 if (btrfs_super_total_bytes(fs_info->super_copy) <= (SZ_1G * 10ULL)) in calculate_global_root_id() 3859 old_val = btrfs_super_bytes_used(info->super_copy); in btrfs_update_block_group() 3864 btrfs_set_super_bytes_used(info->super_copy, old_val); in btrfs_update_block_group() 4081 thresh = btrfs_super_total_bytes(fs_info->super_copy); in should_alloc_chunk()
|
| H A D | ioctl.c | 2672 fi_args->csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_ioctl_fs_info() 2673 fi_args->csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_ioctl_fs_info() 2789 dir_id = btrfs_super_root_dir(fs_info->super_copy); in btrfs_ioctl_default_subvol() 4028 memcpy(label, fs_info->super_copy->label, BTRFS_LABEL_SIZE); in btrfs_ioctl_get_fslabel() 4049 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_set_fslabel() 4109 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_get_features() 4189 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_set_features()
|
| H A D | space-info.c | 344 disk_super = fs_info->super_copy; in btrfs_init_space_info()
|
| H A D | zoned.c | 2880 u64 total = btrfs_super_total_bytes(fs_info->super_copy); in btrfs_zoned_should_reclaim()
|
| H A D | free-space-cache.c | 4151 return btrfs_super_cache_generation(fs_info->super_copy); in btrfs_free_space_cache_v1_active()
|
| H A D | inode.c | 1395 ASSERT(num_bytes <= btrfs_super_total_bytes(fs_info->super_copy)); in cow_file_range() 4695 dir_id = btrfs_super_root_dir(fs_info->super_copy); in may_destroy_subvol()
|
| H A D | relocation.c | 6056 if (!(btrfs_super_incompat_flags(fs_info->super_copy) & in btrfs_remove_extent_from_remap_tree()
|
| /linux/fs/btrfs/tests/ |
| H A D | raid-stripe-tree-tests.c | 1104 btrfs_set_super_incompat_flags(root->fs_info->super_copy, in run_test()
|