Lines Matching refs:sw_flow
77 struct sw_flow *ovs_flow_alloc(void) in ovs_flow_alloc()
79 struct sw_flow *flow; in ovs_flow_alloc()
142 static void flow_free(struct sw_flow *flow) in flow_free()
158 struct sw_flow *flow = container_of(rcu, struct sw_flow, rcu); in rcu_free_flow_callback()
163 void ovs_flow_free(struct sw_flow *flow, bool deferred) in ovs_flow_free()
254 struct sw_flow *flow; in table_instance_destroy()
289 struct sw_flow *ovs_flow_tbl_dump_next(struct table_instance *ti, in ovs_flow_tbl_dump_next()
292 struct sw_flow *flow; in ovs_flow_tbl_dump_next()
324 struct sw_flow *flow) in table_instance_insert()
333 struct sw_flow *flow) in ufid_table_instance_insert()
352 struct sw_flow *flow; in flow_table_copy_flows()
451 static bool flow_cmp_masked_key(const struct sw_flow *flow, in flow_cmp_masked_key()
458 static bool ovs_flow_cmp_unmasked_key(const struct sw_flow *flow, in ovs_flow_cmp_unmasked_key()
469 static struct sw_flow *masked_flow_lookup(struct table_instance *ti, in masked_flow_lookup()
473 struct sw_flow *flow; in masked_flow_lookup()
489 struct sw_flow *ovs_flow_tbl_lookup_stats(struct flow_table *tbl, in ovs_flow_tbl_lookup_stats()
495 struct sw_flow *flow; in ovs_flow_tbl_lookup_stats()
507 struct sw_flow *ovs_flow_tbl_lookup(struct flow_table *tbl, in ovs_flow_tbl_lookup()
515 struct sw_flow *ovs_flow_tbl_lookup_exact(struct flow_table *tbl, in ovs_flow_tbl_lookup_exact()
520 struct sw_flow *flow; in ovs_flow_tbl_lookup_exact()
537 static bool ovs_flow_cmp_ufid(const struct sw_flow *flow, in ovs_flow_cmp_ufid()
546 bool ovs_flow_cmp(const struct sw_flow *flow, const struct sw_flow_match *match) in ovs_flow_cmp()
554 struct sw_flow *ovs_flow_tbl_lookup_ufid(struct flow_table *tbl, in ovs_flow_tbl_lookup_ufid()
558 struct sw_flow *flow; in ovs_flow_tbl_lookup_ufid()
608 void ovs_flow_tbl_remove(struct flow_table *table, struct sw_flow *flow) in ovs_flow_tbl_remove()
665 static int flow_mask_insert(struct flow_table *tbl, struct sw_flow *flow, in flow_mask_insert()
688 static void flow_key_insert(struct flow_table *table, struct sw_flow *flow) in flow_key_insert()
712 static void flow_ufid_insert(struct flow_table *table, struct sw_flow *flow) in flow_ufid_insert()
734 int ovs_flow_tbl_insert(struct flow_table *table, struct sw_flow *flow, in ovs_flow_tbl_insert()
756 flow_cache = kmem_cache_create("sw_flow", sizeof(struct sw_flow) in ovs_flow_init()