Searched refs:super_copy (Results 1 – 16 of 16) sorted by relevance
/linux-6.6.21/fs/btrfs/ |
D | fs.c | 14 disk_super = fs_info->super_copy; in __btrfs_set_fs_incompat() 37 disk_super = fs_info->super_copy; in __btrfs_clear_fs_incompat() 60 disk_super = fs_info->super_copy; in __btrfs_set_fs_compat_ro() 83 disk_super = fs_info->super_copy; in __btrfs_clear_fs_compat_ro()
|
D | volumes.c | 2205 num_devices = btrfs_super_num_devices(fs_info->super_copy) - 1; in btrfs_rm_device() 2206 btrfs_set_super_num_devices(fs_info->super_copy, num_devices); in btrfs_rm_device() 2489 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_setup_sprout() 2732 orig_super_total_bytes = btrfs_super_total_bytes(fs_info->super_copy); in btrfs_init_new_device() 2733 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device() 2737 orig_super_num_devices = btrfs_super_num_devices(fs_info->super_copy); in btrfs_init_new_device() 2738 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device() 2835 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device() 2837 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device() 2909 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_grow_device() local [all …]
|
D | tree-checker.c | 913 features = btrfs_super_incompat_flags(fs_info->super_copy); in btrfs_check_chunk_valid() 1065 u64 super_gen = btrfs_super_generation(fs_info->super_copy); in check_inode_item() 1182 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_root_item() 1186 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item() 1190 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_root_item() 1194 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item() 1198 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_root_item() 1202 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item() 1339 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_extent_item() 1343 btrfs_super_generation(fs_info->super_copy) + 1); in check_extent_item()
|
D | fs.h | 456 struct btrfs_super_block *super_copy; member 899 (!!(btrfs_super_incompat_flags((fs_info)->super_copy) & (flags))) 902 (!!(btrfs_super_compat_ro_flags((fs_info)->super_copy) & (flags)))
|
D | disk-io.c | 1264 kfree(fs_info->super_copy); in btrfs_free_fs_info() 1609 const u64 newest_gen = btrfs_super_generation(info->super_copy); in find_newest_super_backup() 1615 root_backup = info->super_copy->super_roots + i; in find_newest_super_backup() 1695 btrfs_super_total_bytes(info->super_copy)); in backup_super_roots() 1697 btrfs_super_bytes_used(info->super_copy)); in backup_super_roots() 1699 btrfs_super_num_devices(info->super_copy)); in backup_super_roots() 1705 memcpy(&info->super_copy->super_roots, in backup_super_roots() 1722 struct btrfs_super_block *super = fs_info->super_copy; in read_backup_root() 2050 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_replay_log() 2502 return btrfs_validate_super(fs_info, fs_info->super_copy, 0); in btrfs_validate_mount_super() [all …]
|
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() 973 char *label = fs_info->super_copy->label; in btrfs_label_show() 1006 memset(fs_info->super_copy->label, 0, BTRFS_LABEL_SIZE); in btrfs_label_store() 1007 memcpy(fs_info->super_copy->label, buf, p_len); in btrfs_label_store() 1025 return sysfs_emit(buf, "%u\n", fs_info->super_copy->nodesize); in btrfs_nodesize_show() 1035 return sysfs_emit(buf, "%u\n", fs_info->super_copy->sectorsize); in btrfs_sectorsize_show() 1087 return sysfs_emit(buf, "%u\n", fs_info->super_copy->sectorsize); in btrfs_clone_alignment_show() 1146 u16 csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_checksum_show()
|
D | super.c | 330 btrfs_set_super_cache_generation(info->super_copy, 0); in btrfs_parse_options() 1110 dir_id = btrfs_super_root_dir(fs_info->super_copy); in get_default_subvol_objectid() 1476 fs_info->super_copy = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_KERNEL); in btrfs_mount_root() 1478 if (!fs_info->super_copy || !fs_info->super_for_commit) { in btrfs_mount_root() 1828 if (btrfs_super_log_root(fs_info->super_copy) != 0) { in btrfs_remount() 2038 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_statfs() 2279 if (csum_type != btrfs_super_csum_type(fs_info->super_copy)) { in check_dev_super() 2281 csum_type, btrfs_super_csum_type(fs_info->super_copy)); in check_dev_super()
|
D | transaction.c | 1925 super = fs_info->super_copy; in update_super_roots() 2471 btrfs_set_super_log_root(fs_info->super_copy, 0); in btrfs_commit_transaction() 2472 btrfs_set_super_log_root_level(fs_info->super_copy, 0); in btrfs_commit_transaction() 2473 memcpy(fs_info->super_for_commit, fs_info->super_copy, in btrfs_commit_transaction() 2474 sizeof(*fs_info->super_copy)); in btrfs_commit_transaction()
|
D | block-group.c | 2485 if (!root || (btrfs_super_compat_ro_flags(info->super_copy) & in btrfs_read_block_groups() 2496 cache_gen = btrfs_super_cache_generation(info->super_copy); in btrfs_read_block_groups() 2498 btrfs_super_generation(info->super_copy) != cache_gen) in btrfs_read_block_groups() 2777 if (btrfs_super_total_bytes(fs_info->super_copy) <= (SZ_1G * 10ULL)) in calculate_global_root_id() 3600 old_val = btrfs_super_bytes_used(info->super_copy); in btrfs_update_block_group() 3605 btrfs_set_super_bytes_used(info->super_copy, old_val); in btrfs_update_block_group() 3814 thresh = btrfs_super_total_bytes(fs_info->super_copy); in should_alloc_chunk()
|
D | ioctl.c | 2835 fi_args->csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_ioctl_fs_info() 2836 fi_args->csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_ioctl_fs_info() 2952 dir_id = btrfs_super_root_dir(fs_info->super_copy); in btrfs_ioctl_default_subvol() 4125 memcpy(label, fs_info->super_copy->label, BTRFS_LABEL_SIZE); in btrfs_ioctl_get_fslabel() 4146 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_set_fslabel() 4206 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_get_features() 4289 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_set_features()
|
D | inode-item.c | 373 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_insert_inode_ref()
|
D | space-info.c | 270 disk_super = fs_info->super_copy; in btrfs_init_space_info()
|
D | free-space-cache.c | 4095 return btrfs_super_cache_generation(fs_info->super_copy); in btrfs_free_space_cache_v1_active()
|
D | inode.c | 1301 ASSERT(num_bytes <= btrfs_super_total_bytes(fs_info->super_copy)); in cow_file_range() 4353 dir_id = btrfs_super_root_dir(fs_info->super_copy); in may_destroy_subvol()
|
/linux-6.6.21/fs/btrfs/tests/ |
D | btrfs-tests.c | 133 fs_info->super_copy = kzalloc(sizeof(struct btrfs_super_block), in btrfs_alloc_dummy_fs_info() 135 if (!fs_info->super_copy) { in btrfs_alloc_dummy_fs_info() 195 kfree(fs_info->super_copy); in btrfs_free_dummy_fs_info()
|
D | free-space-tree-tests.c | 448 btrfs_set_super_compat_ro_flags(root->fs_info->super_copy, in run_test()
|