Searched refs:root_key (Results 1 – 17 of 17) sorted by relevance
| /fs/btrfs/tests/ |
| A D | qgroup-tests.c | 492 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 D | free-space-tree-tests.c | 447 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 D | free-space-tests.c | 1039 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 D | raid-stripe-tree-tests.c | 1106 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 D | ctree.h | 178 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 D | relocation.c | 590 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 D | root-tree.c | 69 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 D | root-tree.h | 35 struct btrfs_key *root_key);
|
| A D | disk-io.c | 648 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 D | btrfs_inode.h | 365 u64 h = objectid ^ (root->root_key.objectid * GOLDEN_RATIO_PRIME); in btrfs_inode_hash()
|
| A D | transaction.c | 1307 &root->root_key, in update_cowonly_root() 1516 &root->root_key, in commit_fs_roots()
|
| A D | ioctl.c | 1426 &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 D | free-space-tree.c | 1299 ret = btrfs_del_root(trans, &free_space_root->root_key); in btrfs_delete_free_space_tree()
|
| A D | extent-tree.c | 6212 &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 D | tree-log.c | 2832 &log->root_key, root_item); in update_log_root() 2835 &log->root_key, root_item); in update_log_root()
|
| A D | qgroup.c | 1384 ret = btrfs_del_root(trans, "a_root->root_key); in btrfs_quota_disable()
|
| A D | inode.c | 6671 memcpy(&key, &inode->root->root_key, sizeof(key)); in btrfs_add_link()
|
Completed in 82 milliseconds