Home
last modified time | relevance | path

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

/linux-5.19.10/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()
1539 node->ref_mod); in run_delayed_data_ref()
1543 node->ref_mod, extent_op); in run_delayed_data_ref()
1547 ref->offset, node->ref_mod, in run_delayed_data_ref()
1677 if (node->ref_mod != 1) { in run_delayed_tree_ref()
1680 node->bytenr, node->ref_mod, node->action, ref_root, in run_delayed_tree_ref()
1938 locked_ref->ref_mod -= ref->ref_mod; in btrfs_run_delayed_refs_for_head()
1941 locked_ref->ref_mod += ref->ref_mod; in btrfs_run_delayed_refs_for_head()
4669 struct btrfs_key *ins, int ref_mod) in alloc_reserved_file_extent() argument
[all …]
Dbackref.c846 count = node->ref_mod; in add_delayed_refs()
849 count = node->ref_mod * -1; in add_delayed_refs()