/fs/btrfs/tests/ |
D | btrfs-tests.c | 102 fs_info->super_copy = kzalloc(sizeof(struct btrfs_super_block), in btrfs_alloc_dummy_fs_info() 104 if (!fs_info->super_copy) { in btrfs_alloc_dummy_fs_info() 115 kfree(fs_info->super_copy); in btrfs_alloc_dummy_fs_info() 185 kfree(fs_info->super_copy); in btrfs_free_dummy_fs_info()
|
D | free-space-tree-tests.c | 460 btrfs_set_super_compat_ro_flags(root->fs_info->super_copy, in run_test()
|
/fs/btrfs/ |
D | tree-checker.c | 250 u32 csumsize = btrfs_super_csum_size(fs_info->super_copy); in check_csum_item() 673 features = btrfs_super_incompat_flags(fs_info->super_copy); in btrfs_check_chunk_valid() 811 u64 super_gen = btrfs_super_generation(fs_info->super_copy); in check_inode_item() 936 btrfs_super_generation(fs_info->super_copy) + 1) { in check_root_item() 940 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item() 944 btrfs_super_generation(fs_info->super_copy) + 1) { in check_root_item() 948 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item() 952 btrfs_super_generation(fs_info->super_copy) + 1) { in check_root_item() 956 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item() 1092 if (generation > btrfs_super_generation(fs_info->super_copy) + 1) { in check_extent_item() [all …]
|
D | sysfs.c | 91 struct btrfs_super_block *disk_super = fs_info->super_copy; in get_features() 103 struct btrfs_super_block *disk_super = fs_info->super_copy; in set_features() 477 char *label = fs_info->super_copy->label; in btrfs_label_show() 510 memset(fs_info->super_copy->label, 0, BTRFS_LABEL_SIZE); in btrfs_label_store() 511 memcpy(fs_info->super_copy->label, buf, p_len); in btrfs_label_store() 529 return snprintf(buf, PAGE_SIZE, "%u\n", fs_info->super_copy->nodesize); in btrfs_nodesize_show() 540 fs_info->super_copy->sectorsize); in btrfs_sectorsize_show() 551 fs_info->super_copy->sectorsize); in btrfs_clone_alignment_show()
|
D | file-item.c | 93 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_lookup_csum() 170 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() 450 const u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_csum_one_bio() 551 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in truncate_one_csum() 605 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_del_csums() 760 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_csum_file_blocks()
|
D | volumes.c | 2330 num_devices = btrfs_super_num_devices(fs_info->super_copy) - 1; in btrfs_rm_device() 2331 btrfs_set_super_num_devices(fs_info->super_copy, num_devices); in btrfs_rm_device() 2549 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_prepare_sprout() 2786 orig_super_total_bytes = btrfs_super_total_bytes(fs_info->super_copy); in btrfs_init_new_device() 2787 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device() 2791 orig_super_num_devices = btrfs_super_num_devices(fs_info->super_copy); in btrfs_init_new_device() 2792 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device() 2886 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device() 2888 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device() 2958 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_grow_device() local [all …]
|
D | disk-io.c | 518 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in csum_dirty_buffer() 598 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btree_readpage_end_io_hook() 1805 root_backup = info->super_copy->super_roots + i; in find_newest_super_backup() 1813 root_backup = info->super_copy->super_roots; in find_newest_super_backup() 1920 btrfs_super_total_bytes(info->super_copy)); in backup_super_roots() 1922 btrfs_super_bytes_used(info->super_copy)); in backup_super_roots() 1924 btrfs_super_num_devices(info->super_copy)); in backup_super_roots() 1930 memcpy(&info->super_copy->super_roots, in backup_super_roots() 2272 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_replay_log() 2580 return validate_super(fs_info, fs_info->super_copy, 0); in btrfs_validate_mount_super() [all …]
|
D | ordered-data.h | 140 int csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_ordered_sum_size()
|
D | super.c | 442 cache_gen = btrfs_super_cache_generation(info->super_copy); in btrfs_parse_options() 1167 dir_id = btrfs_super_root_dir(fs_info->super_copy); in get_default_subvol_objectid() 1520 fs_info->super_copy = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_KERNEL); in btrfs_mount_root() 1522 if (!fs_info->super_copy || !fs_info->super_for_commit) { in btrfs_mount_root() 1823 if (btrfs_super_log_root(fs_info->super_copy) != 0) { in btrfs_remount() 2049 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_statfs()
|
D | btrfs_inode.h | 363 struct btrfs_super_block *sb = root->fs_info->super_copy; in btrfs_print_data_csum_error()
|
D | transaction.c | 1683 super = fs_info->super_copy; in update_super_roots() 2258 btrfs_set_super_log_root(fs_info->super_copy, 0); in btrfs_commit_transaction() 2259 btrfs_set_super_log_root_level(fs_info->super_copy, 0); in btrfs_commit_transaction() 2260 memcpy(fs_info->super_for_commit, fs_info->super_copy, in btrfs_commit_transaction() 2261 sizeof(*fs_info->super_copy)); in btrfs_commit_transaction()
|
D | ctree.h | 617 struct btrfs_super_block *super_copy; member 2666 kfree(fs_info->super_copy); in free_fs_info() 3222 disk_super = fs_info->super_copy; in __btrfs_set_fs_incompat() 3248 disk_super = fs_info->super_copy; in __btrfs_clear_fs_incompat() 3270 disk_super = fs_info->super_copy; in __btrfs_fs_incompat() 3284 disk_super = fs_info->super_copy; in __btrfs_set_fs_compat_ro() 3310 disk_super = fs_info->super_copy; in __btrfs_clear_fs_compat_ro() 3332 disk_super = fs_info->super_copy; in __btrfs_fs_compat_ro()
|
D | compression.c | 68 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in compressed_bio_size() 80 const u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in check_compressed_csum() 564 const u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_submit_compressed_read()
|
D | block-group.c | 1728 feature = btrfs_super_incompat_flags(info->super_copy); in btrfs_read_block_groups() 1739 cache_gen = btrfs_super_cache_generation(info->super_copy); in btrfs_read_block_groups() 1741 btrfs_super_generation(info->super_copy) != cache_gen) in btrfs_read_block_groups() 2685 old_val = btrfs_super_bytes_used(info->super_copy); in btrfs_update_block_group() 2690 btrfs_set_super_bytes_used(info->super_copy, old_val); in btrfs_update_block_group() 2873 thresh = btrfs_super_total_bytes(fs_info->super_copy); in should_alloc_chunk()
|
D | inode-item.c | 374 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_insert_inode_ref()
|
D | space-info.c | 85 disk_super = fs_info->super_copy; in btrfs_init_space_info()
|
D | ordered-data.c | 942 const u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_find_ordered_sum()
|
D | ioctl.c | 4107 dir_id = btrfs_super_root_dir(fs_info->super_copy); in btrfs_ioctl_default_subvol() 5289 memcpy(label, fs_info->super_copy->label, BTRFS_LABEL_SIZE); in btrfs_ioctl_get_fslabel() 5310 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_set_fslabel() 5371 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_get_features() 5454 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_set_features()
|
D | inode.c | 1001 ASSERT(num_bytes <= btrfs_super_total_bytes(fs_info->super_copy)); in cow_file_range() 3467 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in __readpage_endio_check() 4501 dir_id = btrfs_super_root_dir(fs_info->super_copy); in may_destroy_subvol() 8574 csum_size = btrfs_super_csum_size(btrfs_sb(inode->i_sb)->super_copy); in btrfs_lookup_and_bind_dio_csum()
|
D | scrub.c | 613 sctx->csum_size = btrfs_super_csum_size(fs_info->super_copy); in scrub_setup_ctx()
|
D | extent-tree.c | 2175 (u64)btrfs_super_csum_size(fs_info->super_copy)); in btrfs_csum_bytes_to_leaves()
|
D | extent_io.c | 2546 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_create_repair_bio()
|