Home
last modified time | relevance | path

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

/linux-4.1.27/fs/btrfs/
Ddelayed-ref.c271 rb_erase(&ref->rb_node, &head->ref_root); in drop_delayed_ref()
357 node = rb_first(&head->ref_root); in btrfs_merge_delayed_refs()
367 node = rb_first(&head->ref_root); in btrfs_merge_delayed_refs()
621 head_ref->ref_root = RB_ROOT; in add_delayed_ref_head()
659 u64 num_bytes, u64 parent, u64 ref_root, int level, in add_delayed_tree_ref() argument
670 if (is_fstree(ref_root)) in add_delayed_tree_ref()
687 full_ref->root = ref_root; in add_delayed_tree_ref()
697 existing = tree_insert(&head_ref->ref_root, &ref->rb_node); in add_delayed_tree_ref()
721 u64 num_bytes, u64 parent, u64 ref_root, u64 owner, in add_delayed_data_ref() argument
734 if (is_fstree(ref_root)) in add_delayed_data_ref()
[all …]
Ddelayed-ref.h86 struct rb_root ref_root; member
208 u64 ref_root, int level, int action,
214 u64 parent, u64 ref_root,
Dqgroup.c1012 struct ulist *tmp, u64 ref_root, in __qgroup_excl_accounting() argument
1021 qgroup = find_qgroup_rb(fs_info, ref_root); in __qgroup_excl_accounting()
1370 if (oper1->ref_root < oper2->ref_root) in comp_oper_exist()
1372 if (oper1->ref_root > oper2->ref_root) in comp_oper_exist()
1409 if (oper1->ref_root < oper2->ref_root) in comp_oper()
1411 if (oper1->ref_root > oper2->ref_root) in comp_oper()
1470 struct btrfs_fs_info *fs_info, u64 ref_root, in btrfs_qgroup_record_ref() argument
1477 if (!is_fstree(ref_root) || !fs_info->quota_enabled) in btrfs_qgroup_record_ref()
1484 oper->ref_root = ref_root; in btrfs_qgroup_record_ref()
1550 ret = __qgroup_excl_accounting(fs_info, tmp, oper->ref_root, in qgroup_excl_accounting()
[all …]
Dqgroup.h51 u64 ref_root; member
83 struct btrfs_fs_info *fs_info, u64 ref_root,
Dextent-tree.c2068 u64 ref_root = 0; in run_delayed_data_ref() local
2080 ref_root = ref->root; in run_delayed_data_ref()
2086 parent, ref_root, flags, in run_delayed_data_ref()
2092 ref_root, ref->objectid, in run_delayed_data_ref()
2098 ref_root, ref->objectid, in run_delayed_data_ref()
2228 u64 ref_root = 0; in run_delayed_tree_ref() local
2237 ref_root = ref->root; in run_delayed_tree_ref()
2252 parent, ref_root, in run_delayed_tree_ref()
2259 node->num_bytes, parent, ref_root, in run_delayed_tree_ref()
2264 node->num_bytes, parent, ref_root, in run_delayed_tree_ref()
[all …]
Drelocation.c3493 u64 ref_root; local
3503 ref_root = btrfs_extent_data_ref_root(leaf, ref);
3512 if (ref_root == BTRFS_ROOT_TREE_OBJECTID) {
3526 root = read_fs_root(rc->extent_root->fs_info, ref_root);
Dscrub.c620 u64 ref_root; in scrub_print_warning() local
653 item_size, &ref_root, in scrub_print_warning()
663 ret < 0 ? -1 : ref_root); in scrub_print_warning()
Dbackref.c586 n = rb_first(&head->ref_root); in __add_delayed_refs()
Ddisk-io.c4109 while ((node = rb_first(&head->ref_root)) != NULL) { in btrfs_destroy_delayed_refs()
4113 rb_erase(&ref->rb_node, &head->ref_root); in btrfs_destroy_delayed_refs()
/linux-4.1.27/include/trace/events/
Dbtrfs.h463 __field( u64, ref_root )
474 __entry->ref_root = full_ref->root;
487 show_root_type(__entry->ref_root),
523 __field( u64, ref_root )
535 __entry->ref_root = full_ref->root;
549 show_root_type(__entry->ref_root),
1134 __field( u64, ref_root )
1143 __entry->ref_root = oper->ref_root;
1153 (unsigned long long)__entry->ref_root,