Home
last modified time | relevance | path

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

/linux/fs/btrfs/
A Dfs.c14 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 Dvolumes.c2759 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device()
2935 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_grow_device() local
2955 btrfs_set_super_total_bytes(super_copy, in btrfs_grow_device()
3015 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_del_sys_chunk() local
3029 ptr = super_copy->sys_chunk_array; in btrfs_del_sys_chunk()
4810 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_shrink_device() local
4969 btrfs_set_super_total_bytes(super_copy, in btrfs_shrink_device()
5001 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_add_system_chunk() local
5013 ptr = super_copy->sys_chunk_array + array_size; in btrfs_add_system_chunk()
7169 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_read_sys_array() local
[all …]
A Dtree-checker.c937 features = btrfs_super_incompat_flags(fs_info->super_copy); in btrfs_check_chunk_valid()
1090 u64 super_gen = btrfs_super_generation(fs_info->super_copy); in check_inode_item()
1207 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_root_item()
1211 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item()
1215 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_root_item()
1219 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item()
1223 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_root_item()
1227 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item()
1392 btrfs_super_generation(fs_info->super_copy) + 1)) { in check_extent_item()
1396 btrfs_super_generation(fs_info->super_copy) + 1); in check_extent_item()
A Dfs.h514 struct btrfs_super_block *super_copy; member
996 (!!(btrfs_super_incompat_flags((fs_info)->super_copy) & (flags)))
999 (!!(btrfs_super_compat_ro_flags((fs_info)->super_copy) & (flags)))
A Ddisk-io.c1286 kfree(fs_info->super_copy); in btrfs_free_fs_info()
1637 root_backup = info->super_copy->super_roots + i; in find_newest_super_backup()
1717 btrfs_super_total_bytes(info->super_copy)); in backup_super_roots()
1719 btrfs_super_bytes_used(info->super_copy)); in backup_super_roots()
1721 btrfs_super_num_devices(info->super_copy)); in backup_super_roots()
1727 memcpy(&info->super_copy->super_roots, in backup_super_roots()
1744 struct btrfs_super_block *super = fs_info->super_copy; in read_backup_root()
2611 struct btrfs_super_block *sb = fs_info->super_copy; in load_important_roots()
2629 struct btrfs_super_block *sb = fs_info->super_copy; in init_tree_roots()
3289 memcpy(fs_info->super_copy, disk_super, sizeof(*fs_info->super_copy)); in open_ctree()
[all …]
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()
1069 char *label = fs_info->super_copy->label; in btrfs_label_show()
1102 memset(fs_info->super_copy->label, 0, BTRFS_LABEL_SIZE); in btrfs_label_store()
1103 memcpy(fs_info->super_copy->label, buf, p_len); in btrfs_label_store()
1121 return sysfs_emit(buf, "%u\n", fs_info->super_copy->nodesize); in btrfs_nodesize_show()
1131 return sysfs_emit(buf, "%u\n", fs_info->super_copy->sectorsize); in btrfs_sectorsize_show()
1183 return sysfs_emit(buf, "%u\n", fs_info->super_copy->sectorsize); in btrfs_clone_alignment_show()
1242 u16 csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_checksum_show()
A Dsuper.c742 btrfs_set_super_cache_generation(fs_info->super_copy, 0); in btrfs_set_free_space_cache_settings()
925 dir_id = btrfs_super_root_dir(fs_info->super_copy); in get_default_subvol_objectid()
1307 if (btrfs_super_log_root(fs_info->super_copy) != 0) { in btrfs_remount_rw()
1719 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_statfs()
2042 fs_info->super_copy = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_KERNEL); in btrfs_get_tree_subvol()
2044 if (!fs_info->super_copy || !fs_info->super_for_commit) { in btrfs_get_tree_subvol()
2312 if (csum_type != btrfs_super_csum_type(fs_info->super_copy)) { in check_dev_super()
2314 csum_type, btrfs_super_csum_type(fs_info->super_copy)); in check_dev_super()
A Dtransaction.c1933 super = fs_info->super_copy; in update_super_roots()
2485 btrfs_set_super_log_root(fs_info->super_copy, 0); in btrfs_commit_transaction()
2486 btrfs_set_super_log_root_level(fs_info->super_copy, 0); in btrfs_commit_transaction()
2487 memcpy(fs_info->super_for_commit, fs_info->super_copy, in btrfs_commit_transaction()
2488 sizeof(*fs_info->super_copy)); in btrfs_commit_transaction()
A Dblock-group.c2511 if (!root || (btrfs_super_compat_ro_flags(info->super_copy) & in btrfs_read_block_groups()
2522 cache_gen = btrfs_super_cache_generation(info->super_copy); in btrfs_read_block_groups()
2524 btrfs_super_generation(info->super_copy) != cache_gen) in btrfs_read_block_groups()
2829 if (btrfs_super_total_bytes(fs_info->super_copy) <= (SZ_1G * 10ULL)) in calculate_global_root_id()
3651 old_val = btrfs_super_bytes_used(info->super_copy); in btrfs_update_block_group()
3656 btrfs_set_super_bytes_used(info->super_copy, old_val); in btrfs_update_block_group()
3861 thresh = btrfs_super_total_bytes(fs_info->super_copy); in should_alloc_chunk()
A Dioctl.c2882 fi_args->csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_ioctl_fs_info()
2883 fi_args->csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_ioctl_fs_info()
2999 dir_id = btrfs_super_root_dir(fs_info->super_copy); in btrfs_ioctl_default_subvol()
4244 memcpy(label, fs_info->super_copy->label, BTRFS_LABEL_SIZE); in btrfs_ioctl_get_fslabel()
4265 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_set_fslabel()
4325 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_get_features()
4408 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_set_features()
A Dinode-item.c372 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_insert_inode_ref()
A Dspace-info.c274 disk_super = fs_info->super_copy; in btrfs_init_space_info()
A Dfree-space-cache.c4101 return btrfs_super_cache_generation(fs_info->super_copy); in btrfs_free_space_cache_v1_active()
A Dinode.c1380 ASSERT(num_bytes <= btrfs_super_total_bytes(fs_info->super_copy)); in cow_file_range()
4428 dir_id = btrfs_super_root_dir(fs_info->super_copy); in may_destroy_subvol()
/linux/fs/btrfs/tests/
A Dbtrfs-tests.c131 fs_info->super_copy = kzalloc(sizeof(struct btrfs_super_block), in btrfs_alloc_dummy_fs_info()
133 if (!fs_info->super_copy) { in btrfs_alloc_dummy_fs_info()
192 kfree(fs_info->super_copy); in btrfs_free_dummy_fs_info()
A Dfree-space-tree-tests.c448 btrfs_set_super_compat_ro_flags(root->fs_info->super_copy, in run_test()

Completed in 91 milliseconds