Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Ddelayed-ref.c475 mod = next->ref_mod; in merge_ref()
477 if (ref->ref_mod < next->ref_mod) { in merge_ref()
481 mod = -next->ref_mod; in merge_ref()
485 ref->ref_mod += mod; in merge_ref()
486 if (ref->ref_mod == 0) { in merge_ref()
620 mod = ref->ref_mod; in insert_delayed_ref()
623 if (exist->ref_mod < ref->ref_mod) { in insert_delayed_ref()
625 mod = -exist->ref_mod; in insert_delayed_ref()
626 exist->ref_mod = ref->ref_mod; in insert_delayed_ref()
637 mod = -ref->ref_mod; in insert_delayed_ref()
[all …]
Ddelayed-ref.h47 int ref_mod; member
102 int ref_mod; member
Dextent-tree.c54 struct btrfs_key *ins, int ref_mod);
229 num_refs += head->ref_mod; in btrfs_lookup_extent_info()
1523 node->ref_mod); in run_delayed_data_ref()
1527 node->ref_mod, extent_op); in run_delayed_data_ref()
1531 ref->offset, node->ref_mod, in run_delayed_data_ref()
1661 if (node->ref_mod != 1) { in run_delayed_tree_ref()
1664 node->bytenr, node->ref_mod, node->action, ref_root, in run_delayed_tree_ref()
1713 node->action, node->ref_mod, ret); in run_one_delayed_ref()
1927 locked_ref->ref_mod -= ref->ref_mod; in btrfs_run_delayed_refs_for_head()
1930 locked_ref->ref_mod += ref->ref_mod; in btrfs_run_delayed_refs_for_head()
[all …]
Dbackref.c864 count = node->ref_mod; in add_delayed_refs()
867 count = node->ref_mod * -1; in add_delayed_refs()