Home
last modified time | relevance | path

Searched refs:extent_root (Results 1 – 16 of 16) sorted by relevance

/linux-4.1.27/fs/btrfs/
Drelocation.c161 struct btrfs_root *extent_root; member
610 root = read_fs_root(rc->extent_root->fs_info, root_objectid); in find_tree_root()
733 ret = btrfs_search_slot(NULL, rc->extent_root, &key, path1,
771 ret = btrfs_next_leaf(rc->extent_root, path1);
885 root = read_fs_root(rc->extent_root->fs_info, key.offset);
2266 struct btrfs_root *root = rc->extent_root;
2287 trans = btrfs_join_transaction(rc->extent_root);
2290 btrfs_block_rsv_release(rc->extent_root,
2297 btrfs_end_transaction(trans, rc->extent_root);
2298 btrfs_block_rsv_release(rc->extent_root,
[all …]
Dextent-tree.c102 struct btrfs_root *extent_root, u64 flags,
384 struct btrfs_root *extent_root; in caching_thread() local
396 extent_root = fs_info->extent_root; in caching_thread()
423 ret = btrfs_search_slot(NULL, extent_root, &key, path, 0, 0); in caching_thread()
453 ret = btrfs_next_leaf(extent_root, path); in caching_thread()
516 free_excluded_extents(extent_root, block_group); in caching_thread()
616 free_excluded_extents(fs_info->extent_root, cache); in cache_block_group()
728 ret = btrfs_search_slot(NULL, root->fs_info->extent_root, &key, path, in btrfs_lookup_data_extent()
784 ret = btrfs_search_slot(trans, root->fs_info->extent_root, in btrfs_lookup_extent_info()
1995 ret = insert_inline_extent_backref(trans, fs_info->extent_root, path, in __btrfs_inc_extent_ref()
[all …]
Dbackref.c795 struct btrfs_root *extent_root = fs_info->extent_root; in __add_keyed_refs() local
802 ret = btrfs_next_item(extent_root, path); in __add_keyed_refs()
931 ret = btrfs_search_slot(trans, fs_info->extent_root, &key, path, 0, 0);
1035 eb = read_tree_block(fs_info->extent_root,
1443 ret = btrfs_search_slot(NULL, fs_info->extent_root, &key, path, 0, 0);
1447 ret = btrfs_previous_extent_item(fs_info->extent_root, path, 0);
1455 size = fs_info->extent_root->nodesize;
1640 trans = btrfs_join_transaction(fs_info->extent_root);
1678 btrfs_end_transaction(trans, fs_info->extent_root);
Dvolumes.c2586 struct btrfs_root *extent_root = root->fs_info->extent_root; in btrfs_remove_chunk() local
2659 ret = btrfs_remove_block_group(trans, extent_root, chunk_offset, em); in btrfs_remove_chunk()
2661 btrfs_abort_transaction(trans, extent_root, ret); in btrfs_remove_chunk()
2675 struct btrfs_root *extent_root; in btrfs_relocate_chunk() local
2680 extent_root = root->fs_info->extent_root; in btrfs_relocate_chunk()
2682 ret = btrfs_can_relocate(extent_root, chunk_offset); in btrfs_relocate_chunk()
2687 ret = btrfs_relocate_block_group(extent_root, chunk_offset); in btrfs_relocate_chunk()
4218 struct btrfs_root *extent_root, u64 start, in __btrfs_alloc_chunk() argument
4221 struct btrfs_fs_info *info = extent_root->fs_info; in __btrfs_alloc_chunk()
4437 map->sector_size = extent_root->sectorsize; in __btrfs_alloc_chunk()
[all …]
Dtree-defrag.c44 if (root->fs_info->extent_root == root) { in btrfs_defrag_leaves()
Dvolumes.h422 struct btrfs_root *extent_root, u64 type);
485 struct btrfs_root *extent_root,
Dreada.c723 ret = reada_tree_block_flagged(fs_info->extent_root, logical, in reada_start_machine_dev()
726 __readahead_hook(fs_info->extent_root, NULL, logical, ret); in reada_start_machine_dev()
728 __readahead_hook(fs_info->extent_root, eb, eb->start, ret); in reada_start_machine_dev()
Ddisk-io.c1647 return fs_info->extent_root; in btrfs_get_fs_root()
1978 btrfs_set_backup_extent_root(root_backup, info->extent_root->node->start); in backup_super_roots()
1980 btrfs_header_generation(info->extent_root->node)); in backup_super_roots()
1982 btrfs_header_level(info->extent_root->node)); in backup_super_roots()
2116 free_root_extent_buffers(info->extent_root); in free_root_pointers()
2382 fs_info->extent_root = root; in btrfs_read_roots()
2920 ret = btrfs_read_block_groups(fs_info->extent_root); in open_ctree()
Dtransaction.c282 WARN_ON(root == root->fs_info->extent_root); in record_root_in_trans()
1108 if (root != fs_info->extent_root) in commit_cowonly_roots()
1131 list_add_tail(&fs_info->extent_root->dirty_list, in commit_cowonly_roots()
Dctree.h421 __le64 extent_root; member
1390 struct btrfs_root *extent_root; member
2934 extent_root, 64);
3675 kfree(fs_info->extent_root); in free_fs_info()
Dscrub.c1071 fixup_nodatasum->root = fs_info->extent_root; in scrub_handle_errored_block()
2762 struct btrfs_root *root = fs_info->extent_root; in scrub_raid56_parity()
2965 struct btrfs_root *root = fs_info->extent_root; in scrub_stripe()
3957 root = fs_info->extent_root; in copy_nocow_pages_worker()
Dqgroup.c2654 ret = btrfs_search_slot_for_read(fs_info->extent_root, in qgroup_rescan_leaf()
2694 num_bytes = fs_info->extent_root->nodesize; in qgroup_rescan_leaf()
Dioctl.c713 root->fs_info->extent_root, 1); in create_snapshot()
718 root->fs_info->extent_root); in create_snapshot()
2560 ret = btrfs_defrag_root(root->fs_info->extent_root); in btrfs_ioctl_defrag()
Dfree-space-cache.c3087 ret = btrfs_discard_extent(fs_info->extent_root, in do_trimming()
Dtree-log.c313 ret = btrfs_pin_extent_for_log_replay(log->fs_info->extent_root, in process_one_buffer()
/linux-4.1.27/fs/btrfs/tests/
Dqgroup-tests.c408 root->fs_info->extent_root = root; in btrfs_test_qgroups()