Home
last modified time | relevance | path

Searched refs:flow_cache (Results 1 – 1 of 1) sorted by relevance

/net/openvswitch/
Dflow_table.c45 static struct kmem_cache *flow_cache; variable
77 flow = kmem_cache_zalloc(flow_cache, GFP_KERNEL); in ovs_flow_alloc()
98 kmem_cache_free(flow_cache, flow); in ovs_flow_alloc()
124 kmem_cache_free(flow_cache, flow); in flow_free()
1198 flow_cache = kmem_cache_create("sw_flow", sizeof(struct sw_flow) in ovs_flow_init()
1202 if (flow_cache == NULL) in ovs_flow_init()
1209 kmem_cache_destroy(flow_cache); in ovs_flow_init()
1210 flow_cache = NULL; in ovs_flow_init()
1221 kmem_cache_destroy(flow_cache); in ovs_flow_exit()