Lines Matching refs:old
283 struct efx_tc_ct_entry *conn, *old; in efx_tc_ct_replace() local
298 old = rhashtable_lookup_get_insert_fast(&efx->tc->ct_ht, in efx_tc_ct_replace()
301 if (IS_ERR(old)) { in efx_tc_ct_replace()
302 rc = PTR_ERR(old); in efx_tc_ct_replace()
304 } else if (old) { in efx_tc_ct_replace()
361 if (!old) in efx_tc_ct_replace()
475 struct efx_tc_ct_zone *ct_zone, *old; in efx_tc_ct_register_zone() local
482 old = rhashtable_lookup_get_insert_fast(&efx->tc->ct_zone_ht, in efx_tc_ct_register_zone()
485 if (old) { in efx_tc_ct_register_zone()
488 if (IS_ERR(old)) /* oh dear, it's actually an error */ in efx_tc_ct_register_zone()
489 return ERR_CAST(old); in efx_tc_ct_register_zone()
490 if (!refcount_inc_not_zero(&old->ref)) in efx_tc_ct_register_zone()
493 WARN_ON_ONCE(old->nf_ft != ct_ft); in efx_tc_ct_register_zone()
496 return old; in efx_tc_ct_register_zone()