Lines Matching refs:sk_prot

328 #define sk_prot			__sk_common.skc_prot  macro
1094 atomic_inc(&sk->sk_prot->socks); in sk_refcnt_debug_inc()
1099 atomic_dec(&sk->sk_prot->socks); in sk_refcnt_debug_dec()
1101 sk->sk_prot->name, sk, atomic_read(&sk->sk_prot->socks)); in sk_refcnt_debug_dec()
1108 sk->sk_prot->name, sk, atomic_read(&sk->sk_refcnt)); in sk_refcnt_debug_release()
1138 return sk->sk_prot->stream_memory_free ? in sk_stream_memory_free()
1139 sk->sk_prot->stream_memory_free(sk) : true; in sk_stream_memory_free()
1151 return sk->sk_prot->memory_pressure != NULL; in sk_has_memory_pressure()
1156 if (!sk->sk_prot->memory_pressure) in sk_under_memory_pressure()
1162 return !!*sk->sk_prot->memory_pressure; in sk_under_memory_pressure()
1167 int *memory_pressure = sk->sk_prot->memory_pressure; in sk_leave_memory_pressure()
1177 struct proto *prot = sk->sk_prot; in sk_leave_memory_pressure()
1187 if (!sk->sk_prot->enter_memory_pressure) in sk_enter_memory_pressure()
1192 struct proto *prot = sk->sk_prot; in sk_enter_memory_pressure()
1198 sk->sk_prot->enter_memory_pressure(sk); in sk_enter_memory_pressure()
1203 long *prot = sk->sk_prot->sysctl_mem; in sk_prot_mem_limits()
1229 struct proto *prot = sk->sk_prot; in sk_memory_allocated()
1240 struct proto *prot = sk->sk_prot; in sk_memory_allocated_add()
1255 struct proto *prot = sk->sk_prot; in sk_memory_allocated_sub()
1265 struct proto *prot = sk->sk_prot; in sk_sockets_allocated_dec()
1279 struct proto *prot = sk->sk_prot; in sk_sockets_allocated_inc()
1294 struct proto *prot = sk->sk_prot; in sk_sockets_allocated_read_positive()
1340 sk->sk_prot->unhash(sk); in __sk_prot_rehash()
1341 sk->sk_prot->hash(sk); in __sk_prot_rehash()
1395 return !!sk->sk_prot->memory_allocated; in sk_has_account()