Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/tests/
Dbtrfs-tests.c88 fs_info->super_copy = kzalloc(sizeof(struct btrfs_super_block), in btrfs_alloc_dummy_fs_info()
90 if (!fs_info->super_copy) { in btrfs_alloc_dummy_fs_info()
101 kfree(fs_info->super_copy); in btrfs_alloc_dummy_fs_info()
170 kfree(fs_info->super_copy); in btrfs_free_dummy_fs_info()
Dfree-space-tree-tests.c459 btrfs_set_super_compat_ro_flags(root->fs_info->super_copy, in run_test()
/linux-4.19.296/fs/btrfs/
Dsysfs.c27 struct btrfs_super_block *disk_super = fs_info->super_copy; in get_features()
39 struct btrfs_super_block *disk_super = fs_info->super_copy; in set_features()
390 char *label = fs_info->super_copy->label; in btrfs_label_show()
423 memset(fs_info->super_copy->label, 0, BTRFS_LABEL_SIZE); in btrfs_label_store()
424 memcpy(fs_info->super_copy->label, buf, p_len); in btrfs_label_store()
442 return snprintf(buf, PAGE_SIZE, "%u\n", fs_info->super_copy->nodesize); in btrfs_nodesize_show()
453 fs_info->super_copy->sectorsize); in btrfs_sectorsize_show()
464 fs_info->super_copy->sectorsize); in btrfs_clone_alignment_show()
Dvolumes.c1990 num_devices = btrfs_super_num_devices(fs_info->super_copy) - 1; in btrfs_rm_device()
1991 btrfs_set_super_num_devices(fs_info->super_copy, num_devices); in btrfs_rm_device()
2220 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_prepare_sprout()
2457 orig_super_total_bytes = btrfs_super_total_bytes(fs_info->super_copy); in btrfs_init_new_device()
2458 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device()
2462 orig_super_num_devices = btrfs_super_num_devices(fs_info->super_copy); in btrfs_init_new_device()
2463 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device()
2555 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device()
2557 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device()
2627 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_grow_device() local
[all …]
Dfile-item.c87 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_lookup_csum()
169 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in __btrfs_lookup_bio_sums()
317 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_lookup_csums_range()
536 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in truncate_one_csum()
590 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_del_csums()
745 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_csum_file_blocks()
Dordered-data.h137 int csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_ordered_sum_size()
Ddisk-io.c270 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in csum_tree_block()
1830 root_backup = info->super_copy->super_roots + i; in find_newest_super_backup()
1838 root_backup = info->super_copy->super_roots; in find_newest_super_backup()
1945 btrfs_super_total_bytes(info->super_copy)); in backup_super_roots()
1947 btrfs_super_bytes_used(info->super_copy)); in backup_super_roots()
1949 btrfs_super_num_devices(info->super_copy)); in backup_super_roots()
1955 memcpy(&info->super_copy->super_roots, in backup_super_roots()
2266 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_replay_log()
2558 return validate_super(fs_info, fs_info->super_copy, 0); in btrfs_validate_mount_super()
2813 memcpy(fs_info->super_copy, bh->b_data, sizeof(*fs_info->super_copy)); in open_ctree()
[all …]
Dtree-checker.c196 u32 csumsize = btrfs_super_csum_size(fs_info->super_copy); in check_csum_item()
581 features = btrfs_super_incompat_flags(fs_info->super_copy); in btrfs_check_chunk_valid()
683 u64 super_gen = btrfs_super_generation(fs_info->super_copy); in check_inode_item()
Dsuper.c439 cache_gen = btrfs_super_cache_generation(info->super_copy); in btrfs_parse_options()
1158 dir_id = btrfs_super_root_dir(fs_info->super_copy); in get_default_subvol_objectid()
1562 fs_info->super_copy = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_KERNEL); in btrfs_mount_root()
1565 if (!fs_info->super_copy || !fs_info->super_for_commit) { in btrfs_mount_root()
1878 if (btrfs_super_log_root(fs_info->super_copy) != 0) { in btrfs_remount()
2110 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_statfs()
Dtransaction.c1729 super = fs_info->super_copy; in update_super_roots()
2262 btrfs_set_super_log_root(fs_info->super_copy, 0); in btrfs_commit_transaction()
2263 btrfs_set_super_log_root_level(fs_info->super_copy, 0); in btrfs_commit_transaction()
2264 memcpy(fs_info->super_for_commit, fs_info->super_copy, in btrfs_commit_transaction()
2265 sizeof(*fs_info->super_copy)); in btrfs_commit_transaction()
Dctree.h844 struct btrfs_super_block *super_copy; member
2986 kfree(fs_info->super_copy); in free_fs_info()
3542 disk_super = fs_info->super_copy; in __btrfs_set_fs_incompat()
3566 disk_super = fs_info->super_copy; in __btrfs_clear_fs_incompat()
3587 disk_super = fs_info->super_copy; in __btrfs_fs_incompat()
3600 disk_super = fs_info->super_copy; in __btrfs_set_fs_compat_ro()
3624 disk_super = fs_info->super_copy; in __btrfs_clear_fs_compat_ro()
3645 disk_super = fs_info->super_copy; in __btrfs_fs_compat_ro()
Dinode-item.c382 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_insert_inode_ref()
Dioctl.c4486 dir_id = btrfs_super_root_dir(fs_info->super_copy); in btrfs_ioctl_default_subvol()
5649 memcpy(label, fs_info->super_copy->label, BTRFS_LABEL_SIZE); in btrfs_ioctl_get_fslabel()
5670 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_set_fslabel()
5731 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_get_features()
5814 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_set_features()
Dextent-tree.c2752 (u64)btrfs_super_csum_size(fs_info->super_copy)); in btrfs_csum_bytes_to_leaves()
4355 thresh = btrfs_super_total_bytes(fs_info->super_copy); in should_alloc_chunk()
6079 old_val = btrfs_super_bytes_used(info->super_copy); in update_block_group()
6084 btrfs_set_super_bytes_used(info->super_copy, old_val); in update_block_group()
9953 feature = btrfs_super_incompat_flags(info->super_copy); in btrfs_read_block_groups()
9964 cache_gen = btrfs_super_cache_generation(info->super_copy); in btrfs_read_block_groups()
9966 btrfs_super_generation(info->super_copy) != cache_gen) in btrfs_read_block_groups()
10759 disk_super = fs_info->super_copy; in btrfs_init_space_info()
Dcompression.c66 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in compressed_bio_size()
Dscrub.c619 sctx->csum_size = btrfs_super_csum_size(fs_info->super_copy); in scrub_setup_ctx()
Dinode.c1004 ASSERT(num_bytes <= btrfs_super_total_bytes(fs_info->super_copy)); in cow_file_range()
4277 dir_id = btrfs_super_root_dir(fs_info->super_copy); in may_destroy_subvol()
Dextent_io.c2386 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_create_repair_bio()