Home
last modified time | relevance | path

Searched refs:super_copy (Results 1 – 16 of 16) sorted by relevance

/linux/fs/btrfs/
H A Dfs.c260 disk_super = fs_info->super_copy; in __btrfs_set_fs_incompat()
283 disk_super = fs_info->super_copy; in __btrfs_clear_fs_incompat()
306 disk_super = fs_info->super_copy; in __btrfs_set_fs_compat_ro()
329 disk_super = fs_info->super_copy; in __btrfs_clear_fs_compat_ro()
H A Dvolumes.c2457 num_devices = btrfs_super_num_devices(fs_info->super_copy) - 1; in btrfs_rm_device()
2458 btrfs_set_super_num_devices(fs_info->super_copy, num_devices); in btrfs_rm_device()
2741 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_setup_sprout()
3019 orig_super_total_bytes = btrfs_super_total_bytes(fs_info->super_copy); in btrfs_init_new_device()
3020 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device()
3024 orig_super_num_devices = btrfs_super_num_devices(fs_info->super_copy); in btrfs_init_new_device()
3025 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device()
3129 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device()
3131 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device()
3195 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_grow_device() local
[all …]
H A Ddisk-io.c1255 kfree(fs_info->super_copy); in btrfs_free_fs_info()
1604 const u64 newest_gen = btrfs_super_generation(info->super_copy); in find_newest_super_backup()
1610 root_backup = info->super_copy->super_roots + i; in find_newest_super_backup()
1699 btrfs_super_total_bytes(info->super_copy)); in backup_super_roots()
1701 btrfs_super_bytes_used(info->super_copy)); in backup_super_roots()
1703 btrfs_super_num_devices(info->super_copy)); in backup_super_roots()
1709 memcpy(&info->super_copy->super_roots, in backup_super_roots()
1728 struct btrfs_super_block *super = fs_info->super_copy; in read_backup_root()
2034 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_replay_log()
2605 return btrfs_validate_super(fs_info, fs_info->super_copy, 0); in btrfs_validate_mount_super()
[all …]
H A Dsuper.c750 btrfs_set_super_cache_generation(fs_info->super_copy, 0); in btrfs_set_free_space_cache_settings()
929 dir_id = btrfs_super_root_dir(fs_info->super_copy); in get_default_subvol_objectid()
1310 if (btrfs_super_log_root(fs_info->super_copy) != 0) { in btrfs_remount_rw()
1723 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_statfs()
1823 fsid = (__be32 *)fs_info->super_copy->fsid; in btrfs_statfs()
2082 fs_info->super_copy = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_KERNEL); in btrfs_get_tree_subvol()
2084 if (!fs_info->super_copy || !fs_info->super_for_commit) { in btrfs_get_tree_subvol()
2089 kfree(fs_info->super_copy); in btrfs_get_tree_subvol()
2347 if (unlikely(csum_type != btrfs_super_csum_type(fs_info->super_copy))) { in check_dev_super()
2349 csum_type, btrfs_super_csum_type(fs_info->super_copy)); in check_dev_super()
H A Dtree-checker.c1057 features = btrfs_super_incompat_flags(fs_info->super_copy); in btrfs_check_chunk_valid()
1213 u64 super_gen = btrfs_super_generation(fs_info->super_copy); in check_inode_item()
1330 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_root_item()
1334 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item()
1338 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_root_item()
1342 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item()
1346 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_root_item()
1350 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item()
1563 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_extent_item()
1567 btrfs_super_generation(fs_info->super_copy) + 1); in check_extent_item()
H A Dfs.h618 struct btrfs_super_block *super_copy; member
1133 (!!(btrfs_super_incompat_flags((fs_info)->super_copy) & (flags)))
1136 (!!(btrfs_super_compat_ro_flags((fs_info)->super_copy) & (flags)))
H A Dsysfs.c124 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 Dtransaction.c1971 super = fs_info->super_copy; in update_super_roots()
2538 btrfs_set_super_log_root(fs_info->super_copy, 0); in btrfs_commit_transaction()
2539 btrfs_set_super_log_root_level(fs_info->super_copy, 0); in btrfs_commit_transaction()
2540 memcpy(fs_info->super_for_commit, fs_info->super_copy, in btrfs_commit_transaction()
2541 sizeof(*fs_info->super_copy)); in btrfs_commit_transaction()
H A Dblock-group.c2682 if (!root || (btrfs_super_compat_ro_flags(info->super_copy) & in btrfs_read_block_groups()
2693 cache_gen = btrfs_super_cache_generation(info->super_copy); in btrfs_read_block_groups()
2695 btrfs_super_generation(info->super_copy) != cache_gen) in btrfs_read_block_groups()
3025 if (btrfs_super_total_bytes(fs_info->super_copy) <= (SZ_1G * 10ULL)) in calculate_global_root_id()
3885 old_val = btrfs_super_bytes_used(info->super_copy); in btrfs_update_block_group()
3890 btrfs_set_super_bytes_used(info->super_copy, old_val); in btrfs_update_block_group()
4107 thresh = btrfs_super_total_bytes(fs_info->super_copy); in should_alloc_chunk()
H A Dioctl.c2716 fi_args->csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_ioctl_fs_info()
2717 fi_args->csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_ioctl_fs_info()
2831 dir_id = btrfs_super_root_dir(fs_info->super_copy); in btrfs_ioctl_default_subvol()
4071 memcpy(label, fs_info->super_copy->label, BTRFS_LABEL_SIZE); in btrfs_ioctl_get_fslabel()
4092 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_set_fslabel()
4152 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_get_features()
4232 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_set_features()
H A Dspace-info.c344 disk_super = fs_info->super_copy; in btrfs_init_space_info()
H A Dzoned.c2901 u64 total = btrfs_super_total_bytes(fs_info->super_copy); in btrfs_zoned_should_reclaim()
H A Dfree-space-cache.c4152 return btrfs_super_cache_generation(fs_info->super_copy); in btrfs_free_space_cache_v1_active()
H A Dinode.c1376 ASSERT(num_bytes <= btrfs_super_total_bytes(fs_info->super_copy)); in cow_file_range()
4705 dir_id = btrfs_super_root_dir(fs_info->super_copy); in may_destroy_subvol()
H A Drelocation.c6217 if (!(btrfs_super_incompat_flags(fs_info->super_copy) & in btrfs_remove_extent_from_remap_tree()
/linux/fs/btrfs/tests/
H A Draid-stripe-tree-tests.c1104 btrfs_set_super_incompat_flags(root->fs_info->super_copy, in run_test()