/linux-6.1.9/fs/btrfs/ |
D | ref-verify.c | 309 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() 672 u64 ref_root = 0; in btrfs_ref_tree_mod() local [all …]
|
D | delayed-ref.h | 284 u64 ref_root, u64 ino, u64 offset, u64 mod_root, in btrfs_init_data_ref() argument 289 generic_ref->real_root = mod_root ?: ref_root; in btrfs_init_data_ref() 291 generic_ref->data_ref.owning_root = ref_root; in btrfs_init_data_ref() 295 if (skip_qgroup || !(is_fstree(ref_root) && in btrfs_init_data_ref()
|
D | delayed-ref.c | 739 u64 bytenr, u64 num_bytes, u64 ref_root, in init_delayed_ref_head() argument 789 if (ref_root && reserved) { in init_delayed_ref_head() 791 qrecord->data_rsv_refroot = ref_root; in init_delayed_ref_head() 882 u64 bytenr, u64 num_bytes, u64 ref_root, in init_delayed_ref_common() argument 890 if (is_fstree(ref_root)) in init_delayed_ref_common() 1019 u64 ref_root = generic_ref->data_ref.owning_root; in btrfs_add_delayed_data_ref() local 1034 ref_root, action, ref_type); in btrfs_add_delayed_data_ref() 1035 ref->root = ref_root; in btrfs_add_delayed_data_ref() 1058 init_delayed_ref_head(head_ref, record, bytenr, num_bytes, ref_root, in btrfs_add_delayed_data_ref()
|
D | qgroup.h | 352 u64 ref_root, u64 num_bytes,
|
D | qgroup.c | 1341 struct ulist *tmp, u64 ref_root, in __qgroup_excl_accounting() argument 1351 qgroup = find_qgroup_rb(fs_info, ref_root); in __qgroup_excl_accounting() 3087 u64 ref_root = root->root_key.objectid; in qgroup_reserve() local 3092 if (!is_fstree(ref_root)) in qgroup_reserve() 3106 qgroup = find_qgroup_rb(fs_info, ref_root); in qgroup_reserve() 3167 u64 ref_root, u64 num_bytes, in btrfs_qgroup_free_refroot() argument 3175 if (!is_fstree(ref_root)) in btrfs_qgroup_free_refroot() 3190 qgroup = find_qgroup_rb(fs_info, ref_root); in btrfs_qgroup_free_refroot() 4058 static void qgroup_convert_meta(struct btrfs_fs_info *fs_info, u64 ref_root, in qgroup_convert_meta() argument 4072 qgroup = find_qgroup_rb(fs_info, ref_root); in qgroup_convert_meta()
|
D | extent-tree.c | 1503 u64 ref_root = 0; in run_delayed_data_ref() local 1515 ref_root = ref->root; in run_delayed_data_ref() 1520 ret = alloc_reserved_file_extent(trans, parent, ref_root, in run_delayed_data_ref() 1525 ret = __btrfs_inc_extent_ref(trans, node, parent, ref_root, in run_delayed_data_ref() 1530 ref_root, ref->objectid, in run_delayed_data_ref() 1652 u64 ref_root = 0; in run_delayed_tree_ref() local 1659 ref_root = ref->root; in run_delayed_tree_ref() 1664 node->bytenr, node->ref_mod, node->action, ref_root, in run_delayed_tree_ref() 1672 ret = __btrfs_inc_extent_ref(trans, node, parent, ref_root, in run_delayed_tree_ref() 1675 ret = __btrfs_free_extent(trans, node, parent, ref_root, in run_delayed_tree_ref() [all …]
|
D | scrub.c | 899 u64 ref_root; in scrub_print_warning() local 939 item_size, &ref_root, in scrub_print_warning() 948 ret < 0 ? -1 : ref_root); in scrub_print_warning()
|
/linux-6.1.9/include/trace/events/ |
D | btrfs.h | 857 __field( u64, ref_root ) 868 __entry->ref_root = full_ref->root; 881 show_root_type(__entry->ref_root), 920 __field( u64, ref_root ) 932 __entry->ref_root = full_ref->root; 946 show_root_type(__entry->ref_root),
|