Searched refs:sk_prot (Results 1 – 7 of 7) sorted by relevance
13 return sk->sk_prot->memory_pressure != NULL; in sk_has_memory_pressure()26 return proto_memory_pressure(sk->sk_prot); in sk_under_global_memory_pressure()31 if (!sk->sk_prot->memory_pressure) in sk_under_memory_pressure()38 return !!READ_ONCE(*sk->sk_prot->memory_pressure); in sk_under_memory_pressure()50 return proto_memory_allocated(sk->sk_prot); in sk_memory_allocated()64 struct proto *proto = sk->sk_prot; in sk_memory_allocated_add()75 struct proto *proto = sk->sk_prot; in sk_memory_allocated_sub()
23 if (sk->sk_prot->twsk_prot->twsk_destructor != NULL) in twsk_destructor()24 sk->sk_prot->twsk_prot->twsk_destructor(sk); in twsk_destructor()
382 #define sk_prot __sk_common.skc_prot macro1378 return sk->sk_prot->stream_memory_free ? in __sk_stream_memory_free()1379 INDIRECT_CALL_INET_1(sk->sk_prot->stream_memory_free, in __sk_stream_memory_free()1414 percpu_counter_add_batch(sk->sk_prot->sockets_allocated, -1, in sk_sockets_allocated_dec()1420 percpu_counter_add_batch(sk->sk_prot->sockets_allocated, 1, in sk_sockets_allocated_inc()1473 sk->sk_prot->unhash(sk); in __sk_prot_rehash()1474 return sk->sk_prot->hash(sk); in __sk_prot_rehash()1519 return READ_ONCE(sk->sk_prot->sysctl_mem[index]); in sk_prot_mem_limits()1530 return !!sk->sk_prot->memory_allocated; in sk_has_account()1861 WRITE_ONCE(sk->sk_prot, proto); in sock_replace_proto()[all …]
306 this_cpu_inc(*sk->sk_prot->orphan_count); in inet_csk_prepare_for_destroy_sock()
362 sk_from->sk_prot->obj_size - ancestor_size); in __inet_sk_copy_descendant()
128 return sk->sk_prot->ioctl(sk, cmd, &karg); in phonet_sk_ioctl()
281 (sk)->sk_prot->pre_connect)395 if (!(sock)->sk_prot->bpf_bypass_getsockopt || \396 !INDIRECT_CALL_INET_1((sock)->sk_prot->bpf_bypass_getsockopt, \
Completed in 20 milliseconds