Lines Matching refs:ref_mod
458 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()
625 exist->ref_mod += mod; in insert_delayed_ref()
628 if (exist->ref_mod == 0) in insert_delayed_ref()
692 existing->ref_mod += update->ref_mod; in update_existing_head_ref()
693 existing->total_ref_mod += update->ref_mod; in update_existing_head_ref()
760 head_ref->ref_mod = count_mod; in init_delayed_ref_head()
822 if (head_ref->is_data && head_ref->ref_mod < 0) { in add_delayed_ref_head()
880 ref->ref_mod = 1; in init_delayed_ref_common()