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

/linux-4.1.27/include/net/
H A Dflowcache.h17 struct flow_cache { struct
/linux-4.1.27/net/core/
H A Dflow.c43 struct flow_cache *cache;
55 struct flow_cache *fc = (void *) arg; flow_cache_new_hashrnd()
112 static void __flow_cache_shrink(struct flow_cache *fc, __flow_cache_shrink()
142 static void flow_cache_shrink(struct flow_cache *fc, flow_cache_shrink()
150 static void flow_new_hash_rnd(struct flow_cache *fc, flow_new_hash_rnd()
158 static u32 flow_hash_code(struct flow_cache *fc, flow_hash_code()
195 struct flow_cache *fc = &net->xfrm.flow_cache_global; flow_cache_lookup()
284 struct flow_cache *fc = info->cache; flow_cache_flush_tasklet()
318 static int flow_cache_percpu_empty(struct flow_cache *fc, int cpu) flow_cache_percpu_empty()
393 static int flow_cache_cpu_prepare(struct flow_cache *fc, int cpu) flow_cache_cpu_prepare()
415 struct flow_cache *fc = container_of(nfb, struct flow_cache, flow_cache_cpu()
438 struct flow_cache *fc = &net->xfrm.flow_cache_global; flow_cache_init()
441 flow_cachep = kmem_cache_create("flow_cache", flow_cache_init()
497 struct flow_cache *fc = &net->xfrm.flow_cache_global; flow_cache_fini()
/linux-4.1.27/include/net/netns/
H A Dxfrm.h80 struct flow_cache flow_cache_global;
/linux-4.1.27/net/openvswitch/
H A Dflow_table.c50 static struct kmem_cache *flow_cache; variable in typeref:struct:kmem_cache
83 flow = kmem_cache_alloc(flow_cache, GFP_KERNEL); ovs_flow_alloc()
110 kmem_cache_free(flow_cache, flow); ovs_flow_alloc()
153 kmem_cache_free(flow_cache, flow); flow_free()
756 flow_cache = kmem_cache_create("sw_flow", sizeof(struct sw_flow) ovs_flow_init()
760 if (flow_cache == NULL) ovs_flow_init()
767 kmem_cache_destroy(flow_cache); ovs_flow_init()
768 flow_cache = NULL; ovs_flow_init()
779 kmem_cache_destroy(flow_cache); ovs_flow_exit()

Completed in 149 milliseconds