Searched refs:super_copy (Results 1 – 15 of 15) sorted by relevance
/linux-4.1.27/fs/btrfs/tests/ |
D | btrfs-tests.c | 92 fs_info->super_copy = kzalloc(sizeof(struct btrfs_super_block), in btrfs_alloc_dummy_fs_info() 94 if (!fs_info->super_copy) { in btrfs_alloc_dummy_fs_info() 102 kfree(fs_info->super_copy); in btrfs_alloc_dummy_fs_info() 156 kfree(fs_info->super_copy); in btrfs_free_dummy_fs_info()
|
/linux-4.1.27/fs/btrfs/ |
D | sysfs.c | 40 struct btrfs_super_block *disk_super = fs_info->super_copy; in get_features() 52 struct btrfs_super_block *disk_super = fs_info->super_copy; in set_features() 363 char *label = fs_info->super_copy->label; in btrfs_label_show() 387 memset(fs_info->super_copy->label, 0, BTRFS_LABEL_SIZE); in btrfs_label_store() 388 memcpy(fs_info->super_copy->label, buf, p_len); in btrfs_label_store() 406 return snprintf(buf, PAGE_SIZE, "%u\n", fs_info->super_copy->nodesize); in btrfs_nodesize_show() 416 return snprintf(buf, PAGE_SIZE, "%u\n", fs_info->super_copy->sectorsize); in btrfs_sectorsize_show() 426 return snprintf(buf, PAGE_SIZE, "%u\n", fs_info->super_copy->sectorsize); in btrfs_clone_alignment_show()
|
D | volumes.c | 1715 num_devices = btrfs_super_num_devices(root->fs_info->super_copy) - 1; in btrfs_rm_device() 1716 btrfs_set_super_num_devices(root->fs_info->super_copy, num_devices); in btrfs_rm_device() 1966 struct btrfs_super_block *disk_super = root->fs_info->super_copy; in btrfs_prepare_sprout() 2206 tmp = btrfs_super_total_bytes(root->fs_info->super_copy); in btrfs_init_new_device() 2207 btrfs_set_super_total_bytes(root->fs_info->super_copy, in btrfs_init_new_device() 2210 tmp = btrfs_super_num_devices(root->fs_info->super_copy); in btrfs_init_new_device() 2211 btrfs_set_super_num_devices(root->fs_info->super_copy, in btrfs_init_new_device() 2462 struct btrfs_super_block *super_copy = in btrfs_grow_device() local 2463 device->dev_root->fs_info->super_copy; in btrfs_grow_device() 2472 old_total = btrfs_super_total_bytes(super_copy); in btrfs_grow_device() [all …]
|
D | file-item.c | 98 u16 csum_size = btrfs_super_csum_size(root->fs_info->super_copy); in btrfs_lookup_csum() 179 u16 csum_size = btrfs_super_csum_size(root->fs_info->super_copy); in __btrfs_lookup_bio_sums() 320 u16 csum_size = btrfs_super_csum_size(root->fs_info->super_copy); in btrfs_lookup_csums_range() 522 u16 csum_size = btrfs_super_csum_size(root->fs_info->super_copy); in truncate_one_csum() 575 u16 csum_size = btrfs_super_csum_size(root->fs_info->super_copy); in btrfs_del_csums() 702 u16 csum_size = btrfs_super_csum_size(root->fs_info->super_copy); in btrfs_csum_file_blocks()
|
D | disk-io.c | 281 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in csum_tree_block() 1895 root_backup = info->super_copy->super_roots + i; in find_newest_super_backup() 1903 root_backup = info->super_copy->super_roots; in find_newest_super_backup() 2010 btrfs_super_total_bytes(info->super_copy)); in backup_super_roots() 2012 btrfs_super_bytes_used(info->super_copy)); in backup_super_roots() 2014 btrfs_super_num_devices(info->super_copy)); in backup_super_roots() 2020 memcpy(&info->super_copy->super_roots, in backup_super_roots() 2322 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_replay_log() 2649 memcpy(fs_info->super_copy, bh->b_data, sizeof(*fs_info->super_copy)); in open_ctree() 2650 memcpy(fs_info->super_for_commit, fs_info->super_copy, in open_ctree() [all …]
|
D | super.c | 399 cache_gen = btrfs_super_cache_generation(root->fs_info->super_copy); in btrfs_parse_options() 878 dir_id = btrfs_super_root_dir(fs_info->super_copy); in get_default_root() 1357 fs_info->super_copy = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_NOFS); in btrfs_mount() 1360 if (!fs_info->super_copy || !fs_info->super_for_commit) { in btrfs_mount() 1570 if (btrfs_super_log_root(fs_info->super_copy) != 0) { in btrfs_remount() 1833 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_statfs()
|
D | transaction.c | 1536 super = root->fs_info->super_copy; in update_super_roots() 2049 btrfs_set_super_log_root(root->fs_info->super_copy, 0); in btrfs_commit_transaction() 2050 btrfs_set_super_log_root_level(root->fs_info->super_copy, 0); in btrfs_commit_transaction() 2051 memcpy(root->fs_info->super_for_commit, root->fs_info->super_copy, in btrfs_commit_transaction() 2052 sizeof(*root->fs_info->super_copy)); in btrfs_commit_transaction()
|
D | ioctl.c | 380 u64 total_bytes = btrfs_super_total_bytes(fs_info->super_copy); in btrfs_ioctl_fitrim() 1866 dir_id = btrfs_super_root_dir(root->fs_info->super_copy); in may_destroy_subvol() 2701 fi_args->nodesize = root->fs_info->super_copy->nodesize; in btrfs_ioctl_fs_info() 2702 fi_args->sectorsize = root->fs_info->super_copy->sectorsize; in btrfs_ioctl_fs_info() 2703 fi_args->clone_alignment = root->fs_info->super_copy->sectorsize; in btrfs_ioctl_fs_info() 3954 dir_id = btrfs_super_root_dir(root->fs_info->super_copy); in btrfs_ioctl_default_subvol() 5140 memcpy(label, root->fs_info->super_copy->label, BTRFS_LABEL_SIZE); in btrfs_ioctl_get_fslabel() 5158 struct btrfs_super_block *super_block = root->fs_info->super_copy; in btrfs_ioctl_set_fslabel() 5218 struct btrfs_super_block *super_block = root->fs_info->super_copy; in btrfs_ioctl_get_features() 5299 struct btrfs_super_block *super_block = root->fs_info->super_copy; in btrfs_ioctl_set_features()
|
D | inode-item.c | 387 struct btrfs_super_block *disk_super = root->fs_info->super_copy; in btrfs_insert_inode_ref()
|
D | ctree.h | 1488 struct btrfs_super_block *super_copy; member 3682 kfree(fs_info->super_copy); in free_fs_info() 4086 disk_super = fs_info->super_copy; in __btrfs_set_fs_incompat() 4107 disk_super = fs_info->super_copy; in __btrfs_fs_incompat()
|
D | extent-tree.c | 2647 (u64)btrfs_super_csum_size(root->fs_info->super_copy)); in btrfs_csum_bytes_to_leaves() 4084 thresh = btrfs_super_total_bytes(root->fs_info->super_copy); in should_alloc_chunk() 5081 int csum_size = btrfs_super_csum_size(fs_info->super_copy); in calc_global_metadata_size() 5628 old_val = btrfs_super_bytes_used(info->super_copy); in update_block_group() 5633 btrfs_set_super_bytes_used(info->super_copy, old_val); in update_block_group() 9344 cache_gen = btrfs_super_cache_generation(root->fs_info->super_copy); in btrfs_read_block_groups() 9346 btrfs_super_generation(root->fs_info->super_copy) != cache_gen) in btrfs_read_block_groups() 10049 disk_super = fs_info->super_copy; in btrfs_init_space_info() 10091 u64 total_bytes = btrfs_super_total_bytes(fs_info->super_copy); in btrfs_trim_fs()
|
D | compression.c | 91 u16 csum_size = btrfs_super_csum_size(root->fs_info->super_copy); in compressed_bio_size()
|
D | scrub.c | 505 sctx->csum_size = btrfs_super_csum_size(fs_info->super_copy); in scrub_setup_ctx()
|
D | extent_io.c | 2375 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_create_repair_bio()
|
D | inode.c | 965 btrfs_super_total_bytes(root->fs_info->super_copy)); in cow_file_range()
|