/kernel/linux/linux-5.10/fs/btrfs/tests/ |
D | btrfs-tests.c | 125 fs_info->super_copy = kzalloc(sizeof(struct btrfs_super_block), in btrfs_alloc_dummy_fs_info() 127 if (!fs_info->super_copy) { in btrfs_alloc_dummy_fs_info() 186 kfree(fs_info->super_copy); in btrfs_free_dummy_fs_info()
|
D | free-space-tree-tests.c | 447 btrfs_set_super_compat_ro_flags(root->fs_info->super_copy, in run_test()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | tree-checker.c | 339 u32 csumsize = btrfs_super_csum_size(fs_info->super_copy); in check_csum_item() 856 features = btrfs_super_incompat_flags(fs_info->super_copy); in btrfs_check_chunk_valid() 990 u64 super_gen = btrfs_super_generation(fs_info->super_copy); in check_inode_item() 1091 btrfs_super_generation(fs_info->super_copy) + 1) { in check_root_item() 1095 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item() 1099 btrfs_super_generation(fs_info->super_copy) + 1) { in check_root_item() 1103 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item() 1107 btrfs_super_generation(fs_info->super_copy) + 1) { in check_root_item() 1111 btrfs_super_generation(fs_info->super_copy) + 1); in check_root_item() 1246 if (generation > btrfs_super_generation(fs_info->super_copy) + 1) { in check_extent_item() [all …]
|
D | file-item.c | 184 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_lookup_csum() 273 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_lookup_bio_sums() 409 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_lookup_csums_range() 542 const u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_csum_one_bio() 651 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in truncate_one_csum() 705 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_del_csums() 860 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_csum_file_blocks()
|
D | volumes.c | 2179 num_devices = btrfs_super_num_devices(fs_info->super_copy) - 1; in btrfs_rm_device() 2180 btrfs_set_super_num_devices(fs_info->super_copy, num_devices); in btrfs_rm_device() 2378 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_prepare_sprout() 2621 orig_super_total_bytes = btrfs_super_total_bytes(fs_info->super_copy); in btrfs_init_new_device() 2622 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device() 2626 orig_super_num_devices = btrfs_super_num_devices(fs_info->super_copy); in btrfs_init_new_device() 2627 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device() 2724 btrfs_set_super_total_bytes(fs_info->super_copy, in btrfs_init_new_device() 2726 btrfs_set_super_num_devices(fs_info->super_copy, in btrfs_init_new_device() 2796 struct btrfs_super_block *super_copy = fs_info->super_copy; in btrfs_grow_device() local [all …]
|
D | disk-io.c | 455 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in csum_dirty_buffer() 544 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_validate_metadata_buffer() 1517 kfree(fs_info->super_copy); in btrfs_free_fs_info() 1850 const u64 newest_gen = btrfs_super_generation(info->super_copy); in find_newest_super_backup() 1856 root_backup = info->super_copy->super_roots + i; in find_newest_super_backup() 1930 btrfs_super_total_bytes(info->super_copy)); in backup_super_roots() 1932 btrfs_super_bytes_used(info->super_copy)); in backup_super_roots() 1934 btrfs_super_num_devices(info->super_copy)); in backup_super_roots() 1940 memcpy(&info->super_copy->super_roots, in backup_super_roots() 1957 struct btrfs_super_block *super = fs_info->super_copy; in read_backup_root() [all …]
|
D | sysfs.c | 95 struct btrfs_super_block *disk_super = fs_info->super_copy; in get_features() 107 struct btrfs_super_block *disk_super = fs_info->super_copy; in set_features() 679 char *label = fs_info->super_copy->label; in btrfs_label_show() 712 memset(fs_info->super_copy->label, 0, BTRFS_LABEL_SIZE); in btrfs_label_store() 713 memcpy(fs_info->super_copy->label, buf, p_len); in btrfs_label_store() 731 return scnprintf(buf, PAGE_SIZE, "%u\n", fs_info->super_copy->nodesize); in btrfs_nodesize_show() 742 fs_info->super_copy->sectorsize); in btrfs_sectorsize_show() 752 return scnprintf(buf, PAGE_SIZE, "%u\n", fs_info->super_copy->sectorsize); in btrfs_clone_alignment_show() 812 u16 csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_checksum_show()
|
D | ordered-data.h | 140 int csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_ordered_sum_size()
|
D | btrfs_inode.h | 375 struct btrfs_super_block *sb = root->fs_info->super_copy; in btrfs_print_data_csum_error()
|
D | super.c | 524 cache_gen = btrfs_super_cache_generation(info->super_copy); in btrfs_parse_options() 1266 dir_id = btrfs_super_root_dir(fs_info->super_copy); in get_default_subvol_objectid() 1620 fs_info->super_copy = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_KERNEL); in btrfs_mount_root() 1622 if (!fs_info->super_copy || !fs_info->super_for_commit) { in btrfs_mount_root() 1928 if (btrfs_super_log_root(fs_info->super_copy) != 0) { in btrfs_remount() 2162 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_statfs()
|
D | transaction.c | 1794 super = fs_info->super_copy; in update_super_roots() 2367 btrfs_set_super_log_root(fs_info->super_copy, 0); in btrfs_commit_transaction() 2368 btrfs_set_super_log_root_level(fs_info->super_copy, 0); in btrfs_commit_transaction() 2369 memcpy(fs_info->super_for_commit, fs_info->super_copy, in btrfs_commit_transaction() 2370 sizeof(*fs_info->super_copy)); in btrfs_commit_transaction()
|
D | ctree.h | 678 struct btrfs_super_block *super_copy; member 3387 disk_super = fs_info->super_copy; in __btrfs_set_fs_incompat() 3413 disk_super = fs_info->super_copy; in __btrfs_clear_fs_incompat() 3435 disk_super = fs_info->super_copy; in __btrfs_fs_incompat() 3449 disk_super = fs_info->super_copy; in __btrfs_set_fs_compat_ro() 3475 disk_super = fs_info->super_copy; in __btrfs_clear_fs_compat_ro() 3497 disk_super = fs_info->super_copy; in __btrfs_fs_compat_ro()
|
D | compression.c | 139 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in compressed_bio_size() 150 const u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in check_compressed_csum() 636 const u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_submit_compressed_read()
|
D | inode-item.c | 374 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_insert_inode_ref()
|
D | block-group.c | 2016 cache_gen = btrfs_super_cache_generation(info->super_copy); in btrfs_read_block_groups() 2018 btrfs_super_generation(info->super_copy) != cache_gen) in btrfs_read_block_groups() 2870 old_val = btrfs_super_bytes_used(info->super_copy); in btrfs_update_block_group() 2875 btrfs_set_super_bytes_used(info->super_copy, old_val); in btrfs_update_block_group() 3065 thresh = btrfs_super_total_bytes(fs_info->super_copy); in should_alloc_chunk()
|
D | ioctl.c | 3350 fi_args->csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_ioctl_fs_info() 3351 fi_args->csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_ioctl_fs_info() 3470 dir_id = btrfs_super_root_dir(fs_info->super_copy); in btrfs_ioctl_default_subvol() 4631 memcpy(label, fs_info->super_copy->label, BTRFS_LABEL_SIZE); in btrfs_ioctl_get_fslabel() 4652 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_set_fslabel() 4712 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_get_features() 4795 struct btrfs_super_block *super_block = fs_info->super_copy; in btrfs_ioctl_set_features()
|
D | ordered-data.c | 873 const u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_find_ordered_sum()
|
D | space-info.c | 229 disk_super = fs_info->super_copy; in btrfs_init_space_info()
|
D | inode.c | 1005 ASSERT(num_bytes <= btrfs_super_total_bytes(fs_info->super_copy)); in cow_file_range() 2863 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in check_data_csum() 3900 dir_id = btrfs_super_root_dir(fs_info->super_copy); in may_destroy_subvol() 7803 csum_offset *= btrfs_super_csum_size(fs_info->super_copy); in btrfs_submit_dio_bio() 7828 const u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_create_dio_private()
|
D | scrub.c | 613 sctx->csum_size = btrfs_super_csum_size(fs_info->super_copy); in scrub_setup_ctx()
|
D | extent_io.c | 2686 const u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_submit_read_repair()
|
D | extent-tree.c | 2104 (u64)btrfs_super_csum_size(fs_info->super_copy)); in btrfs_csum_bytes_to_leaves()
|