Lines Matching refs:sock
43 u32 sk_ehashfn(const struct sock *sk) in sk_ehashfn()
91 void inet_bind_hash(struct sock *sk, struct inet_bind_bucket *tb, in inet_bind_hash()
103 static void __inet_put_port(struct sock *sk) in __inet_put_port()
121 void inet_put_port(struct sock *sk) in inet_put_port()
129 int __inet_inherit_port(const struct sock *sk, struct sock *child) in __inet_inherit_port()
171 static inline int compute_score(struct sock *sk, struct net *net, in compute_score()
206 struct sock *__inet_lookup_listener(struct net *net, in __inet_lookup_listener()
212 struct sock *sk, *result; in __inet_lookup_listener()
263 void sock_gen_put(struct sock *sk) in sock_gen_put()
283 struct sock *__inet_lookup_established(struct net *net, in __inet_lookup_established()
291 struct sock *sk; in __inet_lookup_established()
334 struct sock *sk, __u16 lport, in __inet_check_established()
349 struct sock *sk2; in __inet_check_established()
379 sk_nulls_del_node_init_rcu((struct sock *)tw); in __inet_check_established()
398 static u32 inet_sk_port_offset(const struct sock *sk) in inet_sk_port_offset()
410 bool inet_ehash_insert(struct sock *sk, struct sock *osk) in inet_ehash_insert()
436 bool inet_ehash_nolisten(struct sock *sk, struct sock *osk) in inet_ehash_nolisten()
452 void __inet_hash(struct sock *sk, struct sock *osk) in __inet_hash()
471 void inet_hash(struct sock *sk) in inet_hash()
481 void inet_unhash(struct sock *sk) in inet_unhash()
504 struct sock *sk, u32 port_offset, in __inet_hash_connect() argument
506 struct sock *, __u16, struct inet_timewait_sock **)) in __inet_hash_connect()
581 inet_ehash_nolisten(sk, (struct sock *)tw); in __inet_hash_connect()
615 struct sock *sk) in inet_hash_connect()