Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Ddelayed-ref.c528 u64 bytenr, u64 num_bytes, u64 ref_root, in init_delayed_ref_head() argument
580 if (ref_root && reserved) { in init_delayed_ref_head()
581 head_ref->qgroup_ref_root = ref_root; in init_delayed_ref_head()
680 u64 bytenr, u64 num_bytes, u64 ref_root, in init_delayed_ref_common() argument
688 if (is_fstree(ref_root)) in init_delayed_ref_common()
711 u64 ref_root, int level, int action, in btrfs_add_delayed_tree_ref() argument
721 bool is_system = (ref_root == BTRFS_CHUNK_TREE_OBJECTID); in btrfs_add_delayed_tree_ref()
737 is_fstree(ref_root)) { in btrfs_add_delayed_tree_ref()
752 ref_root, action, ref_type); in btrfs_add_delayed_tree_ref()
753 ref->root = ref_root; in btrfs_add_delayed_tree_ref()
[all …]
Dqgroup.h247 u64 ref_root, u64 num_bytes,
250 u64 ref_root, u64 num_bytes) in btrfs_qgroup_free_delayed_ref() argument
254 trace_btrfs_qgroup_free_delayed_ref(fs_info, ref_root, num_bytes); in btrfs_qgroup_free_delayed_ref()
255 btrfs_qgroup_free_refroot(fs_info, ref_root, num_bytes, in btrfs_qgroup_free_delayed_ref()
Dref-verify.c320 static int add_tree_block(struct btrfs_fs_info *fs_info, u64 ref_root, in add_tree_block() argument
334 ref->root_objectid = ref_root; in add_tree_block()
340 be = add_block_entry(fs_info, bytenr, fs_info->nodesize, ref_root); in add_tree_block()
350 ASSERT(ref_root); in add_tree_block()
351 re = lookup_root_entry(&be->roots, ref_root); in add_tree_block()
402 u64 ref_root = btrfs_extent_data_ref_root(leaf, dref); in add_extent_data_ref() local
410 be = add_block_entry(fs_info, bytenr, num_bytes, ref_root); in add_extent_data_ref()
419 ref->root_objectid = ref_root; in add_extent_data_ref()
429 re = lookup_root_entry(&be->roots, ref_root); in add_extent_data_ref()
691 u64 parent, u64 ref_root, u64 owner, u64 offset, in btrfs_ref_tree_mod() argument
[all …]
Dref-verify.h13 u64 parent, u64 ref_root, u64 owner, u64 offset,
34 u64 num_bytes, u64 parent, u64 ref_root, in btrfs_ref_tree_mod() argument
Ddelayed-ref.h239 u64 ref_root, int level, int action,
244 u64 parent, u64 ref_root,
Dqgroup.c1160 struct ulist *tmp, u64 ref_root, in __qgroup_excl_accounting() argument
1170 qgroup = find_qgroup_rb(fs_info, ref_root); in __qgroup_excl_accounting()
2533 u64 ref_root = root->root_key.objectid; in qgroup_reserve() local
2538 if (!is_fstree(ref_root)) in qgroup_reserve()
2553 qgroup = find_qgroup_rb(fs_info, ref_root); in qgroup_reserve()
2615 u64 ref_root, u64 num_bytes, in btrfs_qgroup_free_refroot() argument
2624 if (!is_fstree(ref_root)) in btrfs_qgroup_free_refroot()
2640 qgroup = find_qgroup_rb(fs_info, ref_root); in btrfs_qgroup_free_refroot()
3355 static void qgroup_convert_meta(struct btrfs_fs_info *fs_info, u64 ref_root, in qgroup_convert_meta() argument
3370 qgroup = find_qgroup_rb(fs_info, ref_root); in qgroup_convert_meta()
Dextent-tree.c2172 u64 ref_root = 0; in run_delayed_data_ref() local
2184 ref_root = ref->root; in run_delayed_data_ref()
2189 ret = alloc_reserved_file_extent(trans, parent, ref_root, in run_delayed_data_ref()
2194 ret = __btrfs_inc_extent_ref(trans, node, parent, ref_root, in run_delayed_data_ref()
2199 ref_root, ref->objectid, in run_delayed_data_ref()
2321 u64 ref_root = 0; in run_delayed_tree_ref() local
2328 ref_root = ref->root; in run_delayed_tree_ref()
2333 node->bytenr, node->ref_mod, node->action, ref_root, in run_delayed_tree_ref()
2341 ret = __btrfs_inc_extent_ref(trans, node, parent, ref_root, in run_delayed_tree_ref()
2344 ret = __btrfs_free_extent(trans, node, parent, ref_root, in run_delayed_tree_ref()
[all …]
Drelocation.c3529 u64 ref_root; in find_data_references() local
3539 ref_root = btrfs_extent_data_ref_root(leaf, ref); in find_data_references()
3548 if (ref_root == BTRFS_ROOT_TREE_OBJECTID) { in find_data_references()
3561 root = read_fs_root(fs_info, ref_root); in find_data_references()
Dscrub.c747 u64 ref_root; in scrub_print_warning() local
780 item_size, &ref_root, in scrub_print_warning()
789 ret < 0 ? -1 : ref_root); in scrub_print_warning()
/linux-4.19.296/include/trace/events/
Dbtrfs.h723 __field( u64, ref_root )
734 __entry->ref_root = full_ref->root;
747 show_root_type(__entry->ref_root),
786 __field( u64, ref_root )
798 __entry->ref_root = full_ref->root;
812 show_root_type(__entry->ref_root),
1515 u64 ref_root, u64 reserved),
1517 TP_ARGS(fs_info, ref_root, reserved),
1520 __field( u64, ref_root )
1525 __entry->ref_root = ref_root;
[all …]