Home
last modified time | relevance | path

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

/include/net/
Dtimewait_sock.h29 if (sk->sk_prot->twsk_prot->twsk_unique != NULL) in twsk_unique()
30 return sk->sk_prot->twsk_prot->twsk_unique(sk, sktw, twp); in twsk_unique()
37 BUG_ON(sk->sk_prot == NULL); in twsk_destructor()
38 BUG_ON(sk->sk_prot->twsk_prot == NULL); in twsk_destructor()
39 if (sk->sk_prot->twsk_prot->twsk_destructor != NULL) in twsk_destructor()
40 sk->sk_prot->twsk_prot->twsk_destructor(sk); in twsk_destructor()
Dsock.h306 #define sk_prot __sk_common.skc_prot macro
1049 atomic_inc(&sk->sk_prot->socks); in sk_refcnt_debug_inc()
1054 atomic_dec(&sk->sk_prot->socks); in sk_refcnt_debug_dec()
1056 sk->sk_prot->name, sk, atomic_read(&sk->sk_prot->socks)); in sk_refcnt_debug_dec()
1063 sk->sk_prot->name, sk, atomic_read(&sk->sk_refcnt)); in sk_refcnt_debug_release()
1091 return sk->sk_prot->memory_pressure != NULL; in sk_has_memory_pressure()
1096 if (!sk->sk_prot->memory_pressure) in sk_under_memory_pressure()
1102 return !!*sk->sk_prot->memory_pressure; in sk_under_memory_pressure()
1107 int *memory_pressure = sk->sk_prot->memory_pressure; in sk_leave_memory_pressure()
1117 struct proto *prot = sk->sk_prot; in sk_leave_memory_pressure()
[all …]
Dinet_sock.h202 sk_from->sk_prot->obj_size - ancestor_size); in __inet_sk_copy_descendant()
Dtcp.h323 struct percpu_counter *ocp = sk->sk_prot->orphan_count; in tcp_too_many_orphans()