Home
last modified time | relevance | path

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

/Linux-v5.10/fs/btrfs/
Ddelayed-ref.h190 u64 ref_root; member
285 u64 ref_root, u64 ino, u64 offset) in btrfs_init_data_ref() argument
289 generic_ref->real_root = ref_root; in btrfs_init_data_ref()
290 generic_ref->data_ref.ref_root = ref_root; in btrfs_init_data_ref()
Dref-verify.c309 static int add_tree_block(struct btrfs_fs_info *fs_info, u64 ref_root, in add_tree_block() argument
323 ref->root_objectid = ref_root; in add_tree_block()
329 be = add_block_entry(fs_info, bytenr, fs_info->nodesize, ref_root); in add_tree_block()
339 ASSERT(ref_root); in add_tree_block()
340 re = lookup_root_entry(&be->roots, ref_root); in add_tree_block()
391 u64 ref_root = btrfs_extent_data_ref_root(leaf, dref); in add_extent_data_ref() local
399 be = add_block_entry(fs_info, bytenr, num_bytes, ref_root); in add_extent_data_ref()
408 ref->root_objectid = ref_root; in add_extent_data_ref()
418 re = lookup_root_entry(&be->roots, ref_root); in add_extent_data_ref()
684 u64 ref_root; in btrfs_ref_tree_mod() local
[all …]
Ddelayed-ref.c732 u64 bytenr, u64 num_bytes, u64 ref_root, in init_delayed_ref_head() argument
782 if (ref_root && reserved) { in init_delayed_ref_head()
784 qrecord->data_rsv_refroot = ref_root; in init_delayed_ref_head()
881 u64 bytenr, u64 num_bytes, u64 ref_root, in init_delayed_ref_common() argument
889 if (is_fstree(ref_root)) in init_delayed_ref_common()
1023 u64 ref_root = generic_ref->data_ref.ref_root; in btrfs_add_delayed_data_ref() local
1038 ref_root, action, ref_type); in btrfs_add_delayed_data_ref()
1039 ref->root = ref_root; in btrfs_add_delayed_data_ref()
1052 is_fstree(ref_root) && in btrfs_add_delayed_data_ref()
1064 init_delayed_ref_head(head_ref, record, bytenr, num_bytes, ref_root, in btrfs_add_delayed_data_ref()
Dqgroup.h349 u64 ref_root, u64 num_bytes,
Dextent-tree.c1519 u64 ref_root = 0; in run_delayed_data_ref() local
1531 ref_root = ref->root; in run_delayed_data_ref()
1536 ret = alloc_reserved_file_extent(trans, parent, ref_root, in run_delayed_data_ref()
1541 ret = __btrfs_inc_extent_ref(trans, node, parent, ref_root, in run_delayed_data_ref()
1546 ref_root, ref->objectid, in run_delayed_data_ref()
1667 u64 ref_root = 0; in run_delayed_tree_ref() local
1674 ref_root = ref->root; in run_delayed_tree_ref()
1679 node->bytenr, node->ref_mod, node->action, ref_root, in run_delayed_tree_ref()
1687 ret = __btrfs_inc_extent_ref(trans, node, parent, ref_root, in run_delayed_tree_ref()
1690 ret = __btrfs_free_extent(trans, node, parent, ref_root, in run_delayed_tree_ref()
[all …]
Dqgroup.c1259 struct ulist *tmp, u64 ref_root, in __qgroup_excl_accounting() argument
1269 qgroup = find_qgroup_rb(fs_info, ref_root); in __qgroup_excl_accounting()
2983 u64 ref_root = root->root_key.objectid; in qgroup_reserve() local
2988 if (!is_fstree(ref_root)) in qgroup_reserve()
3002 qgroup = find_qgroup_rb(fs_info, ref_root); in qgroup_reserve()
3063 u64 ref_root, u64 num_bytes, in btrfs_qgroup_free_refroot() argument
3071 if (!is_fstree(ref_root)) in btrfs_qgroup_free_refroot()
3086 qgroup = find_qgroup_rb(fs_info, ref_root); in btrfs_qgroup_free_refroot()
3939 static void qgroup_convert_meta(struct btrfs_fs_info *fs_info, u64 ref_root, in qgroup_convert_meta() argument
3953 qgroup = find_qgroup_rb(fs_info, ref_root); in qgroup_convert_meta()
Dscrub.c740 u64 ref_root; in scrub_print_warning() local
773 item_size, &ref_root, in scrub_print_warning()
782 ret < 0 ? -1 : ref_root); in scrub_print_warning()
/Linux-v5.10/include/trace/events/
Dbtrfs.h794 __field( u64, ref_root )
805 __entry->ref_root = full_ref->root;
818 show_root_type(__entry->ref_root),
857 __field( u64, ref_root )
869 __entry->ref_root = full_ref->root;
883 show_root_type(__entry->ref_root),