/linux-master/fs/btrfs/ |
H A D | root-tree.c | 219 struct btrfs_root *tree_root = fs_info->tree_root; local 238 ret = btrfs_search_slot(NULL, tree_root, &key, path, 0, 0); 246 ret = btrfs_next_leaf(tree_root, path); 273 trans = btrfs_join_transaction(tree_root); 280 err = btrfs_del_orphan_item(trans, tree_root, 322 struct btrfs_root *root = trans->fs_info->tree_root; 348 struct btrfs_root *tree_root = trans->fs_info->tree_root; local 364 ret = btrfs_search_slot(trans, tree_root, 420 struct btrfs_root *tree_root = trans->fs_info->tree_root; local [all...] |
H A D | disk-io.c | 863 struct btrfs_root *tree_root = fs_info->tree_root; local 917 ret = btrfs_insert_root(trans, tree_root, &key, &root->root_item); 1035 static struct btrfs_root *read_tree_root_path(struct btrfs_root *tree_root, argument 1041 struct btrfs_fs_info *fs_info = tree_root->fs_info; 1050 ret = btrfs_find_root(tree_root, key, path, 1098 struct btrfs_root *btrfs_read_tree_root(struct btrfs_root *tree_root, argument 1107 root = read_tree_root_path(tree_root, path, key); 1187 return btrfs_grab_root(fs_info->tree_root); 1279 btrfs_put_root(fs_info->tree_root); 2127 load_global_roots_objectid(struct btrfs_root *tree_root, struct btrfs_path *path, u64 objectid, const char *name) argument 2209 load_global_roots(struct btrfs_root *tree_root) argument 2238 struct btrfs_root *tree_root = fs_info->tree_root; local 2630 struct btrfs_root *tree_root = fs_info->tree_root; local 3206 struct btrfs_root *tree_root; local [all...] |
H A D | tree-log.h | 78 int btrfs_recover_log_trees(struct btrfs_root *tree_root);
|
H A D | transaction.c | 1295 struct btrfs_root *tree_root = fs_info->tree_root; local 1306 ret = btrfs_update_root(trans, tree_root, 1340 eb = btrfs_lock_root_node(fs_info->tree_root); 1341 ret = btrfs_cow_block(trans, fs_info->tree_root, eb, NULL, 1516 ret2 = btrfs_update_root(trans, fs_info->tree_root, 1640 struct btrfs_root *tree_root = fs_info->tree_root; local 1677 pending->error = btrfs_get_free_objectid(tree_root, &objectid); 1813 ret = btrfs_insert_root(trans, tree_root, [all...] |
H A D | disk-io.h | 67 struct btrfs_root *btrfs_read_tree_root(struct btrfs_root *tree_root,
|
H A D | export.c | 166 root = fs_info->tree_root; 249 root = fs_info->tree_root;
|
H A D | free-space-tree.c | 1163 struct btrfs_root *tree_root = fs_info->tree_root; local 1169 trans = btrfs_start_transaction(tree_root, 0); 1264 struct btrfs_root *tree_root = fs_info->tree_root; local 1273 trans = btrfs_start_transaction(tree_root, 0);
|
H A D | dir-item.c | 160 if (root == root->fs_info->tree_root) {
|
H A D | block-rsv.c | 330 u64 num_bytes = btrfs_root_used(&fs_info->tree_root->root_item);
|
H A D | ioctl.c | 622 ret = btrfs_get_free_objectid(fs_info->tree_root, &objectid); 719 ret = btrfs_insert_root(trans, fs_info->tree_root, &key, 1525 ret = btrfs_update_root(trans, fs_info->tree_root, 2045 ret = btrfs_search_slot(NULL, fs_info->tree_root, &key, path, 0, 0); 2229 ret = btrfs_search_slot(NULL, fs_info->tree_root, &key, path, 0, 0); 2234 ret = btrfs_next_leaf(fs_info->tree_root, path); 2311 root = root->fs_info->tree_root; 3002 di = btrfs_lookup_dir_item(trans, fs_info->tree_root, path, 4069 ret = btrfs_update_root(trans, fs_info->tree_root,
|
H A D | tree-log.c | 151 struct btrfs_root *tree_root = fs_info->tree_root; local 160 if (!test_bit(BTRFS_ROOT_HAS_LOG_TREE, &tree_root->state)) { 161 mutex_lock(&tree_root->log_mutex); 165 set_bit(BTRFS_ROOT_HAS_LOG_TREE, &tree_root->state); 169 mutex_unlock(&tree_root->log_mutex); 3015 mutex_lock(&fs_info->tree_root->log_mutex); 3019 mutex_unlock(&fs_info->tree_root->log_mutex); 3024 mutex_unlock(&fs_info->tree_root->log_mutex); 3277 clear_bit(BTRFS_ROOT_HAS_LOG_TREE, &fs_info->tree_root [all...] |
H A D | dev-replace.c | 853 struct btrfs_root *root = fs_info->tree_root; 1070 struct btrfs_root *root = fs_info->tree_root;
|
H A D | relocation.c | 811 ret = btrfs_insert_root(trans, fs_info->tree_root, 818 reloc_root = btrfs_read_tree_root(fs_info->tree_root, &root_key); 948 ret = btrfs_update_root(trans, fs_info->tree_root, 3402 struct btrfs_root *root = fs_info->tree_root; 4228 trans = btrfs_start_transaction(fs_info->tree_root, 0); 4236 ret = btrfs_update_root(trans, fs_info->tree_root, 4274 ret = btrfs_search_slot(NULL, fs_info->tree_root, &key, 4293 reloc_root = btrfs_read_tree_root(fs_info->tree_root, &key);
|
H A D | free-space-cache.c | 146 inode = __lookup_free_space_inode(fs_info->tree_root, path, 232 ret = btrfs_get_free_objectid(trans->fs_info->tree_root, &ino); 236 return __create_free_space_inode(trans->fs_info->tree_root, trans, path, 285 ret = btrfs_search_slot(trans, trans->fs_info->tree_root, &key, path, 292 ret = btrfs_del_item(trans, trans->fs_info->tree_root, path); 1018 ret = __load_free_space_cache(fs_info->tree_root, inode, &tmp_ctl, 1360 return __btrfs_wait_cache_io(block_group->fs_info->tree_root, trans, 4134 trans = btrfs_start_transaction(fs_info->tree_root, 0);
|
H A D | qgroup.c | 999 struct btrfs_root *tree_root = fs_info->tree_root; local 1064 trans = btrfs_start_transaction(tree_root, 2); 1130 ret = btrfs_search_slot_for_read(tree_root, &key, path, 1, 0); 1145 /* Release locks on tree_root before we access quota_root */ 1176 ret = btrfs_search_slot_for_read(tree_root, &found_key, 1191 ret = btrfs_next_item(tree_root, path); 1324 trans = btrfs_join_transaction(fs_info->tree_root); 1389 trans = btrfs_start_transaction(fs_info->tree_root, 1);
|
H A D | extent-tree.c | 5865 struct btrfs_root *tree_root = fs_info->tree_root; local 5895 trans = btrfs_join_transaction(tree_root); 5897 trans = btrfs_start_transaction(tree_root, 0); 6014 ret = btrfs_update_root(trans, tree_root, 6040 trans = btrfs_join_transaction(tree_root); 6042 trans = btrfs_start_transaction(tree_root, 0); 6061 ret = btrfs_find_root(tree_root, &root->root_key, path, 6073 btrfs_del_orphan_item(trans, tree_root,
|
H A D | super.c | 752 struct btrfs_root *root = fs_info->tree_root; 873 struct btrfs_root *root = fs_info->tree_root; 969 struct btrfs_root *root = fs_info->tree_root; 2257 struct btrfs_root *root = fs_info->tree_root;
|
H A D | fs.h | 408 struct btrfs_root *tree_root; member in struct:btrfs_fs_info
|
H A D | volumes.c | 3532 trans = btrfs_join_transaction(fs_info->tree_root); 3587 struct btrfs_root *root = fs_info->tree_root; 3640 struct btrfs_root *root = fs_info->tree_root; 4650 ret = btrfs_search_slot(NULL, fs_info->tree_root, &key, path, 0, 0); 4785 struct btrfs_root *root = fs_info->tree_root; 4920 struct btrfs_root *tree_root = fs_info->tree_root; local 4929 trans = btrfs_start_transaction(tree_root, 2);
|
H A D | ordered-data.c | 596 if (root != fs_info->tree_root) {
|
H A D | inode.c | 2535 root != fs_info->tree_root) 3141 BUG_ON(root == fs_info->tree_root); 3584 if (!inode && root == fs_info->tree_root) { 4390 di = btrfs_lookup_dir_item(NULL, fs_info->tree_root, path, 4408 ret = btrfs_search_slot(NULL, fs_info->tree_root, &key, path, 0, 0); 4589 fs_info->tree_root, 5476 ret = btrfs_search_slot(NULL, fs_info->tree_root, &key, path, 0, 0); 5582 if (args->root && args->root == args->root->fs_info->tree_root &&
|
H A D | accessors.h | 764 tree_root, 64);
|
/linux-master/fs/btrfs/tests/ |
H A D | qgroup-tests.c | 501 root->fs_info->tree_root = root;
|
H A D | free-space-tree-tests.c | 454 root->fs_info->tree_root = root;
|
/linux-master/include/uapi/linux/ |
H A D | btrfs_tree.h | 510 __le64 tree_root; member in struct:btrfs_root_backup
|