Searched refs:total_ref_mod (Results 1 – 4 of 4) sorted by relevance
19 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...]
697 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()
149 int total_ref_mod; member
1837 if (head->total_ref_mod < 0 && head->is_data) { in btrfs_cleanup_ref_head_accounting()