Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/
H A 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 …]
H A Ddelayed-ref.h47 int ref_mod; member
105 int ref_mod; member
H A Dextent-tree.c60 struct btrfs_key *ins, int ref_mod);
216 num_refs += head->ref_mod; in btrfs_lookup_extent_info()
1582 node->ref_mod); in run_delayed_data_ref()
1586 node->ref_mod, extent_op); in run_delayed_data_ref()
1590 ref->offset, node->ref_mod, in run_delayed_data_ref()
1725 if (unlikely(node->ref_mod != 1)) { in run_delayed_tree_ref()
1728 node->bytenr, node->ref_mod, node->action, ref_root, in run_delayed_tree_ref()
1777 node->action, node->ref_mod, ret); in run_one_delayed_ref()
1988 locked_ref->ref_mod -= ref->ref_mod; in btrfs_run_delayed_refs_for_head()
1991 locked_ref->ref_mod += ref->ref_mod; in btrfs_run_delayed_refs_for_head()
[all …]
H A Dbackref.c914 count = node->ref_mod; in add_delayed_refs()
917 count = node->ref_mod * -1; in add_delayed_refs()