Home
last modified time | relevance | path

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

/linux-4.4.14/net/core/
Dflow.c43 struct flow_cache *cache;
55 struct flow_cache *fc = (void *) arg; in flow_cache_new_hashrnd()
112 static void __flow_cache_shrink(struct flow_cache *fc, in __flow_cache_shrink()
142 static void flow_cache_shrink(struct flow_cache *fc, in flow_cache_shrink()
150 static void flow_new_hash_rnd(struct flow_cache *fc, in flow_new_hash_rnd()
158 static u32 flow_hash_code(struct flow_cache *fc, in flow_hash_code()
195 struct flow_cache *fc = &net->xfrm.flow_cache_global; in flow_cache_lookup()
284 struct flow_cache *fc = info->cache; in flow_cache_flush_tasklet()
318 static int flow_cache_percpu_empty(struct flow_cache *fc, int cpu) in flow_cache_percpu_empty()
393 static int flow_cache_cpu_prepare(struct flow_cache *fc, int cpu) in flow_cache_cpu_prepare()
[all …]
/linux-4.4.14/net/openvswitch/
Dflow_table.c51 static struct kmem_cache *flow_cache; variable
84 flow = kmem_cache_alloc(flow_cache, GFP_KERNEL); in ovs_flow_alloc()
111 kmem_cache_free(flow_cache, flow); in ovs_flow_alloc()
155 kmem_cache_free(flow_cache, flow); in flow_free()
758 flow_cache = kmem_cache_create("sw_flow", sizeof(struct sw_flow) in ovs_flow_init()
762 if (flow_cache == NULL) in ovs_flow_init()
769 kmem_cache_destroy(flow_cache); in ovs_flow_init()
770 flow_cache = NULL; in ovs_flow_init()
781 kmem_cache_destroy(flow_cache); in ovs_flow_exit()
/linux-4.4.14/include/net/
Dflowcache.h17 struct flow_cache { struct
/linux-4.4.14/include/net/netns/
Dxfrm.h80 struct flow_cache flow_cache_global;