Lines Matching refs:new_ti
609 struct table_instance *new_ti; in table_instance_rehash() local
611 new_ti = table_instance_alloc(n_buckets); in table_instance_rehash()
612 if (!new_ti) in table_instance_rehash()
615 flow_table_copy_flows(ti, new_ti, ufid); in table_instance_rehash()
617 return new_ti; in table_instance_rehash()
622 struct table_instance *old_ti, *new_ti; in ovs_flow_tbl_flush() local
625 new_ti = table_instance_alloc(TBL_MIN_BUCKETS); in ovs_flow_tbl_flush()
626 if (!new_ti) in ovs_flow_tbl_flush()
635 rcu_assign_pointer(flow_table->ti, new_ti); in ovs_flow_tbl_flush()
644 __table_instance_destroy(new_ti); in ovs_flow_tbl_flush()
1040 struct table_instance *new_ti = NULL; in flow_key_insert() local
1050 new_ti = table_instance_expand(ti, false); in flow_key_insert()
1052 new_ti = table_instance_rehash(ti, ti->n_buckets, false); in flow_key_insert()
1054 if (new_ti) { in flow_key_insert()
1055 rcu_assign_pointer(table->ti, new_ti); in flow_key_insert()
1073 struct table_instance *new_ti; in flow_ufid_insert() local
1075 new_ti = table_instance_expand(ti, true); in flow_ufid_insert()
1076 if (new_ti) { in flow_ufid_insert()
1077 rcu_assign_pointer(table->ufid_ti, new_ti); in flow_ufid_insert()