Home
last modified time | relevance | path

Searched refs:csum_root (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dblock-rsv.c363 btrfs_root_used(&fs_info->csum_root->root_item) + in btrfs_update_global_block_rsv()
430 fs_info->csum_root->block_rsv = &fs_info->delayed_refs_rsv; in btrfs_init_global_block_rsv()
462 (root == fs_info->csum_root && trans->adding_csums) || in get_block_rsv()
H A Dscrub.c2759 struct btrfs_root *csum_root = fs_info->csum_root; in scrub_raid56_parity() local
2917 ret = btrfs_lookup_csums_range(csum_root, in scrub_raid56_parity()
2984 struct btrfs_root *csum_root = fs_info->csum_root; in scrub_stripe() local
3093 reada2 = btrfs_reada_add(csum_root, &key, &key_end); in scrub_stripe()
3276 ret = btrfs_lookup_csums_range(csum_root, in scrub_stripe()
H A Ddisk-io.c1438 return btrfs_grab_root(fs_info->csum_root); in btrfs_get_global_root()
1509 btrfs_put_root(fs_info->csum_root); in btrfs_free_fs_info()
1924 btrfs_set_backup_csum_root(root_backup, info->csum_root->node->start); in backup_super_roots()
1926 btrfs_header_generation(info->csum_root->node)); in backup_super_roots()
1928 btrfs_header_level(info->csum_root->node)); in backup_super_roots()
2034 free_root_extent_buffers(info->csum_root); in free_root_pointers()
2341 fs_info->csum_root = root; in btrfs_read_roots()
H A Dfile-item.c333 item = btrfs_lookup_csum(NULL, fs_info->csum_root, in btrfs_lookup_bio_sums()
708 ASSERT(root == fs_info->csum_root || in btrfs_del_csums()
H A Dctree.h205 __le64 csum_root; member
593 struct btrfs_root *csum_root; member
2163 csum_root, 64);
H A Dtree-log.c807 fs_info->csum_root, in replay_one_extent()
812 fs_info->csum_root, sums); in replay_one_extent()
4089 fs_info->csum_root, in copy_items()
4220 ret = btrfs_lookup_csums_range(trans->fs_info->csum_root, in log_extent_csums()
H A Dextent-tree.c1827 ret = btrfs_del_csums(trans, fs_info->csum_root, in cleanup_ref_head()
3215 ret = btrfs_del_csums(trans, info->csum_root, bytenr, in __btrfs_free_extent()
H A Drelocation.c3918 ret = btrfs_lookup_csums_range(fs_info->csum_root, disk_bytenr, in btrfs_reloc_clone_csums()
H A Dinode.c1358 ret = btrfs_lookup_csums_range(fs_info->csum_root, bytenr, in csum_exist_in_range()
2247 ret = btrfs_csum_file_blocks(trans, trans->fs_info->csum_root, sum); in add_pending_csums()