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()
92 test_err("invalid total_ref_mod have: %d want: %d", 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 in merge_tests()
[all...]
/linux/fs/btrfs/
H A Ddelayed-ref.c697 old_ref_mod = existing->total_ref_mod; in update_existing_head_ref()
699 existing->total_ref_mod += update->ref_mod; in update_existing_head_ref()
712 if (existing->total_ref_mod >= 0 && old_ref_mod < 0) { in update_existing_head_ref()
716 if (existing->total_ref_mod < 0 && old_ref_mod >= 0) { in update_existing_head_ref()
780 head_ref->total_ref_mod = count_mod; in init_delayed_ref_head()
H A Ddelayed-ref.h149 int total_ref_mod; member
H A Dextent-tree.c1837 if (head->total_ref_mod < 0 && head->is_data) { in btrfs_cleanup_ref_head_accounting()