Home
last modified time | relevance | path

Searched refs:ref_root (Results 1 – 13 of 13) sorted by relevance

/linux/fs/btrfs/
H A Ddelayed-ref.c302 if (ref1->ref_root < ref2->ref_root) in comp_refs()
304 if (ref1->ref_root > ref2->ref_root) in comp_refs()
775 head_ref->is_system = (generic_ref->ref_root == BTRFS_CHUNK_TREE_OBJECTID); in init_delayed_ref_head()
791 if (generic_ref->ref_root && reserved) { in init_delayed_ref_head()
793 qrecord->data_rsv_refroot = generic_ref->ref_root; in init_delayed_ref_head()
909 * @ref_root: The id of the root where this modification has originated, this
931 if (btrfs_is_fstree(generic_ref->ref_root)) in init_delayed_ref_common()
941 ref->ref_root in init_delayed_ref_common()
[all...]
H A Ddelayed-ref.h80 /* The ref_root for this ref */
81 u64 ref_root; member
84 * The parent for this ref, if this isn't set the ref_root is the
291 u64 ref_root; member
H A Dextent-tree.c519 key.offset = hash_extent_data_ref(node->ref_root, owner, offset); in insert_extent_data_ref()
544 if (match_extent_data_ref(leaf, ref, node->ref_root, in insert_extent_data_ref()
559 btrfs_set_extent_data_ref_root(leaf, ref, node->ref_root); in insert_extent_data_ref()
700 key.offset = node->ref_root; in insert_tree_block_ref()
1455 generic_ref->ref_root == BTRFS_TREE_LOG_OBJECTID); in btrfs_inc_extent_ref()
1504 node->parent, node->ref_root, owner, in __btrfs_inc_extent_ref()
1589 ret = alloc_reserved_file_extent(trans, parent, node->ref_root, in run_delayed_data_ref()
1719 u64 ref_root = 0; in run_delayed_tree_ref() local
1725 ref_root = node->ref_root; in run_delayed_tree_ref()
2464 u64 ref_root; __btrfs_mod_ref() local
[all...]
H A Dqgroup.h380 u64 ref_root, u64 num_bytes,
H A Dqgroup.c1452 static int __qgroup_excl_accounting(struct btrfs_fs_info *fs_info, u64 ref_root, in __qgroup_excl_accounting() argument
1460 qgroup = find_qgroup_rb(fs_info, ref_root); in __qgroup_excl_accounting()
3565 u64 ref_root = btrfs_root_id(root); in qgroup_reserve() local
3569 if (!btrfs_is_fstree(ref_root)) in qgroup_reserve()
3583 qgroup = find_qgroup_rb(fs_info, ref_root); in qgroup_reserve()
3623 u64 ref_root, u64 num_bytes, in btrfs_qgroup_free_refroot() argument
3629 if (!btrfs_is_fstree(ref_root)) in btrfs_qgroup_free_refroot()
3644 qgroup = find_qgroup_rb(fs_info, ref_root); in btrfs_qgroup_free_refroot()
4534 static void qgroup_convert_meta(struct btrfs_fs_info *fs_info, u64 ref_root, in qgroup_convert_meta() argument
4546 qgroup = find_qgroup_rb(fs_info, ref_root); in qgroup_convert_meta()
[all...]
H A Drelocation.c973 ref.ref_root = btrfs_header_owner(leaf); in replace_file_extents()
987 ref.ref_root = btrfs_header_owner(leaf); in replace_file_extents()
1199 ref.ref_root = btrfs_root_id(src); in replace_path()
1212 ref.ref_root = btrfs_root_id(dest); in replace_path()
1226 ref.ref_root = btrfs_root_id(src); in replace_path()
1240 ref.ref_root = btrfs_root_id(dest); in replace_path()
2320 .ref_root = btrfs_header_owner(upper->eb), in do_relocation()
H A Dfile.c324 .ref_root = btrfs_root_id(root), in btrfs_drop_extents()
423 .ref_root = btrfs_root_id(root), in btrfs_drop_extents()
704 ref.ref_root = btrfs_root_id(root); in btrfs_mark_extent_written()
734 ref.ref_root = btrfs_root_id(root); in btrfs_mark_extent_written()
2371 .ref_root = btrfs_root_id(root), in btrfs_insert_replace_extent()
H A Dscrub.c626 u64 ref_root; in scrub_print_common_warning() local
630 item_size, &ref_root, in scrub_print_common_warning()
644 ref_level, ref_root); in scrub_print_common_warning()
H A Dbackref.c930 ret = add_indirect_ref(fs_info, preftrees, node->ref_root, in add_delayed_refs()
972 ret = add_indirect_ref(fs_info, preftrees, node->ref_root, in add_delayed_refs()
H A Dinode.c261 u64 ref_root; in print_data_reloc_error() local
266 item_size, &ref_root, in print_data_reloc_error()
281 ref_level, ref_root); in print_data_reloc_error()
H A Dtree-log.c761 .ref_root = btrfs_root_id(root), in replay_one_extent()
/linux/fs/btrfs/tests/
H A Ddelayed-refs-tests.c139 if (node->ref_root != check->root) { in validate_ref_node()
140 test_err("invalid root have: %llu want: %llu", node->ref_root, in validate_ref_node()
179 .ref_root = node_check->root, in simple_test()
347 .ref_root = FAKE_ROOT_OBJECTID, in merge_tests()
707 ref.ref_root = FAKE_ROOT_OBJECTID + i; in merge_tests()
725 ref.ref_root = FAKE_ROOT_OBJECTID + i; in merge_tests()
788 .ref_root = FAKE_ROOT_OBJECTID, in select_delayed_refs_test()
823 ref.ref_root = FAKE_ROOT_OBJECTID + 1; in select_delayed_refs_test()
887 ref.ref_root = FAKE_ROOT_OBJECTID; in select_delayed_refs_test()
895 ref.ref_root in select_delayed_refs_test()
[all...]
/linux/include/trace/events/
H A Dbtrfs.h862 __field( u64, ref_root )
873 __entry->ref_root = ref->ref_root;
880 "parent=%llu(%s) ref_root=%llu(%s) level=%d "
886 show_root_type(__entry->ref_root),
919 __field( u64, ref_root )
931 __entry->ref_root = ref->ref_root;
939 "parent=%llu(%s) ref_root=%llu(%s) owner=%llu "
945 show_root_type(__entry->ref_root),
[all...]