Home
last modified time | relevance | path

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

/linux-4.4.14/include/net/
Dtimewait_sock.h19 struct kmem_cache *twsk_slab; member
/linux-4.4.14/net/ipv4/
Dinet_timewait_sock.c73 kmem_cache_free(tw->tw_prot->twsk_prot->twsk_slab, tw); in inet_twsk_free()
165 tw = kmem_cache_alloc(sk->sk_prot_creator->twsk_prot->twsk_slab, in inet_twsk_alloc()
/linux-4.4.14/net/core/
Dsock.c2859 prot->twsk_prot->twsk_slab = in proto_register()
2865 if (prot->twsk_prot->twsk_slab == NULL) in proto_register()
2900 if (prot->twsk_prot != NULL && prot->twsk_prot->twsk_slab != NULL) { in proto_unregister()
2901 kmem_cache_destroy(prot->twsk_prot->twsk_slab); in proto_unregister()
2903 prot->twsk_prot->twsk_slab = NULL; in proto_unregister()