Home
last modified time | relevance | path

Searched refs:reloc_root (Results 1 – 5 of 5) sorted by relevance

/linux/fs/btrfs/
H A Drelocation.c271 if (!root->reloc_root) in have_reloc_root()
278 struct btrfs_root *reloc_root; in btrfs_should_ignore_reloc_root() local
287 reloc_root = root->reloc_root; in btrfs_should_ignore_reloc_root()
288 if (!reloc_root) in btrfs_should_ignore_reloc_root()
291 if (btrfs_header_generation(reloc_root->commit_root) == in btrfs_should_ignore_reloc_root()
587 struct btrfs_root *reloc_root; in create_reloc_root() local
682 reloc_root = btrfs_read_tree_root(fs_info->tree_root, &root_key); in create_reloc_root()
683 if (IS_ERR(reloc_root)) { in create_reloc_root()
684 ret = PTR_ERR(reloc_root); in create_reloc_root()
687 set_bit(BTRFS_ROOT_SHAREABLE, &reloc_root->state); in create_reloc_root()
[all …]
H A Dctree.h174 struct btrfs_root *reloc_root; member
H A Ddisk-io.c4127 if (root->reloc_root) { in btrfs_drop_and_free_fs_root()
4128 btrfs_put_root(root->reloc_root); in btrfs_drop_and_free_fs_root()
4129 root->reloc_root = NULL; in btrfs_drop_and_free_fs_root()
H A Dtransaction.c559 root->reloc_root) in need_reserve_reloc_root()
H A Dqgroup.c4805 if (!btrfs_is_fstree(btrfs_root_id(root)) || !root->reloc_root) in btrfs_qgroup_trace_subtree_after_cow()