Home
last modified time | relevance | path

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

/Linux-v6.6/fs/btrfs/
Dref-verify.c312 static int add_tree_block(struct btrfs_fs_info *fs_info, u64 ref_root, in add_tree_block() argument
326 ref->root_objectid = ref_root; in add_tree_block()
332 be = add_block_entry(fs_info, bytenr, fs_info->nodesize, ref_root); in add_tree_block()
342 ASSERT(ref_root); in add_tree_block()
343 re = lookup_root_entry(&be->roots, ref_root); in add_tree_block()
394 u64 ref_root = btrfs_extent_data_ref_root(leaf, dref); in add_extent_data_ref() local
402 be = add_block_entry(fs_info, bytenr, num_bytes, ref_root); in add_extent_data_ref()
411 ref->root_objectid = ref_root; in add_extent_data_ref()
421 re = lookup_root_entry(&be->roots, ref_root); in add_extent_data_ref()
675 u64 ref_root = 0; in btrfs_ref_tree_mod() local
[all …]
Ddelayed-ref.h308 u64 ref_root, u64 ino, u64 offset, u64 mod_root, in btrfs_init_data_ref() argument
313 generic_ref->real_root = mod_root ?: ref_root; in btrfs_init_data_ref()
315 generic_ref->data_ref.owning_root = ref_root; in btrfs_init_data_ref()
319 if (skip_qgroup || !(is_fstree(ref_root) && in btrfs_init_data_ref()
Ddelayed-ref.c719 u64 bytenr, u64 num_bytes, u64 ref_root, in init_delayed_ref_head() argument
773 if (ref_root && reserved) { in init_delayed_ref_head()
775 qrecord->data_rsv_refroot = ref_root; in init_delayed_ref_head()
866 u64 bytenr, u64 num_bytes, u64 ref_root, in init_delayed_ref_common() argument
874 if (is_fstree(ref_root)) in init_delayed_ref_common()
1001 u64 ref_root = generic_ref->data_ref.owning_root; in btrfs_add_delayed_data_ref() local
1016 ref_root, action, ref_type); in btrfs_add_delayed_data_ref()
1017 ref->root = ref_root; in btrfs_add_delayed_data_ref()
1040 init_delayed_ref_head(head_ref, record, bytenr, num_bytes, ref_root, in btrfs_add_delayed_data_ref()
Dqgroup.h355 u64 ref_root, u64 num_bytes,
Dqgroup.c1360 struct ulist *tmp, u64 ref_root, in __qgroup_excl_accounting() argument
1370 qgroup = find_qgroup_rb(fs_info, ref_root); in __qgroup_excl_accounting()
3126 u64 ref_root = root->root_key.objectid; in qgroup_reserve() local
3131 if (!is_fstree(ref_root)) in qgroup_reserve()
3145 qgroup = find_qgroup_rb(fs_info, ref_root); in qgroup_reserve()
3206 u64 ref_root, u64 num_bytes, in btrfs_qgroup_free_refroot() argument
3214 if (!is_fstree(ref_root)) in btrfs_qgroup_free_refroot()
3229 qgroup = find_qgroup_rb(fs_info, ref_root); in btrfs_qgroup_free_refroot()
4103 static void qgroup_convert_meta(struct btrfs_fs_info *fs_info, u64 ref_root, in qgroup_convert_meta() argument
4117 qgroup = find_qgroup_rb(fs_info, ref_root); in qgroup_convert_meta()
Dextent-tree.c1541 u64 ref_root = 0; in run_delayed_data_ref() local
1553 ref_root = ref->root; in run_delayed_data_ref()
1558 ret = alloc_reserved_file_extent(trans, parent, ref_root, in run_delayed_data_ref()
1563 ret = __btrfs_inc_extent_ref(trans, node, parent, ref_root, in run_delayed_data_ref()
1568 ref_root, ref->objectid, in run_delayed_data_ref()
1695 u64 ref_root = 0; in run_delayed_tree_ref() local
1702 ref_root = ref->root; in run_delayed_tree_ref()
1707 node->bytenr, node->ref_mod, node->action, ref_root, in run_delayed_tree_ref()
1715 ret = __btrfs_inc_extent_ref(trans, node, parent, ref_root, in run_delayed_tree_ref()
1718 ret = __btrfs_free_extent(trans, node, parent, ref_root, in run_delayed_tree_ref()
[all …]
Dscrub.c521 u64 ref_root; in scrub_print_common_warning() local
525 item_size, &ref_root, in scrub_print_common_warning()
539 ref_level, ref_root); in scrub_print_common_warning()
Dinode.c276 u64 ref_root; in print_data_reloc_error() local
281 item_size, &ref_root, in print_data_reloc_error()
296 ref_level, ref_root); in print_data_reloc_error()
/Linux-v6.6/include/trace/events/
Dbtrfs.h886 __field( u64, ref_root )
897 __entry->ref_root = full_ref->root;
910 show_root_type(__entry->ref_root),
949 __field( u64, ref_root )
961 __entry->ref_root = full_ref->root;
975 show_root_type(__entry->ref_root),