Home
last modified time | relevance | path

Searched refs:ref_mod (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/fs/btrfs/
Ddelayed-ref.c458 mod = next->ref_mod; in merge_ref()
460 if (ref->ref_mod < next->ref_mod) { in merge_ref()
464 mod = -next->ref_mod; in merge_ref()
468 ref->ref_mod += mod; in merge_ref()
469 if (ref->ref_mod == 0) { in merge_ref()
606 mod = ref->ref_mod; in insert_delayed_ref()
609 if (exist->ref_mod < ref->ref_mod) { in insert_delayed_ref()
611 mod = -exist->ref_mod; in insert_delayed_ref()
612 exist->ref_mod = ref->ref_mod; in insert_delayed_ref()
623 mod = -ref->ref_mod; in insert_delayed_ref()
[all …]
Ddelayed-ref.h47 int ref_mod; member
105 int ref_mod; member
Dextent-tree.c60 struct btrfs_key *ins, int ref_mod);
216 num_refs += head->ref_mod; in btrfs_lookup_extent_info()
1561 node->ref_mod); in run_delayed_data_ref()
1565 node->ref_mod, extent_op); in run_delayed_data_ref()
1569 ref->offset, node->ref_mod, in run_delayed_data_ref()
1704 if (unlikely(node->ref_mod != 1)) { in run_delayed_tree_ref()
1707 node->bytenr, node->ref_mod, node->action, ref_root, in run_delayed_tree_ref()
1756 node->action, node->ref_mod, ret); in run_one_delayed_ref()
1967 locked_ref->ref_mod -= ref->ref_mod; in btrfs_run_delayed_refs_for_head()
1970 locked_ref->ref_mod += ref->ref_mod; in btrfs_run_delayed_refs_for_head()
[all …]
Dbackref.c914 count = node->ref_mod; in add_delayed_refs()
917 count = node->ref_mod * -1; in add_delayed_refs()