Home
last modified time | relevance | path

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

/net/core/
Dflow.c50 struct flow_cache *cache;
55 struct flow_cache { struct
66 static struct flow_cache flow_cache_global; argument
77 struct flow_cache *fc = (void *) arg; in flow_cache_new_hashrnd()
130 static void __flow_cache_shrink(struct flow_cache *fc, in __flow_cache_shrink()
158 static void flow_cache_shrink(struct flow_cache *fc, in flow_cache_shrink()
166 static void flow_new_hash_rnd(struct flow_cache *fc, in flow_new_hash_rnd()
174 static u32 flow_hash_code(struct flow_cache *fc, in flow_hash_code()
211 struct flow_cache *fc = &flow_cache_global; in flow_cache_lookup()
300 struct flow_cache *fc = info->cache; in flow_cache_flush_tasklet()
[all …]
/net/openvswitch/
Dflow.c46 static struct kmem_cache *flow_cache; variable
222 flow = kmem_cache_alloc(flow_cache, GFP_KERNEL); in ovs_flow_alloc()
407 kmem_cache_free(flow_cache, flow); in ovs_flow_free()
1345 flow_cache = kmem_cache_create("sw_flow", sizeof(struct sw_flow), 0, in ovs_flow_init()
1347 if (flow_cache == NULL) in ovs_flow_init()
1356 kmem_cache_destroy(flow_cache); in ovs_flow_exit()