Lines Matching refs:sk_prot

349 #define sk_prot			__sk_common.skc_prot  macro
1078 atomic_inc(&sk->sk_prot->socks); in sk_refcnt_debug_inc()
1083 atomic_dec(&sk->sk_prot->socks); in sk_refcnt_debug_dec()
1085 sk->sk_prot->name, sk, atomic_read(&sk->sk_prot->socks)); in sk_refcnt_debug_dec()
1092 sk->sk_prot->name, sk, atomic_read(&sk->sk_refcnt)); in sk_refcnt_debug_release()
1122 return sk->sk_prot->stream_memory_free ? in sk_stream_memory_free()
1123 sk->sk_prot->stream_memory_free(sk) : true; in sk_stream_memory_free()
1135 return sk->sk_prot->memory_pressure != NULL; in sk_has_memory_pressure()
1140 if (!sk->sk_prot->memory_pressure) in sk_under_memory_pressure()
1146 return !!*sk->sk_prot->memory_pressure; in sk_under_memory_pressure()
1151 int *memory_pressure = sk->sk_prot->memory_pressure; in sk_leave_memory_pressure()
1161 struct proto *prot = sk->sk_prot; in sk_leave_memory_pressure()
1171 if (!sk->sk_prot->enter_memory_pressure) in sk_enter_memory_pressure()
1176 struct proto *prot = sk->sk_prot; in sk_enter_memory_pressure()
1182 sk->sk_prot->enter_memory_pressure(sk); in sk_enter_memory_pressure()
1187 long *prot = sk->sk_prot->sysctl_mem; in sk_prot_mem_limits()
1213 struct proto *prot = sk->sk_prot; in sk_memory_allocated()
1224 struct proto *prot = sk->sk_prot; in sk_memory_allocated_add()
1239 struct proto *prot = sk->sk_prot; in sk_memory_allocated_sub()
1249 struct proto *prot = sk->sk_prot; in sk_sockets_allocated_dec()
1263 struct proto *prot = sk->sk_prot; in sk_sockets_allocated_inc()
1278 struct proto *prot = sk->sk_prot; in sk_sockets_allocated_read_positive()
1324 sk->sk_prot->unhash(sk); in __sk_prot_rehash()
1325 sk->sk_prot->hash(sk); in __sk_prot_rehash()
1379 return !!sk->sk_prot->memory_allocated; in sk_has_account()