Lines Matching refs:new_ti
368 struct table_instance *new_ti; in table_instance_rehash() local
370 new_ti = table_instance_alloc(n_buckets); in table_instance_rehash()
371 if (!new_ti) in table_instance_rehash()
374 flow_table_copy_flows(ti, new_ti, ufid); in table_instance_rehash()
376 return new_ti; in table_instance_rehash()
381 struct table_instance *old_ti, *new_ti; in ovs_flow_tbl_flush() local
384 new_ti = table_instance_alloc(TBL_MIN_BUCKETS); in ovs_flow_tbl_flush()
385 if (!new_ti) in ovs_flow_tbl_flush()
394 rcu_assign_pointer(flow_table->ti, new_ti); in ovs_flow_tbl_flush()
404 __table_instance_destroy(new_ti); in ovs_flow_tbl_flush()
685 struct table_instance *new_ti = NULL; in flow_key_insert() local
695 new_ti = table_instance_expand(ti, false); in flow_key_insert()
697 new_ti = table_instance_rehash(ti, ti->n_buckets, false); in flow_key_insert()
699 if (new_ti) { in flow_key_insert()
700 rcu_assign_pointer(table->ti, new_ti); in flow_key_insert()
718 struct table_instance *new_ti; in flow_ufid_insert() local
720 new_ti = table_instance_expand(ti, true); in flow_ufid_insert()
721 if (new_ti) { in flow_ufid_insert()
722 rcu_assign_pointer(table->ufid_ti, new_ti); in flow_ufid_insert()