Home
last modified time | relevance | path

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

/fs/btrfs/
Ddelayed-ref.c468 mod = next->ref_mod; in merge_ref()
470 if (ref->ref_mod < next->ref_mod) { in merge_ref()
474 mod = -next->ref_mod; in merge_ref()
478 ref->ref_mod += mod; in merge_ref()
479 if (ref->ref_mod == 0) { in merge_ref()
613 mod = ref->ref_mod; in insert_delayed_ref()
616 if (exist->ref_mod < ref->ref_mod) { in insert_delayed_ref()
618 mod = -exist->ref_mod; in insert_delayed_ref()
619 exist->ref_mod = ref->ref_mod; in insert_delayed_ref()
630 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()
1529 node->ref_mod); in run_delayed_data_ref()
1533 node->ref_mod, extent_op); in run_delayed_data_ref()
1537 ref->offset, node->ref_mod, in run_delayed_data_ref()
1667 if (unlikely(node->ref_mod != 1)) { in run_delayed_tree_ref()
1670 node->bytenr, node->ref_mod, node->action, ref_root, in run_delayed_tree_ref()
1719 node->action, node->ref_mod, ret); in run_one_delayed_ref()
1933 locked_ref->ref_mod -= ref->ref_mod; in btrfs_run_delayed_refs_for_head()
1936 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()