Lines Matching refs:new_ti
606 struct table_instance *new_ti; in table_instance_rehash() local
608 new_ti = table_instance_alloc(n_buckets); in table_instance_rehash()
609 if (!new_ti) in table_instance_rehash()
612 flow_table_copy_flows(ti, new_ti, ufid); in table_instance_rehash()
614 return new_ti; in table_instance_rehash()
619 struct table_instance *old_ti, *new_ti; in ovs_flow_tbl_flush() local
622 new_ti = table_instance_alloc(TBL_MIN_BUCKETS); in ovs_flow_tbl_flush()
623 if (!new_ti) in ovs_flow_tbl_flush()
632 rcu_assign_pointer(flow_table->ti, new_ti); in ovs_flow_tbl_flush()
641 __table_instance_destroy(new_ti); in ovs_flow_tbl_flush()
1037 struct table_instance *new_ti = NULL; in flow_key_insert() local
1047 new_ti = table_instance_expand(ti, false); in flow_key_insert()
1049 new_ti = table_instance_rehash(ti, ti->n_buckets, false); in flow_key_insert()
1051 if (new_ti) { in flow_key_insert()
1052 rcu_assign_pointer(table->ti, new_ti); in flow_key_insert()
1070 struct table_instance *new_ti; in flow_ufid_insert() local
1072 new_ti = table_instance_expand(ti, true); in flow_ufid_insert()
1073 if (new_ti) { in flow_ufid_insert()
1074 rcu_assign_pointer(table->ufid_ti, new_ti); in flow_ufid_insert()