Lines Matching refs:table_instance

182 static void __table_instance_destroy(struct table_instance *ti)  in __table_instance_destroy()
188 static struct table_instance *table_instance_alloc(int new_size) in table_instance_alloc()
190 struct table_instance *ti = kmalloc(sizeof(*ti), GFP_KERNEL); in table_instance_alloc()
211 struct table_instance *ti, *ufid_ti; in ovs_flow_tbl_init()
237 struct table_instance *ti = container_of(rcu, struct table_instance, rcu); in flow_tbl_destroy_rcu_cb()
242 static void table_instance_destroy(struct table_instance *ti, in table_instance_destroy()
243 struct table_instance *ufid_ti, in table_instance_destroy()
285 struct table_instance *ti = rcu_dereference_raw(table->ti); in ovs_flow_tbl_destroy()
286 struct table_instance *ufid_ti = rcu_dereference_raw(table->ufid_ti); in ovs_flow_tbl_destroy()
291 struct sw_flow *ovs_flow_tbl_dump_next(struct table_instance *ti, in ovs_flow_tbl_dump_next()
318 static struct hlist_head *find_bucket(struct table_instance *ti, u32 hash) in find_bucket()
325 static void table_instance_insert(struct table_instance *ti, in table_instance_insert()
334 static void ufid_table_instance_insert(struct table_instance *ti, in ufid_table_instance_insert()
343 static void flow_table_copy_flows(struct table_instance *old, in flow_table_copy_flows()
344 struct table_instance *new, bool ufid) in flow_table_copy_flows()
372 static struct table_instance *table_instance_rehash(struct table_instance *ti, in table_instance_rehash()
375 struct table_instance *new_ti; in table_instance_rehash()
388 struct table_instance *old_ti, *new_ti; in ovs_flow_tbl_flush()
389 struct table_instance *old_ufid_ti, *new_ufid_ti; in ovs_flow_tbl_flush()
471 static struct sw_flow *masked_flow_lookup(struct table_instance *ti, in masked_flow_lookup()
495 struct table_instance *ti = rcu_dereference_ovsl(tbl->ti); in ovs_flow_tbl_lookup_stats()
520 struct table_instance *ti = rcu_dereference_ovsl(tbl->ti); in ovs_flow_tbl_lookup_exact()
559 struct table_instance *ti = rcu_dereference_ovsl(tbl->ufid_ti); in ovs_flow_tbl_lookup_ufid()
585 static struct table_instance *table_instance_expand(struct table_instance *ti, in table_instance_expand()
612 struct table_instance *ti = ovsl_dereference(table->ti); in ovs_flow_tbl_remove()
613 struct table_instance *ufid_ti = ovsl_dereference(table->ufid_ti); in ovs_flow_tbl_remove()
692 struct table_instance *new_ti = NULL; in flow_key_insert()
693 struct table_instance *ti; in flow_key_insert()
716 struct table_instance *ti; in flow_ufid_insert()
725 struct table_instance *new_ti; in flow_ufid_insert()