Searched refs:super_copy (Results 1 – 15 of 15) sorted by relevance
/Linux-v6.1/fs/btrfs/tests/ |
D | btrfs-tests.c | 132 fs_info->super_copy = kzalloc(sizeof(struct btrfs_super_block), in btrfs_alloc_dummy_fs_info() 134 if (!fs_info->super_copy) { in btrfs_alloc_dummy_fs_info() 194 kfree(fs_info->super_copy); in btrfs_free_dummy_fs_info()
|
D | free-space-tree-tests.c | 447 btrfs_set_super_compat_ro_flags(root->fs_info->super_copy, in run_test()
|
/Linux-v6.1/fs/btrfs/ |
D | tree-checker.c | 881 features = btrfs_super_incompat_flags(fs_info->super_copy); in btrfs_check_chunk_valid() 1033 u64 super_gen = btrfs_super_generation(fs_info->super_copy); in check_inode_item() 1150 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_root_item() 1154 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item() 1158 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_root_item() 1162 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item() 1166 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_root_item() 1170 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item() 1307 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_extent_item() 1311 btrfs_super_generation(fs_info->super_copy) + 1); in check_extent_item()
|
D | volumes.c | 2182 num_devices = btrfs_super_num_devices(fs_info->super_copy) - 1; in btrfs_rm_device() 2183 btrfs_set_super_num_devices(fs_info->super_copy, num_devices); in btrfs_rm_device() 2466 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_setup_sprout() 2717 orig_super_total_bytes = btrfs_super_total_bytes(fs_info->super_copy); in btrfs_init_new_device() 2718 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device() 2722 orig_super_num_devices = btrfs_super_num_devices(fs_info->super_copy); in btrfs_init_new_device() 2723 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device() 2820 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device() 2822 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device() 2894 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_grow_device() local [all …]
|
D | disk-io.c | 1610 kfree(fs_info->super_copy); in btrfs_free_fs_info() 1933 const u64 newest_gen = btrfs_super_generation(info->super_copy); in find_newest_super_backup() 1939 root_backup = info->super_copy->super_roots + i; in find_newest_super_backup() 2019 btrfs_super_total_bytes(info->super_copy)); in backup_super_roots() 2021 btrfs_super_bytes_used(info->super_copy)); in backup_super_roots() 2023 btrfs_super_num_devices(info->super_copy)); in backup_super_roots() 2029 memcpy(&info->super_copy->super_roots, in backup_super_roots() 2046 struct btrfs_super_block *super = fs_info->super_copy; in read_backup_root() 2354 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_replay_log() 2697 if (memcmp(fs_info->fs_devices->fsid, fs_info->super_copy->fsid, in btrfs_validate_super() [all …]
|
D | sysfs.c | 121 struct btrfs_super_block *disk_super = fs_info->super_copy; in get_features() 133 struct btrfs_super_block *disk_super = fs_info->super_copy; in set_features() 922 char *label = fs_info->super_copy->label; in btrfs_label_show() 955 memset(fs_info->super_copy->label, 0, BTRFS_LABEL_SIZE); in btrfs_label_store() 956 memcpy(fs_info->super_copy->label, buf, p_len); in btrfs_label_store() 974 return sysfs_emit(buf, "%u\n", fs_info->super_copy->nodesize); in btrfs_nodesize_show() 984 return sysfs_emit(buf, "%u\n", fs_info->super_copy->sectorsize); in btrfs_sectorsize_show() 1036 return sysfs_emit(buf, "%u\n", fs_info->super_copy->sectorsize); in btrfs_clone_alignment_show() 1095 u16 csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_checksum_show()
|
D | super.c | 639 btrfs_set_super_cache_generation(info->super_copy, 0); in btrfs_parse_options() 1408 dir_id = btrfs_super_root_dir(fs_info->super_copy); in get_default_subvol_objectid() 1775 fs_info->super_copy = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_KERNEL); in btrfs_mount_root() 1777 if (!fs_info->super_copy || !fs_info->super_for_commit) { in btrfs_mount_root() 2128 if (btrfs_super_log_root(fs_info->super_copy) != 0) { in btrfs_remount() 2332 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_statfs() 2575 if (csum_type != btrfs_super_csum_type(fs_info->super_copy)) { in check_dev_super() 2577 csum_type, btrfs_super_csum_type(fs_info->super_copy)); in check_dev_super()
|
D | transaction.c | 1880 super = fs_info->super_copy; in update_super_roots() 2414 btrfs_set_super_log_root(fs_info->super_copy, 0); in btrfs_commit_transaction() 2415 btrfs_set_super_log_root_level(fs_info->super_copy, 0); in btrfs_commit_transaction() 2416 memcpy(fs_info->super_for_commit, fs_info->super_copy, in btrfs_commit_transaction() 2417 sizeof(*fs_info->super_copy)); in btrfs_commit_transaction()
|
D | block-group.c | 2174 if (!root || (btrfs_super_compat_ro_flags(info->super_copy) & in btrfs_read_block_groups() 2185 cache_gen = btrfs_super_cache_generation(info->super_copy); in btrfs_read_block_groups() 2187 btrfs_super_generation(info->super_copy) != cache_gen) in btrfs_read_block_groups() 2454 if (btrfs_super_total_bytes(fs_info->super_copy) <= (SZ_1G * 10ULL)) in calculate_global_root_id() 3252 old_val = btrfs_super_bytes_used(info->super_copy); in btrfs_update_block_group() 3257 btrfs_set_super_bytes_used(info->super_copy, old_val); in btrfs_update_block_group() 3451 thresh = btrfs_super_total_bytes(fs_info->super_copy); in should_alloc_chunk()
|
D | ctree.h | 726 struct btrfs_super_block *super_copy; member 3879 disk_super = fs_info->super_copy; in __btrfs_set_fs_incompat() 3905 disk_super = fs_info->super_copy; in __btrfs_clear_fs_incompat() 3927 disk_super = fs_info->super_copy; in __btrfs_fs_incompat() 3941 disk_super = fs_info->super_copy; in __btrfs_set_fs_compat_ro() 3967 disk_super = fs_info->super_copy; in __btrfs_clear_fs_compat_ro() 3989 disk_super = fs_info->super_copy; in __btrfs_fs_compat_ro()
|
D | ioctl.c | 3703 fi_args->csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_ioctl_fs_info() 3704 fi_args->csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_ioctl_fs_info() 3821 dir_id = btrfs_super_root_dir(fs_info->super_copy); in btrfs_ioctl_default_subvol() 4976 memcpy(label, fs_info->super_copy->label, BTRFS_LABEL_SIZE); in btrfs_ioctl_get_fslabel() 4997 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_set_fslabel() 5057 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_get_features() 5140 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_set_features()
|
D | inode-item.c | 367 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_insert_inode_ref()
|
D | space-info.c | 267 disk_super = fs_info->super_copy; in btrfs_init_space_info()
|
D | free-space-cache.c | 4077 return btrfs_super_cache_generation(fs_info->super_copy); in btrfs_free_space_cache_v1_active()
|
D | inode.c | 1200 ASSERT(num_bytes <= btrfs_super_total_bytes(fs_info->super_copy)); in cow_file_range() 4554 dir_id = btrfs_super_root_dir(fs_info->super_copy); in may_destroy_subvol()
|