Lines Matching refs:table_instance

180 static void __table_instance_destroy(struct table_instance *ti)  in __table_instance_destroy()
186 static struct table_instance *table_instance_alloc(int new_size) in table_instance_alloc()
188 struct table_instance *ti = kmalloc(sizeof(*ti), GFP_KERNEL); in table_instance_alloc()
209 struct table_instance *ti, *ufid_ti; in ovs_flow_tbl_init()
235 struct table_instance *ti = container_of(rcu, struct table_instance, rcu); in flow_tbl_destroy_rcu_cb()
240 static void table_instance_destroy(struct table_instance *ti, in table_instance_destroy()
241 struct table_instance *ufid_ti, in table_instance_destroy()
283 struct table_instance *ti = rcu_dereference_raw(table->ti); in ovs_flow_tbl_destroy()
284 struct table_instance *ufid_ti = rcu_dereference_raw(table->ufid_ti); in ovs_flow_tbl_destroy()
289 struct sw_flow *ovs_flow_tbl_dump_next(struct table_instance *ti, in ovs_flow_tbl_dump_next()
316 static struct hlist_head *find_bucket(struct table_instance *ti, u32 hash) in find_bucket()
323 static void table_instance_insert(struct table_instance *ti, in table_instance_insert()
332 static void ufid_table_instance_insert(struct table_instance *ti, in ufid_table_instance_insert()
341 static void flow_table_copy_flows(struct table_instance *old, in flow_table_copy_flows()
342 struct table_instance *new, bool ufid) in flow_table_copy_flows()
370 static struct table_instance *table_instance_rehash(struct table_instance *ti, in table_instance_rehash()
373 struct table_instance *new_ti; in table_instance_rehash()
386 struct table_instance *old_ti, *new_ti; in ovs_flow_tbl_flush()
387 struct table_instance *old_ufid_ti, *new_ufid_ti; in ovs_flow_tbl_flush()
469 static struct sw_flow *masked_flow_lookup(struct table_instance *ti, in masked_flow_lookup()
493 struct table_instance *ti = rcu_dereference_ovsl(tbl->ti); in ovs_flow_tbl_lookup_stats()
518 struct table_instance *ti = rcu_dereference_ovsl(tbl->ti); in ovs_flow_tbl_lookup_exact()
557 struct table_instance *ti = rcu_dereference_ovsl(tbl->ufid_ti); in ovs_flow_tbl_lookup_ufid()
583 static struct table_instance *table_instance_expand(struct table_instance *ti, in table_instance_expand()
610 struct table_instance *ti = ovsl_dereference(table->ti); in ovs_flow_tbl_remove()
611 struct table_instance *ufid_ti = ovsl_dereference(table->ufid_ti); in ovs_flow_tbl_remove()
690 struct table_instance *new_ti = NULL; in flow_key_insert()
691 struct table_instance *ti; in flow_key_insert()
714 struct table_instance *ti; in flow_ufid_insert()
723 struct table_instance *new_ti; in flow_ufid_insert()