Lines Matching refs:sw_flow
78 struct sw_flow *ovs_flow_alloc(void) in ovs_flow_alloc()
80 struct sw_flow *flow; in ovs_flow_alloc()
143 static void flow_free(struct sw_flow *flow) in flow_free()
160 struct sw_flow *flow = container_of(rcu, struct sw_flow, rcu); in rcu_free_flow_callback()
165 void ovs_flow_free(struct sw_flow *flow, bool deferred) in ovs_flow_free()
256 struct sw_flow *flow; in table_instance_destroy()
291 struct sw_flow *ovs_flow_tbl_dump_next(struct table_instance *ti, in ovs_flow_tbl_dump_next()
294 struct sw_flow *flow; in ovs_flow_tbl_dump_next()
326 struct sw_flow *flow) in table_instance_insert()
335 struct sw_flow *flow) in ufid_table_instance_insert()
354 struct sw_flow *flow; in flow_table_copy_flows()
453 static bool flow_cmp_masked_key(const struct sw_flow *flow, in flow_cmp_masked_key()
460 static bool ovs_flow_cmp_unmasked_key(const struct sw_flow *flow, in ovs_flow_cmp_unmasked_key()
471 static struct sw_flow *masked_flow_lookup(struct table_instance *ti, in masked_flow_lookup()
475 struct sw_flow *flow; in masked_flow_lookup()
491 struct sw_flow *ovs_flow_tbl_lookup_stats(struct flow_table *tbl, in ovs_flow_tbl_lookup_stats()
497 struct sw_flow *flow; in ovs_flow_tbl_lookup_stats()
509 struct sw_flow *ovs_flow_tbl_lookup(struct flow_table *tbl, in ovs_flow_tbl_lookup()
517 struct sw_flow *ovs_flow_tbl_lookup_exact(struct flow_table *tbl, in ovs_flow_tbl_lookup_exact()
522 struct sw_flow *flow; in ovs_flow_tbl_lookup_exact()
539 static bool ovs_flow_cmp_ufid(const struct sw_flow *flow, in ovs_flow_cmp_ufid()
548 bool ovs_flow_cmp(const struct sw_flow *flow, const struct sw_flow_match *match) in ovs_flow_cmp()
556 struct sw_flow *ovs_flow_tbl_lookup_ufid(struct flow_table *tbl, in ovs_flow_tbl_lookup_ufid()
560 struct sw_flow *flow; in ovs_flow_tbl_lookup_ufid()
610 void ovs_flow_tbl_remove(struct flow_table *table, struct sw_flow *flow) in ovs_flow_tbl_remove()
667 static int flow_mask_insert(struct flow_table *tbl, struct sw_flow *flow, in flow_mask_insert()
690 static void flow_key_insert(struct flow_table *table, struct sw_flow *flow) in flow_key_insert()
714 static void flow_ufid_insert(struct flow_table *table, struct sw_flow *flow) in flow_ufid_insert()
736 int ovs_flow_tbl_insert(struct flow_table *table, struct sw_flow *flow, in ovs_flow_tbl_insert()
758 flow_cache = kmem_cache_create("sw_flow", sizeof(struct sw_flow) in ovs_flow_init()