Home
last modified time | relevance | path

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

/linux/fs/btrfs/tests/
H A Ddelayed-refs-tests.c19 int total_ref_mod; member
91 if (head->total_ref_mod != check->total_ref_mod) { in validate_ref_head()
93 head->total_ref_mod, check->total_ref_mod); in validate_ref_head()
243 .total_ref_mod = 1, in simple_tests()
291 head_check.total_ref_mod = -1; in simple_tests()
355 .total_ref_mod = 0, in merge_tests()
463 head_check.total_ref_mod = 2; in merge_tests()
526 head_check.total_ref_mod = -2; in merge_tests()
596 head_check.total_ref_mod = -2; in merge_tests()
666 head_check.total_ref_mod = 2; in merge_tests()
[all …]
/linux/fs/btrfs/
H A Ddelayed-ref.c700 old_ref_mod = existing->total_ref_mod; in update_existing_head_ref()
702 existing->total_ref_mod += update->ref_mod; in update_existing_head_ref()
715 if (existing->total_ref_mod >= 0 && old_ref_mod < 0) { in update_existing_head_ref()
719 if (existing->total_ref_mod < 0 && old_ref_mod >= 0) { in update_existing_head_ref()
783 head_ref->total_ref_mod = count_mod; in init_delayed_ref_head()
H A Ddelayed-ref.h147 int total_ref_mod; member
H A Dextent-tree.c1841 if (head->total_ref_mod < 0 && head->is_data) { in btrfs_cleanup_ref_head_accounting()