Home
last modified time | relevance | path

Searched refs:root_key (Results 1 – 17 of 17) sorted by relevance

/fs/btrfs/tests/
A Dqgroup-tests.c492 root->root_key.objectid = BTRFS_EXTENT_TREE_OBJECTID; in btrfs_test_qgroups()
493 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in btrfs_test_qgroups()
494 root->root_key.offset = 0; in btrfs_test_qgroups()
526 tmp_root->root_key.objectid = BTRFS_FS_TREE_OBJECTID; in btrfs_test_qgroups()
542 tmp_root->root_key.objectid = BTRFS_FIRST_FREE_OBJECTID; in btrfs_test_qgroups()
A Dfree-space-tree-tests.c447 root->root_key.objectid = BTRFS_FREE_SPACE_TREE_OBJECTID; in run_test()
448 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in run_test()
449 root->root_key.offset = 0; in run_test()
A Dfree-space-tests.c1039 root->root_key.objectid = BTRFS_EXTENT_TREE_OBJECTID; in btrfs_test_free_space_cache()
1040 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in btrfs_test_free_space_cache()
1041 root->root_key.offset = 0; in btrfs_test_free_space_cache()
A Draid-stripe-tree-tests.c1106 root->root_key.objectid = BTRFS_RAID_STRIPE_TREE_OBJECTID; in run_test()
1107 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in run_test()
1108 root->root_key.offset = 0; in run_test()
/fs/btrfs/
A Dctree.h178 struct btrfs_key root_key; member
333 return root->root_key.objectid; in btrfs_root_id()
382 return root->root_key.offset; in btrfs_root_origin_generation()
740 return root->root_key.objectid == BTRFS_DATA_RELOC_TREE_OBJECTID; in btrfs_is_data_reloc_root()
A Drelocation.c590 struct btrfs_key root_key; in create_reloc_root() local
599 root_key.type = BTRFS_ROOT_ITEM_KEY; in create_reloc_root()
600 root_key.offset = objectid; in create_reloc_root()
676 &root_key, root_item); in create_reloc_root()
812 &reloc_root->root_key, root_item); in btrfs_update_reloc_root()
1752 root->reloc_root->root_key.type, in prepare_to_merge()
1757 reloc_root->root_key.type, in prepare_to_merge()
1758 reloc_root->root_key.offset, in prepare_to_merge()
1766 reloc_root->root_key.type, in prepare_to_merge()
1767 reloc_root->root_key.offset, in prepare_to_merge()
[all …]
A Droot-tree.c69 struct btrfs_key *root_key) in btrfs_find_root() argument
110 if (root_key) in btrfs_find_root()
111 memcpy(root_key, &found_key, sizeof(found_key)); in btrfs_find_root()
A Droot-tree.h35 struct btrfs_key *root_key);
A Ddisk-io.c648 memset(&root->root_key, 0, sizeof(root->root_key)); in btrfs_alloc_root()
652 root->root_key.objectid = objectid; in btrfs_alloc_root()
743 return btrfs_comp_cpu_keys(&a->root_key, &b->root_key); in global_root_cmp()
860 root->root_key.objectid = objectid; in btrfs_create_tree()
861 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in btrfs_create_tree()
862 root->root_key.offset = 0; in btrfs_create_tree()
919 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in alloc_log_tree()
920 root->root_key.offset = BTRFS_TREE_LOG_OBJECTID; in alloc_log_tree()
995 log_root->root_key.offset = btrfs_root_id(root); in btrfs_add_log_tree()
1031 &root->root_item, &root->root_key); in read_tree_root_path()
[all …]
A Dbtrfs_inode.h365 u64 h = objectid ^ (root->root_key.objectid * GOLDEN_RATIO_PRIME); in btrfs_inode_hash()
A Dtransaction.c1307 &root->root_key, in update_cowonly_root()
1516 &root->root_key, in commit_fs_roots()
A Dioctl.c1426 &root->root_key, &root->root_item); in btrfs_ioctl_subvol_setflags()
2924 btrfs_cpu_key_to_disk(&disk_key, &new_root->root_key); in btrfs_ioctl_default_subvol()
4026 &root->root_key, &root->root_item); in _btrfs_ioctl_set_received_subvol()
A Dfree-space-tree.c1299 ret = btrfs_del_root(trans, &free_space_root->root_key); in btrfs_delete_free_space_tree()
A Dextent-tree.c6212 &root->root_key, in btrfs_drop_snapshot()
6249 ret = btrfs_del_root(trans, &root->root_key); in btrfs_drop_snapshot()
6256 ret = btrfs_find_root(tree_root, &root->root_key, path, in btrfs_drop_snapshot()
A Dtree-log.c2832 &log->root_key, root_item); in update_log_root()
2835 &log->root_key, root_item); in update_log_root()
A Dqgroup.c1384 ret = btrfs_del_root(trans, &quota_root->root_key); in btrfs_quota_disable()
A Dinode.c6671 memcpy(&key, &inode->root->root_key, sizeof(key)); in btrfs_add_link()

Completed in 78 milliseconds