Home
last modified time | relevance | path

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

/linux-4.1.27/include/net/
Dtimewait_sock.h19 struct kmem_cache *twsk_slab; member
/linux-4.1.27/net/ipv4/
Dinet_timewait_sock.c103 kmem_cache_free(tw->tw_prot->twsk_prot->twsk_slab, tw); in inet_twsk_free()
195 tw = kmem_cache_alloc(sk->sk_prot_creator->twsk_prot->twsk_slab, in inet_twsk_alloc()
/linux-4.1.27/net/core/
Dsock.c2794 prot->twsk_prot->twsk_slab = in proto_register()
2800 if (prot->twsk_prot->twsk_slab == NULL) in proto_register()
2837 if (prot->twsk_prot != NULL && prot->twsk_prot->twsk_slab != NULL) { in proto_unregister()
2838 kmem_cache_destroy(prot->twsk_prot->twsk_slab); in proto_unregister()
2840 prot->twsk_prot->twsk_slab = NULL; in proto_unregister()