Searched refs:super_copy (Results 1 – 16 of 16) sorted by relevance
/linux-6.3-rc2/fs/btrfs/ |
A 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()
|
A D | tree-checker.c | 885 features = btrfs_super_incompat_flags(fs_info->super_copy); in btrfs_check_chunk_valid() 1037 u64 super_gen = btrfs_super_generation(fs_info->super_copy); in check_inode_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() 1174 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item() 1311 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_extent_item() 1315 btrfs_super_generation(fs_info->super_copy) + 1); in check_extent_item()
|
A D | volumes.c | 2725 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device() 2901 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_grow_device() local 2921 btrfs_set_super_total_bytes(super_copy, in btrfs_grow_device() 2977 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_del_sys_chunk() local 2991 ptr = super_copy->sys_chunk_array; in btrfs_del_sys_chunk() 4828 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_shrink_device() local 4974 btrfs_set_super_total_bytes(super_copy, in btrfs_shrink_device() 5005 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_add_system_chunk() local 5017 ptr = super_copy->sys_chunk_array + array_size; in btrfs_add_system_chunk() 7167 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_read_sys_array() local [all …]
|
A D | disk-io.c | 1521 kfree(fs_info->super_copy); in btrfs_free_fs_info() 1853 root_backup = info->super_copy->super_roots + i; in find_newest_super_backup() 1933 btrfs_super_total_bytes(info->super_copy)); in backup_super_roots() 1935 btrfs_super_bytes_used(info->super_copy)); in backup_super_roots() 1937 btrfs_super_num_devices(info->super_copy)); in backup_super_roots() 1943 memcpy(&info->super_copy->super_roots, in backup_super_roots() 2621 fs_info->super_copy->metadata_uuid, in btrfs_validate_super() 2787 struct btrfs_super_block *sb = fs_info->super_copy; in load_important_roots() 2805 struct btrfs_super_block *sb = fs_info->super_copy; in init_tree_roots() 3411 memcpy(fs_info->super_copy, disk_super, sizeof(*fs_info->super_copy)); in open_ctree() [all …]
|
A D | fs.h | 455 struct btrfs_super_block *super_copy; member 891 (!!(btrfs_super_incompat_flags((fs_info)->super_copy) & (flags))) 894 (!!(btrfs_super_compat_ro_flags((fs_info)->super_copy) & (flags)))
|
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() 966 char *label = fs_info->super_copy->label; in btrfs_label_show() 999 memset(fs_info->super_copy->label, 0, BTRFS_LABEL_SIZE); in btrfs_label_store() 1000 memcpy(fs_info->super_copy->label, buf, p_len); in btrfs_label_store() 1018 return sysfs_emit(buf, "%u\n", fs_info->super_copy->nodesize); in btrfs_nodesize_show() 1028 return sysfs_emit(buf, "%u\n", fs_info->super_copy->sectorsize); in btrfs_sectorsize_show() 1080 return sysfs_emit(buf, "%u\n", fs_info->super_copy->sectorsize); in btrfs_clone_alignment_show() 1139 u16 csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_checksum_show()
|
A D | super.c | 327 btrfs_set_super_cache_generation(info->super_copy, 0); in btrfs_parse_options() 1099 dir_id = btrfs_super_root_dir(fs_info->super_copy); in get_default_subvol_objectid() 1467 fs_info->super_copy = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_KERNEL); in btrfs_mount_root() 1469 if (!fs_info->super_copy || !fs_info->super_for_commit) { in btrfs_mount_root() 1820 if (btrfs_super_log_root(fs_info->super_copy) != 0) { in btrfs_remount() 2024 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_statfs() 2267 if (csum_type != btrfs_super_csum_type(fs_info->super_copy)) { in check_dev_super() 2269 csum_type, btrfs_super_csum_type(fs_info->super_copy)); in check_dev_super()
|
A D | transaction.c | 1906 super = fs_info->super_copy; in update_super_roots() 2436 btrfs_set_super_log_root(fs_info->super_copy, 0); in btrfs_commit_transaction() 2437 btrfs_set_super_log_root_level(fs_info->super_copy, 0); in btrfs_commit_transaction() 2438 memcpy(fs_info->super_for_commit, fs_info->super_copy, in btrfs_commit_transaction() 2439 sizeof(*fs_info->super_copy)); in btrfs_commit_transaction()
|
A D | block-group.c | 2381 if (!root || (btrfs_super_compat_ro_flags(info->super_copy) & in btrfs_read_block_groups() 2392 cache_gen = btrfs_super_cache_generation(info->super_copy); in btrfs_read_block_groups() 2394 btrfs_super_generation(info->super_copy) != cache_gen) in btrfs_read_block_groups() 2672 if (btrfs_super_total_bytes(fs_info->super_copy) <= (SZ_1G * 10ULL)) in calculate_global_root_id() 3470 old_val = btrfs_super_bytes_used(info->super_copy); in btrfs_update_block_group() 3475 btrfs_set_super_bytes_used(info->super_copy, old_val); in btrfs_update_block_group() 3682 thresh = btrfs_super_total_bytes(fs_info->super_copy); in should_alloc_chunk()
|
A D | ioctl.c | 2812 fi_args->csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_ioctl_fs_info() 2813 fi_args->csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_ioctl_fs_info() 2929 dir_id = btrfs_super_root_dir(fs_info->super_copy); in btrfs_ioctl_default_subvol() 4084 memcpy(label, fs_info->super_copy->label, BTRFS_LABEL_SIZE); in btrfs_ioctl_get_fslabel() 4105 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_set_fslabel() 4165 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_get_features() 4248 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_set_features()
|
A D | inode-item.c | 373 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_insert_inode_ref()
|
A D | space-info.c | 270 disk_super = fs_info->super_copy; in btrfs_init_space_info()
|
A D | free-space-cache.c | 4082 return btrfs_super_cache_generation(fs_info->super_copy); in btrfs_free_space_cache_v1_active()
|
A D | inode.c | 1221 ASSERT(num_bytes <= btrfs_super_total_bytes(fs_info->super_copy)); in cow_file_range() 4442 dir_id = btrfs_super_root_dir(fs_info->super_copy); in may_destroy_subvol()
|
/linux-6.3-rc2/fs/btrfs/tests/ |
A 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()
|
A D | free-space-tree-tests.c | 448 btrfs_set_super_compat_ro_flags(root->fs_info->super_copy, in run_test()
|
Completed in 101 milliseconds