Lines Matching refs:ref_mod
260 mod = next->ref_mod; in merge_ref()
262 if (ref->ref_mod < next->ref_mod) { in merge_ref()
266 mod = -next->ref_mod; in merge_ref()
270 ref->ref_mod += mod; in merge_ref()
271 if (ref->ref_mod == 0) { in merge_ref()
417 mod = ref->ref_mod; in insert_delayed_ref()
420 if (exist->ref_mod < ref->ref_mod) { in insert_delayed_ref()
422 mod = -exist->ref_mod; in insert_delayed_ref()
423 exist->ref_mod = ref->ref_mod; in insert_delayed_ref()
434 mod = -ref->ref_mod; in insert_delayed_ref()
436 exist->ref_mod += mod; in insert_delayed_ref()
439 if (exist->ref_mod == 0) in insert_delayed_ref()
510 existing->ref_mod += update->ref_mod; in update_existing_head_ref()
511 existing->total_ref_mod += update->ref_mod; in update_existing_head_ref()
565 head_ref->ref_mod = count_mod; in init_delayed_ref_head()
638 if (head_ref->is_data && head_ref->ref_mod < 0) in add_delayed_ref_head()
694 ref->ref_mod = 1; in init_delayed_ref_common()