Searched refs:total_ref_mod (Results 1 – 3 of 3) sorted by relevance
703 old_ref_mod = existing->total_ref_mod; in update_existing_head_ref()705 existing->total_ref_mod += update->ref_mod; in update_existing_head_ref()716 if (existing->total_ref_mod >= 0 && old_ref_mod < 0) { in update_existing_head_ref()720 if (existing->total_ref_mod < 0 && old_ref_mod >= 0) { in update_existing_head_ref()739 if (existing->total_ref_mod < 0 && old_ref_mod >= 0) in update_existing_head_ref()741 else if (existing->total_ref_mod >= 0 && old_ref_mod < 0) in update_existing_head_ref()743 else if (existing->total_ref_mod == 0 && existing->must_insert_reserved) in update_existing_head_ref()796 head_ref->total_ref_mod = count_mod; in init_delayed_ref_head()
95 int total_ref_mod; member
1771 if (head->total_ref_mod < 0 && head->is_data) { in btrfs_cleanup_ref_head_accounting()1784 if (head->total_ref_mod < 0 || in btrfs_cleanup_ref_head_accounting()1785 (head->total_ref_mod == 0 && head->must_insert_reserved)) { in btrfs_cleanup_ref_head_accounting()